samba安装配置

  1. sudo apt-get insall samba
  2. sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
  3. sudo gedit /etc/samba/smb.conf

[share]
path = /home/phinecos/share
available = yes
browsealbe = yes
public = yes
writable = yes

  1. sudo touch /etc/samba/smbpasswd
    sudo smbpasswd -a kayv
    然后会要求你输入samba帐户的密码
    sudo /etc/init.d/samba restart

  2. 使用
    可以到windows下输入ip使用了,在文件夹处输入 "\" + "Ubuntu机器的ip或主机名" + "\" + "share"

posted @ 2015-10-14 00:51  kayv  阅读(125)  评论(0编辑  收藏  举报