王思源

 

08 2011 档案

搭建samba服务器
摘要:1 安装archlinux 安装pacman -S samba2 添加samba帐号首先,samba帐号一定要是UNIX帐号,用如下命令新建用户useradd <user>其次,samba密码和UNIX密码没有关系,以下两条命令均可建立帐号的密码[1]pdbedit -a -u <user> (推荐)smbpasswd -a <user>3 简单配置:samba的默认配置应该是没有什么问题的,改改就能用,但如果为了简单,可用如下方法。在/etc/samba中,保存默认的smb.conf,将下面的代码保存为smb.conf[global]workgroup = 阅读全文

posted @ 2011-08-29 20:45 王思源 阅读(907) 评论(0) 推荐(0)

vmware archlinux中网络不通
摘要:/etc/rc.conf 中网络配置正确,使用命令sudo /etc/rc.d/network restart后网络仍然不通,可以尝试如下方法[1]ifconfig eth0 up参考:[1] http://topic.csdn.net/u/20090114/09/906d10d2-6fed-4ba7-8ed5-ef7968ed9d61.html 的19楼 阅读全文

posted @ 2011-08-20 10:03 王思源 阅读(571) 评论(0) 推荐(0)

ssh服务器配置的问题
摘要:1 出现ssh_exchange_identification: Connection closed by remote host解决方法[1]:编辑/etc/hosts.allow 加入sshd: ALL2 ssh登陆慢解决方法[2]:编辑/etc/ssh/sshd_config 加入UseDNS no 参考:[1] http://edoceo.com/notabene/ssh-exchange-identification[2] http://blog.3gcomet.com/article.asp?id=251 阅读全文

posted @ 2011-08-19 15:08 王思源 阅读(250) 评论(0) 推荐(0)

archlinux gnome3中配置打印机
摘要:我在gnome3的系统设置中无法添加打印机,找到一个解决方法是使用system-config-printer-gnome [1]。我用如下方法成功配置惠普网络打印机。1安装system-config-printer-gnomesudo pacman -Ssystem-config-printer-gnomesudo pacman -S packagekit-python其中packagekit-python这个包必须安装,否则不能使用system-config-printer-gnome2安装cupssudo pacman -S cups这一过程我记不清了,如果cupsd服务不能启动,则可按照 阅读全文

posted @ 2011-08-03 10:51 王思源 阅读(1080) 评论(0) 推荐(0)

导航