Membuat FTP Server di Ubuntu 20.04
Jump to navigation
Jump to search
Referensi : https://phoenixnap.com/kb/install-ftp-server-on-ubuntu-vsftpd
Step 1: Update System Packages
sudo apt update
Step 2: Install vsftpd Server on Ubuntu
sudo apt install vsftpd sudo systemctl start vsftpd sudo systemctl enable vsftpd
Step 3: Backup Configuration Files
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf_default
Step 4: Create FTP User
Membuat user dengan username sony dan password 123456 sudo useradd -m sony sudo passwd sony muncul permintaan password isi dengan 123456
Step 5: Configure Firewall to Allow FTP Traffic
sudo ufw allow 21/tcp
Step 6: Connect to Ubuntu FTP Server
sudo ftp ubuntu-ftp Replace ubuntu-ftp with the name of your system (taken from the command line). Log in using the sony account and password 123456. You should now be successfully logged in to your FTP server.
Authenticate FTP Users
sudo nano /etc/vsftpd.conf Find the entry labeled write_enable=NO, and change the value to “YES" Save the file, exit, then restart the FTP service with the following: sudo systemctl restart vsftpd.service