Install Samba on Centos

Step By Step :

1. login ke root server nya

2. update server

yum update

3. install samba

yum install samba
service smb start

4. masukan service nya ke chkconfig

chkconfig smb on

5. buat folder samba dan ubah permission nya jadi 777

mkdir /samba
chmod 777 /samba -R

6. membuat user

misal untuk admin + pass :

useradd admin
smbpasswd -a admin

untuk client + pass :

useradd client
smbpasswd -a client

7. confg samba >> edit file /etc/samba/smb.conf

vi /etc/samba/smb.conf

masukan script berikut di paling bawah :

[Samba Share]
comment = Shared folder between admin and client
path = /samba
valid users = admin,client
admin users = admin
read list = client
writable = yes

save >> wq!

8. kemudian lakukan coomand berikut

net stop workstation
net start workstation
service smb restart

9. coba connect lewat ftp :
masuk ke run
ketikan ftp:\\Ipserver