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 
2 
3 
4 
5 
 | 
  
#nama server 
ServerName "Ubuntu FTP Server" 
#folder root pada saat login diset ke folder Home masing-masing user 
DefaultRoot ~ 
 | 
 
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.
cara upload dengan filezilla
Memakai
FileZilla FTP Client
Host : no_ip_server
Username : username_system
Password : password_system
Host : no_ip_server
Username : username_system
Password : password_system
Konfigurasi
Anonymous (Login tanpa user account system) FTP
Edit file konfigurasi proftpd
Edit file konfigurasi proftpd
1 
 | 
  
$ sudo nano
  /etc/proftpd/proftpd.conf 
 | 
 
Lepas #
(tanda komentar) pada bagian konfigurasi Anonymous
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
 | 
  
<Anonymous ~ftp> 
   User                        
  ftp 
   Group                       
  nogroup 
   # We want clients to be able to login with
  "anonymous" as well as "ftp" 
   UserAlias                   
  anonymous ftp 
   # Cosmetic changes, all files belongs to ftp user 
   DirFakeUser  on ftp 
   DirFakeGroup on ftp 
  RequireValidShell            
  off 
   # Limit the maximum number of anonymous logins 
   MaxClients                  
  10 
   # We want 'welcome.msg' displayed at login, and
  '.message' displayed 
   # in each newly chdired directory. 
   DisplayLogin        
  welcome.msg 
   DisplayChdir        
  .message 
   # Limit WRITE everywhere in the anonymous chroot 
   <Directory *> 
    <Limit WRITE> 
       DenyAll 
    </Limit> 
   </Directory> 
#   # Uncomment this if you're brave. 
#   # <Directory incoming> 
#   #   # Umask 022 is a good standard umask to
  prevent new files and dirs 
#   #   # (second parm) from being group and world
  writable. 
#   #  
  Umask                          
  022  022 
#  
  #            <Limit
  READ WRITE> 
#  
  #            DenyAll 
#  
  #           
  </Limit> 
#  
  #            <Limit
  STOR> 
#  
  #            AllowAll 
#  
  #           
  </Limit> 
#   # </Directory> 
# 
 </Anonymous> 
 | 
 
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 ..,..,.,.,.
s



















0 komentar:
Posting Komentar