Difference between revisions of "Instalasi FTP Server"

From OnnoWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  apt-get install vsftpd
 
  apt-get install vsftpd
  chown -Rf root.root /home/ftp
+
  mkdir /var/ftp
  chown -Rf ftp.ftp /home/ftp
+
  chown -Rf ftp.nogroup /var/ftp
  chmod -Rf 777 /home/ftp
+
  chmod -Rf 444 /var/ftp
  
 
Membuat public directory
 
Membuat public directory
  
  mkdir /home/ftp
+
  mkdir /var/ftp
  mkdir /home/ftp/pub
+
  mkdir /var/ftp/pub
  chown -Rf ftp.nogroup /home/ftp/pub
+
  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


Referensi

Pranala Menarik