Difference between revisions of "Instalasi FTP Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 2: | Line 2: | ||
apt-get install vsftpd | apt-get install vsftpd | ||
− | + | mkdir /var/ftp | |
− | chown -Rf ftp. | + | chown -Rf ftp.nogroup /var/ftp |
− | chmod -Rf | + | chmod -Rf 444 /var/ftp |
Membuat public directory | Membuat public directory | ||
− | mkdir / | + | mkdir /var/ftp |
− | mkdir / | + | mkdir /var/ftp/pub |
− | chown -Rf ftp.nogroup / | + | chown -Rf ftp.nogroup /var/ftp/pub |
Restart ftp server | Restart ftp server | ||
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 | ||
+ | anon_root=/var/ftp | ||
+ | anon_max_rate=2048000 | ||
+ | xferlog_enable=YES | ||
+ | |||
==Referensi== | ==Referensi== |
Revision as of 10:41, 24 May 2011
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=NO anon_root=/var/ftp anon_max_rate=2048000 xferlog_enable=YES