Ubuntu下Samba服务器的简单应用
1.Samba install
apt-get install samba
apt-get install smbfs
2.create share location
mkdir /home/sillycat/share
chmod 777 /home/sillycat/share
3.modify the config file for samba
mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
vi /etc/samba/smb.conf
[global]
workgroup = MYGROUP
security=share
guest ok = yes
[share]
path=/home/sillycat/share
browseable=yes
writeable=yes
testparm
5.restart the samba server
/etc/init.d/samba restart
6.test connection
install the client soft:
apt-get install smbclient
local machine:
smbclient -L //localhost/share
remote machine:
smbclient //www.sillycat.com/share
1.Samba install
apt-get install samba
apt-get install smbfs
2.create share location
mkdir /home/sillycat/share
chmod 777 /home/sillycat/share
3.modify the config file for samba
mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
vi /etc/samba/smb.conf
[global]
workgroup = MYGROUP
security=share
guest ok = yes
[share]
path=/home/sillycat/share
browseable=yes
writeable=yes
testparm
5.restart the samba server
/etc/init.d/samba restart
6.test connection
install the client soft:
apt-get install smbclient
local machine:
smbclient -L //localhost/share
remote machine:
smbclient //www.sillycat.com/share
本文介绍了如何在Ubuntu系统中安装和配置Samba服务器。包括安装Samba软件包、创建共享文件夹、修改配置文件、重启服务及测试连接等步骤。
630

被折叠的 条评论
为什么被折叠?



