RSS

Membuat Ftp server


  1. sudo apt-get install proftpd

  2. nano /etc/shells untuk mengedit file, lalu tambahkan code : /bin/false

  3. Buat folder untuk penyimpanan contoh : anda ingin mengupload file anda di /home/satu.com/html
    cd /home
    sudo mkdir satu.com/html

  4. sudo useradd evon -p 123456  -d /home/satu.com/html -s /bin/false
    sudo passwd evon

  5. cd /home
    sudo chmod 777 satu.com

  6. cd /home/satu.com
    sudo chmod 777  html

  7. sudo nano /etc/proftpd/proftpd.conf

  8. arahkan kursor ke paling bawah lalu copy file ini<Anonymous /home/satu.com/html/>
    User evon
    Group nogroup
    UserAlias anonymous ftp
    DirFakeUser on ftp
    DirFakeGroup on ftp
    RequireValidShell off
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayChdir .message
    <Directory *>
    <Limit WRITE>
    </Limit>
    </Directory>
    </Anonymous>

  9. /etc/init.d/proftpd restart

  10. jalan kan program pake filezillahostname : alamat ip
    username : evon
    password : 123456
    port : 21


sumber : http://blog.mdp.ac.id/nurrachmatjr/2012/09/01/installasi-dan-konfigurasi-ftp-server-di-ubuntu-linux-menggunakan-proftpd/

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 komentar:

Posting Komentar