
Instalasi PureFTPD
Sebelum proses instalasi, tambahkan terlebih dahaulu epel repository yang menyimpan source aplikasi kemudian lakukan proses install.
yum --enablerepo=epel -y install pure-ftpd
Konfigurasi PureFTPD
vim /etc/pure–ftpd/pure–ftpd.conf
# line 77: change (no Anonymous) NoAnonymous yes # line 143: uncomment UnixAuthentication yes
/etc/rc.d/init.d/pure–ftpd start Starting proftpd: [ OK ]
Membuat User
Tentu setelah ftp server terinstall dan terkonfigurasi, selanjutnya buat satu user (uji coba). Proses pembuatan user beserta dengan passwordnya cukup dengan perintah sebagai berikut.
# adduser ftptest # passwd ftptest
Changing password for user ftptest. New password: Retype new password: passwd: all authentication tokens updated successfully.
Percobaan User
Test otentikasi login dari user ftptest yang telah dibuat bisa melalui beberapa alternatif, bisa menggunakan command line interface atau aploikasi ftp client, seperti filezilla, winscp, bitvise atau lainnya. Pada kondisi artikel ini percobaan otentikasi login melalui cmd atau command prompt jika menggunakan windows.
C:\Users\pc>ftp 192.168.137.2 Connected to 192.168.137.2. 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 21:19. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. 200 OK, UTF-8 enabled User (192.168.137.2:(none)): ftptest 331 User ftptest OK. Password required Password: 230 OK. Current restricted directory is / ftp> quit 221-Goodbye. You uploaded 0 and downloaded 0 kbytes. 221 Logout.
Secara default, ftp bekerja pada port akses 21, tentu pastikan agar port 21 tersebut tidak dalam list/blocking firewall.
Auto Startup Service
Pastikan pada saat boot atau reboot sistem pureftpd sudah dalam proses startup agar service dapat langsung berjalan.
chkconfig pure-ftpd on
Detail informasi dan sumber projek dapat merujuk pada situs resmi PureFTPD