Cara share samba paling mudah

Posted on June 19, 2008. Filed under: linux |

pclinuxBismillahirahmanirrahim……

Disini gue berasumsi di linux kalian² sudah terinstall samba client and samba server, tapi sebelum itu gue mo ambil rokok garpit kesukaan gue and segelas kopi mix, nggak enak dong sambil ngetik kaga ngudut P , ok kita lanjutkan SETELAH SEMUA DIINSTALL BUKA FILE KONFIGURASI SAMBA DENGAN EDITOR (dalam contoh ini digunakan editor vi, anda bisa gunakan kate,kwrite,kedit dll)

root~/# vi /etc/samba/smb.conf
ABAIKAN SAJA SINTAK YANG ADA DAN LANGSUNG KEBARIS PALING AKHIR SEKALI , DALAM CONTOH INI BARIS PALING AKHIR 476, LALU TULIS
KONFIGURASI UNTUK SHARE DENGAN KETENTUAN :[NAMA_DIREKTORY_YANG_ANDA_INGINKAN(BUKAN_TEMPAT)]
comment = DESKRIPSI DARI DIREKTORI
path =/TEMPAT/DATA/YANG/DIIZINKAN/UNTUK/DI-SHARE

CONTOH:

[data_saya]
comment = ini data gue
path=/home/petrix/data

SIMPAN HASIL MODIFIKASI.
TAMBAH USER
root~/# adduser petrix
root~/# passwd petrix

Changing password for user petrix.
New UNIX password:**********
Retype new UNIX password:**********
passwd: all authentication tokens updated successfully.

TAMBAH USER UNTUK SAMBA DENGAN NAMA YANG SAMA (password boleh berbeda dari yg pertama(passwd))
root~/# smbpasswd -a petrix
New SMB password:****
Retype new SMB password:****
Added user petrix.

JALANKAN SERVICE SAMBA (pastikan service network juga telah berjalan)

root~/# service smb start

Starting SMB services: [ OK ]

Starting NMB services:

AKTIFKAN USER petrix
root~/# smbpasswd -e petrix

Enabled user petrix

PANGGIL PROGRAM LinNeighborhood, uji dari komputer diri sendiri :
+pada LinNeighborhood klik icon add, isikan alamat ip komputer anda pada kolom IP-addresss sementara kolom lainnya kosongkan saja

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Kontak person

    basmanpro
  • Pengunjung blog ini

    • 81,235 Kepala
  • Cari apa ?

  • RSS Kurs Lengkap klikbca

    • An error has occurred; the feed is probably down. Try again later.
  • RSS Kurs Lengkap klikbca

    • An error has occurred; the feed is probably down. Try again later.
  • RSS Unknown Feed

    • ERROR: Database error: Can't connect to database at /var/www/html/feed.pl line 181.
  • RSS Unknown Feed

    • ERROR: Database error: Can't connect to database at /var/www/html/feed.pl line 181.
  • gold price

  • [Most Recent Quotes from www.kitco.com]
  • RSS Unknown Feed

    • An error has occurred; the feed is probably down. Try again later.

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: