Ubuntu ftp install step by step using pure-ftpd. You must have Internet connection to install ftp using apt-get command. The installation only takes 2 steps:
- Issue apt-get install pure-ftpd command. Please take note that you need root privilege to install ftp server.
- Answer Y (for Yes) when you are prompted to continue.
Below is an example of Ubuntu ftp install:
luzar@ubuntu:/etc$ sudo apt-get install pure-ftpd
[sudo] password for luzar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed: pure-ftpd-common
Suggested packages: netkit-inetd openbsd-inetd xinetd
The following NEW packages will be installed: pure-ftpd pure-ftpd-common
0 upgraded,2 newly installed, 0 to remove and 33 not upgraded.
Need to get 321kB of archives.After this operation, 901kB of additional
disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com hardy/universe
pure-ftpd-common 1.0.21-11.1ubuntu2 [169kB]
Get:2 http://us.archive.ubuntu.com hardy/universe pure-ftpd1.0.21-11.1ubuntu2[151kB]Fetched 321kB in 12s (26.1kB/s)
Preconfiguring packages ...
Selecting previously deselectedpackage pure-ftpd-common.
(Reading database ... 18865 files and directories currently installed.)
Unpacking pure-ftpd-common (from ...
/pure-ftpd-common_1.0.21-11.1ubuntu2_all.deb)...
Selecting previously deselected package pure-ftpd.
Unpacking pure-ftpd (from ...
/pure-ftpd_1.0.21-11.1ubuntu2_i386.deb)...
Setting up pure-ftpd-common (1.0.21-11.1ubuntu2)...
Setting up pure-ftpd (1.0.21-11.1ubuntu2)...
Starting ftp server:
Running:
/usr/sbin/pure-ftpd -l pam -E -u 1000 -Oclf:/var/log/pure-ftpd/transfer.log -B
luzar@ubuntu:/etc$
Installing the Ubuntu ftp server is an easy step. However, you need to configure the pure-ftpd daemon and edit settings in the configuration files for security. We'll continue to configure ftp later.