sudo apt-get install
samba
sudo apt-get install kdenetwork-filesharing
sudo apt-get install smbclient
sudo apt-get install system-config-samba #安装samba服务器配置工具
cd /home/wuyq/
sudo mkdir share
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
合适位置添加
security = user
文件最后添加
[share]
comment=this is Linux share directory
path=/home/wuyq/share
public=yes
writable=yes
sudo apt-get install openssh-client
ps -e |grep ssh
sudo apt-get install openssh-server
ps -e |grep ssh
sudo /etc/init.d/ssh start