1. Buka Terminal / text mode dan jalankan perintah :
administrator@server3:/etc$ sudo apt-get install samba smbfs
2. Samba telah ter-install, sekarang saatnya kita
mengkonfigurasinya agar dapat diakses. Jalankan perintah dibawah untuk
membuka file konfigurasi. Gunakan editor kesukaan anda, saat ini saya
akan menggunakan nano.
$ sudo nano /etc/samba/smb.conf3. Cari bagian 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
4. 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
5. Simpan perubahan konfigurasi dengan menekan tombol
Ctrl + O lalu tekan Enter. Setelah
selesai menyimpan, anda keluar dari editor dengan menekan tombol Ctrl
+ X.
Selesai sudah installasi samba di server ubuntu.References : http://www.aqsha-a.co.cc/install-samba-di-ubuntu-server/
================================================
Create a Samba User
There are two steps to creating a user. First we’ll run the smbpasswd utility to create a samba password for the user.
sudo smbpasswd -aNext, we’ll add that username to the smbusers file.
sudo gedit /etc/samba/smbusersAdd in the following line, substituting the username with the one you want to give access to. The format is
Now you can create samba shares and give access to the users that you listed here.= “ ”
References : http://www.howtogeek.com/howto/ubuntu/install-samba-server-on-ubuntu/
118.96.212.1
125.160.14.189
root@hanamichi-desktop:/home/hanamichi# traceroute www.yahoo.com
traceroute to www.yahoo.com (98.137.149.56), 30 hops max, 60 byte packets
1 192.168.0.1 (192.168.0.1) 0.705 ms 1.072 ms 1.411 ms
2 118.96.212.1 (118.96.212.1) 371.686 ms 383.912 ms 385.583 ms
3 189.subnet125-160-14.speedy.telkom.net.id (125.160.14.189) 386.612 ms 387.006 ms 387.457 ms
4 xe-10-3-0.edge6.LosAngeles1.Level3.net (4.59.50.121) 792.087 ms 859.734 ms 871.547 ms
5 * * ae-83-80.ebr3.LosAngeles1.Level3.net (4.69.144.180) 890.569 ms
6 ae-2-2.ebr3.SanJose1.Level3.net (4.69.132.9) 902.376 ms 543.794 ms 615.287 ms
7 ae-83-83.csw3.SanJose1.Level3.net (4.69.134.234) 614.438 ms ae-93-93.csw4.SanJose1.Level3.net (4.69.134.238) 660.255 ms ae-63-63.csw1.SanJose1.Level3.net (4.69.134.226) 661.071 ms
8 ae-23-79.car3.SanJose1.Level3.net (4.68.18.69) 684.126 ms ae-33-89.car3.SanJose1.Level3.net (4.68.18.133) 684.930 ms ae-43-99.car3.SanJose1.Level3.net (4.68.18.197) 685.553 ms
9 YAHOO-INC.car3.SanJose1.Level3.net (4.71.112.14) 805.220 ms 805.414 ms 805.638 ms
10 ae-1-d161.msr1.sp1.yahoo.com (216.115.107.63) 753.866 ms ae-0-d161.msr1.sp1.yahoo.com (216.115.107.59) 753.001 ms ae-0-d171.msr2.sp1.yahoo.com (216.115.107.83) 754.964 ms
11 et-17-25.fab1-1-gdc.sp2.yahoo.com (98.136.16.19) 754.426 ms et-18-25.fab1-1-gdc.sp2.yahoo.com (67.195.128.67) 755.629 ms et-17-25.fab3-1-gdc.sp2.yahoo.com (98.136.16.27) 767.684 ms
12 te-8-3.bas2-1-prd.sp2.yahoo.com (67.195.130.106) 682.661 ms te-8-3.bas1-1-prd.sp2.yahoo.com (67.195.130.98) 735.916 ms te-9-3.bas2-1-prd.sp2.yahoo.com (67.195.130.110) 740.919 ms
No comments:
Post a Comment