FTP is an indispensable feature of servers that host and serve websites as it enables us to easily upload stuff to the remote server. On a Ubuntu server, with a little help of aptitude command (the package management program descended from Debian), you can install the most simple yet most common FTP daemon program for your server: vsFTPd.
apt-get install vsftpd
It is started automatically after successful installation. Stop it:
/etc/init.d/vsftpd stop
So that you can customize the configuration file:
vi /etc/vsftpd.conf
And make it look like:
pasv_enable=YES
pasv_max_port=8010
pasv_min_port=8001
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
idle_session_timeout=3600
chroot_local_user=YES
pam_service_name=ftp
Restart the FTP service:
/etc/init.d/vsftpd start
Now you can try connecting to the FTP and transferring some stuff.
Pingback: Unmanaged Hosting Server Installation & Initial Configuration for Dummies