Anda di halaman 1dari 5

Install dan Konfigurasi FTP Server (proftpd) di Ubuntu Server 12.

04
Home > FOSS & Linux > Install dan Konfigurasi FTP Server (proftpd) di Ubuntu Server 12.04 By : +Musa Amin September 18, 2012 FOSS & Linux, Networking 1 Comment

FTP Server merupakan protokol untuk melakukan transfer file antar jaringan. Tutorial FTP Server ini menggunakan Proftpd Server. Install Proftpd Server 1$ sudo apt-get install proftpd Pilih standalone, Ok

Edit file konfigurasi proftpd

1$ sudo nano /etc/proftpd/proftpd.conf 1#nama server 2ServerName "Ubuntu FTP Server" 3 4#folder root pada saat login diset ke folder Home masing-masing user 5DefaultRoot ~ Restart service proftpd 1$ sudo service proftpd restart

Pengujian Memakai internet browser Akses ftp://no_ip_server atau ftp://username@no_ip_server Masukkan username dan password

Memakai FileZilla FTP Client Host : no_ip_server Username : username_system

Password : password_system

Konfigurasi Anonymous (Login tanpa user account system) FTP Edit file konfigurasi proftpd 1$ sudo nano /etc/proftpd/proftpd.conf Lepas # (tanda komentar) pada bagian konfigurasi Anonymous 1 <Anonymous ~ftp> User ftp 2 Group nogroup 3 # We want clients to be able to login with "anonymous" as well as 4 "ftp" 5 UserAlias anonymous ftp # Cosmetic changes, all files belongs to ftp user 6 DirFakeUser on ftp 7 DirFakeGroup on ftp 8 9 RequireValidShell off 10 11 # Limit the maximum number of anonymous logins 12 MaxClients 10 13 14 # We want 'welcome.msg' displayed at login, and '.message' displayed 15 # in each newly chdired directory. DisplayLogin welcome.msg 16 DisplayChdir .message 17 18 # Limit WRITE everywhere in the anonymous chroot 19 <Directory *> <Limit WRITE> 20

DenyAll 21 </Limit> 22 </Directory> 23 24# # Uncomment this if you're brave. 25# # <Directory incoming> # # Umask 022 is a good standard umask to prevent new files and 26# dirs 27 # # (second parm) from being group and world writable. 28# # # Umask 022 022 29# # <Limit READ WRITE> 30# # DenyAll # # </Limit> 31 # # <Limit STOR> 32 # # AllowAll 33# # </Limit> 34# # </Directory> 35# 36 </Anonymous> 37 38 39 40

Folder ~ftp berada di /srv/ftp. Lokasi folder Anonymous ini bisa juga diganti misalnya /home/ftp . Pengujian Anonymous FTP Login ke FTP Server menggunakan FileZilla, username anonymous tanpa password

selamat mencoba referensi : server-world.info proftpd.org

Anda mungkin juga menyukai