BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Sabtu, 09 Oktober 2010

Install Samba di Ubuntu

Masuk ke terminal :

ketikan perintah

- $ sudo apt-get install samba smbfs


tgg beberapa detik menit. 


Lalu untuk file konfigurasinya 


- $ sudo nano /etc/samba/smb.conf


Cari yang bagin seperti dibawah ini 





####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

Hilangkan tanda pagar pada “#   security = user” lalu buat menjadi “   security = user” dan tambahkan satu baris lagi dibawahnya dengan “username map = /etc/samba/smbusers” sehingga seperti 

####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user 
username map = /etc/samba/smbusers

impan perubahan konfigurasi dengan menekan tombol Ctrl + O lalu tekan Enter. Setelah selesai menyimpan, anda keluar dari editor dengan menekan tombol Ctrl + X.

Semoga bermanfaat :)

0 komentar: