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
 +
ufw allow ftp
 
  mkdir /var/ftp
 
  mkdir /var/ftp
 
  chown -Rf ftp.nogroup /var/ftp
 
  chown -Rf ftp.nogroup /var/ftp
 
  chmod -Rf 444 /var/ftp
 
  chmod -Rf 444 /var/ftp
 
Membuat public directory
 
  
 
  mkdir /var/ftp
 
  mkdir /var/ftp
Line 21: Line 20:
 
  vi /etc/vsftpd.conf
 
  vi /etc/vsftpd.conf
  
 +
listen=YES
 +
listen_ipv6=NO
 
  anonymous_enable=YES
 
  anonymous_enable=YES
 +
local_enable=YES
 +
write_enable=YES
 
  anon_upload_enable=YES
 
  anon_upload_enable=YES
 
  anon_mkdir_write_enable=YES
 
  anon_mkdir_write_enable=YES
  write_enable=YES
+
  ftpd_banner=Welcome to FTP service.
  anon_root=/var/ftp
+
dirmessage_enable=YES
  anon_max_rate=2048000
+
  # anon_root=/var/ftp
  xferlog_enable=YES
+
# anon_max_rate=2048000
 +
  # xferlog_enable=YES
 +
 
 +
 
 +
==Coba Akses==
 +
 
 +
ftp ip-address
 +
 
 +
 
  
 
==Referensi==
 
==Referensi==

Revision as of 05:11, 16 May 2017

Instalasi vsftp server

apt-get install vsftpd
ufw allow ftp
mkdir /var/ftp
chown -Rf ftp.nogroup /var/ftp
chmod -Rf 444 /var/ftp
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
listen=YES
listen_ipv6=NO
anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
ftpd_banner=Welcome to FTP service.
dirmessage_enable=YES
# anon_root=/var/ftp
#  anon_max_rate=2048000
# xferlog_enable=YES


Coba Akses

ftp ip-address


Referensi

Pranala Menarik