Difference between revisions of "Korban: Install ftp server"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
  sudo su
 
  sudo su
  apt install vsftpd
+
  apt -y install vsftpd
 
 
  
 
==Konfigurasi==
 
==Konfigurasi==
Line 9: Line 8:
 
Edit
 
Edit
  
  /etc/vsftpd.conf
+
  vi /etc/vsftpd.conf
  
 
Pastikan
 
Pastikan
  
 
  write_enable=YES
 
  write_enable=YES
  anonymous_enable=Yes
+
  anonymous_enable=YES
 
  anon_upload_enable=YES
 
  anon_upload_enable=YES
 +
anon_mkdir_write_enable=YES
  
 
Folder di
 
Folder di
  
 
  /srv/ftp
 
  /srv/ftp
 +
 +
==Restart==
 +
 +
/etc/init.d/vsftpd  restart

Latest revision as of 05:13, 23 March 2019

Install

sudo su
apt -y install vsftpd

Konfigurasi

Edit

vi /etc/vsftpd.conf

Pastikan

write_enable=YES
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES

Folder di

/srv/ftp

Restart

/etc/init.d/vsftpd  restart