Konfigurasi FTP

Konfigurasi FTP

Ø Install paket vsftpd untuk versi yang terbaru

#apt-get install vsftpd

Ø Mengedit script vsftpd.conf

#pico /etc/vsftpd.conf

# Allow anonymous FTP? (Beware – allowed by default if you comment this out )

anonymous_enable=YES

#

# Uncoment this to allow local users to log in.

local_enable=YES

#

# Uncoment this to enable any form of FTP write command.

write_enable=YES

# Default umask for local user is 077. you may wish to change this to 002,

# if your user expect that (022 is used by most other ftpd’s)

# local_umask=022

#

# Uncomment this to allow the anonymous FTP user to upload files. This only

# has an effect if the above global write enable is activated. Also, you will

# obviously need to create a directory writable by the FTP user.

anon_upload_enable=YES

#

# Uncomment this if you want the anonymous FTP user to be able to create

# new directories.

anon_mkdir_write_enable=Yes

#

# Activate directory messages-messages given to remote users when they

# go into a certain directory.

dirmessage_enable=YES

#

# Activate logging of uploads/downloads.

xferlog_enable=YES

#

# Make sure PORT transfer connections orginate from port 20 ( ftp-data).

connect_from_port_20=YES

PS : Tanda yang becetak tebal merupakan tanda yang telah dihilangkan tanda pagarnya

Ø Merestart daemon FTP

#/etc/init.d/vsftpd restart

Shutting down vsftpd :

Starting vsftpd for vsftpd :


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: