[Samba][Ubuntu] How to install samba into Ubuntu
1. Install package
sudo apt-get install samba
2. Backup original configuration file
cp /etc/samba/smb.conf{,.bak}
3. vim the configuration file
[global]
workgroup = workgroup
netbios name = UPC
security = share
encrypt passwords = yes
name resolve order = bcast
interfaces = 192.168.0.1/255.255.255.0 192.168.100.1/255.255.255.0
[home]
comment = Temporary file space
path = /home/freeman/
writable = yes
browseable = yes
public = yes
4. Restart samba
sudo restart smbd
sudo restart nmbd
Reference :
0 意見:
張貼留言