Setting Up FTP Server On Linux Mint

Go down

Setting Up FTP Server On Linux Mint

Post by jamied_uk on 18th February 2018, 19:01


Installation of FTP server in Ubuntu

As in any other Ubuntu like Linux systems, installation of the FTP server comes down to a single command. Open up your terminal and enter the command:

sudo apt-get install vsftpd

if fails to install use this
sudo apt install yum

sudo service vsftpd start

sudo gedit /etc/vsftpd.conf

netstat -ant | grep 21

echo jay > /etc/vsftpd.userlist

sudo useradd web

sudo usermod -d /var/www/html/ web

In the next step we need to edit the FTP server's configuration file /etc/vsftpd.conf and change the following line:

The above command will install and start the ftp server on your Linux system.

Setting up vsftpd (2.3.5-1ubuntu2) ...
vsftpd start/running, process 1891

Stand-alone vs Normal FTP mode
Stand-alone mode

By default vsftpd starts for stand-alone mode. In stand-alone mode the service you run on your server has its own startup script called daemon. In case of vsftpd it is a /etc/init.d/vsftpd . This stand-alone daemon will take control of the FTP service the moment it gets started. The vsftpd daemon provides the administrator with a couple of commands to manage the vsftpd FTP server:

    start or stop - used to start and stop the ftp server
    status - provides more information about the current status of your FTP server
    restart - this is an alternative to consequent execution of stop and start commands. If the FTP server is down, the restart command will start it.
    reload - this will instruct the FTP server to reload and apply all new configurations. The difference between reload and restart is that with reload you are not shutting down your FTP but rather only reloading it with new configuration settings and at the same time ensure continuous uptime.

To start, restart, reload or get the status of our FTP server we can use the service utility:

sudo service vsftpd start

Posts : 2408
Join date : 2010-05-09
Age : 35
Location : UK

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum