Konfigurasi Samba Server Linux Debian

1). Install SAMBA Server :

# beckz@debian:/$ apt-get install samba

2). Edit file konfigurasi SAMBA Server :

# beckz@debian:/$ pico /etc/samba/smb.conf


# Sample configuration file for the Samba suite for Debian GNU/Linux.



# This is the main Samba configuration file. You should read the

# smb.conf(5) manual page in order to understand the options listed

# here. Samba has a huge number of configurable options most of which

# are not shown in this example


# Any line which starts with a ; (semi-colon) or a # (hash)

# is a comment and is ignored. In this example we will use a #

# for commentary and a ; for parts of the config file that you

# may wish to enable


# NOTE: Whenever you modify this file you should run the command

# “testparm” to check that you have not made any basic syntactic

# errors.


#=================== Global Settings====================


workgroup = dimaz

netbios name = dimas

security = user “(Untuk settingan menggunakan password)”

[Beckz punya]

comment = Beckz punya

path = /etc/

public = yes

valid users = @users

force group = users

write list = yes

read only = no

writeable = yes

3). Jalankan SAMBA Server :

# beckz@debian:~$ /etc/init.d/samba restart

4). Menambah dan mengelola “User SAMBA” :

# beckz@debian:~$ useradd dimas -m -G dimas “(menambah user baru)”

# beckz@debian:~$ smbpasswd dimas -a “(memberikan password pada user)”

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s