untuk mengingat, belajar dan berbagi

How to Install Samba Server on ubuntu

Samba digunakan untuk sharing file antara Ubuntu(linux) dengan komputer Windows.

Untuk mengisntall samba server, tulis kode berikut di terminal:
sudo apt-get install samba smbfs
 
After installed samba,we need to configure it to make it accessible by following command
 sudo gedit /etc/samba/smb.conf
 
Now create a samba user by following command
sudo smbpasswd -a username
 
And add that username to the smbusers file.
sudo gedit /etc/samba/smbusers
 
Add in the following line, substituting the username with the one you want to give access to
 
ubuntuusername = “samba username”
 
Use the name you created in “sudo smbpasswd -a username” instead samba username.

No comments:

Post a Comment