ubuntu安装samba和ssh, ftp

来源:互联网 发布:linux ftp目录设置 编辑:程序博客网 时间:2024/05/18 18:53
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



图形界面:
添加用户;解锁、设置用户密码。

samba:图形界面配置用户访问目录等。
0 0
原创粉丝点击