konfigurasi ftp

Berikut ini saya akan menjelaskan tentang konfigurasi membuat FTP server :
Install paket vsftpd untuk versi yang terbaru dengan perintah

apt-get install vsftpd
Kemudian edit pada script vsftpd.conf dengan perintah

pico /etc/vsftpd.conf

Dan akan tampil seperti di bawah ini:

==========================================================================

# 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

Jika sudah selesai, kita akan merestart daemon FTP dengan perintah :

/etc/init.d/vsftpd restart

Setelah selesai dan tidak ada tanda error atau failed, sekarang kita akan mencoba menyambungkan dengan client dengan cara :

Pastikan computer kita tersambung dengan client, kemudian masuk pada internet explorer dan ketikkan ftp://192.168.53.1 ( misal computer kita memakai ip tsb )

Jika tidak error maka setting FTP kita berhasil.

Semoga berhasil & Selamat mencoba ^^

Tinggalkan komentar