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.




My name's Yang and this is my blog about Web Hosting. You can find latest information, news, tips, deals and promo codes regarding the hosting industry and hosting companies. Leave a word or two if you like!