Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lnrsoft/d25b7e1ab49aac81204845f516bf03bb to your computer and use it in GitHub Desktop.
Save lnrsoft/d25b7e1ab49aac81204845f516bf03bb to your computer and use it in GitHub Desktop.
How to setup ftp server in ubuntu
Command Line:
# Install Lamp
Configure for permission:
cd /var/www/html
sudo chown -R user:www-data /var/www/html/
sudo chmod -R 775 /var/www/html/
sudo chmod g+s /var/www/html/
#Install ftp [vsftpd]
sudo apt-get install vsftpd
sudo gedit /etc/vsftpd.conf
*Uncomment local_musk and change the value by xxxx
local_umask=0002
# Uncomment this to enable any form of FTP write command.
write_enable=YES
Restart the ftp by
sudo service vsftpd restart
#Install webmin
After installing webmin run the command below for fixing issues if any
sudo apt-get -f upgrade
Now go to browser and access the following
https://localhost:10000/
username: your username
pass: your pass
#Install filezilla
host: localhost username: pass:
Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment