Difference between revisions of "Instalasi FTP Server"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  anon_upload_enable=YES
 
  anon_upload_enable=YES
 
  anon_mkdir_write_enable=YES
 
  anon_mkdir_write_enable=YES
  write_enable=NO
+
  write_enable=YES
 
  anon_root=/var/ftp
 
  anon_root=/var/ftp
 
  anon_max_rate=2048000
 
  anon_max_rate=2048000

Revision as of 10:56, 9 March 2012

Instalasi vsftp server

apt-get install vsftpd
mkdir /var/ftp
chown -Rf ftp.nogroup /var/ftp
chmod -Rf 444 /var/ftp

Membuat public directory

mkdir /var/ftp
mkdir /var/ftp/pub
chown -Rf ftp.nogroup /var/ftp/pub

Restart ftp server

/etc/init.d/vsftpd restart


Mengaktifkan Anonymous FTP

vi /etc/vsftpd.conf
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
write_enable=YES
anon_root=/var/ftp
anon_max_rate=2048000
xferlog_enable=YES

Referensi

Pranala Menarik