INSTALASI FTP server

APA ITU FTP SERVER

FTP atau File Transfer Protocol merupakan protokol yang bertugas untuk menjembatani pertukaran informasi di dalam suatu komputer melalui suatu jaringan dengan koneksi TCP (Transmission Control Protocol).

LANGKAH - LANGKAH KONFIGURASI FTP SERVER

  • buka "nano /etc/proftpd/proftpd.conf " kemudian edit menjadi seperti ini
    •   # Set off to disable IPv6 support which is annoying on IPv4 only boxes.
          UseIPv6         off
          
          # Use this to jail all users in their homes
          DefaultRoot     ~
          
          # Users require a valid shell listed in /etc/shells to login.
          # Use this directive to release that constrain.
          RequireValidShell       off
          
          # Set the user and group that the server normally runs at.
          User    nobody
          Group   nogroup
          
          <Anonymous /home/ftp-server>
             User nobody
             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>
    • ketik mkdir /home/ftp-server

    • ketik "systemctl restart proftpd"

  • Masuk pada file explorer untuk mengecek ftp server Debian sudah berhasil lalu Ketikkan ftp://192.168.230.1 pada file explorer

Komentar

Postingan populer dari blog ini

KONFIGURASI MAIL SERVER

MENGHUBUNGKAN JOOMLA DENGAN VIRTUALMIN

KONFIGURASI SAMBA