apt-get install proftpd
Pilih Standalone
2. Buat dua user dengan perintah adduser nama user, kemudian password user
3. Mengatur hak akses dari folder setiap user yang ada
rima:~# chmod 777 /home/fauzani (nama user)
3. 4. Merestart layanan proftpd
rima# /etc/init.d/proftpd restart
Shutting down proftpd: {OK}
Starting proftpd: {OK}
5. Setelah itu kita lakukan uji coba ftp yang telah kita buat denga cara:
rima:~# ftp ftp.rima.com
Connected to ns.rima.com
220 ProFTPD 1.3.2rc1 Server (ftp.rima.com) [192.168.15.1]
Name (ftp.rima.com:root): debian
331 Password required for debian
Password:
230 User suse logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||50592|)
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 Documents
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 bin
drwxr-xr-x 2 debian users 4096 Nov 29 20:55 public_html
226 Transfer complete
ftp> mkdir rima
257 "/home/ debian /rima" - Directory successfully created
ftp> ls
229 Entering Extended Passive Mode (|||2540|)
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 Documents
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 bin
drwxr-xr-x 2 debian users 4096 Nov 29 21:12 rima
drwxr-xr-x 2 debian users 4096 Nov 29 20:55 public_html
226 Transfer complete
ftp> rm rima
250 RMD command successful
ftp> ls
229 Entering Extended Passive Mode (|||43063|)
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 Documents
drwxr-xr-x 2 debian users 4096 Nov 29 18:17 bin
drwxr-xr-x 2 debian users 4096 Nov 29 20:55 public_html
226 Transfer complete
ftp> quit
221 Goodbye.
6. 6 6. Kemudian cek pada client, apabila berhasil maka tampilannya seperti berikut.
0 komentar:
Posting Komentar