PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Setting Up FTP Server On Linux Mint

Go down

Setting Up FTP Server On Linux Mint Empty Setting Up FTP Server On Linux Mint

Post by jamied_uk 18th February 2018, 19:01

This is to allow ftp access to folder /var/www/html/



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:

Code:
sudo apt install -y vsftpd



if fails to install use this

Code:
sudo apt install yum


Code:
sudo service vsftpd start

Code:
sudo gedit /etc/vsftpd.conf

Code:
netstat -ant | grep 21

Code:
echo jay > /etc/vsftpd.userlist


Code:
sudo useradd web

Code:
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:

Code:
sudo gedit /etc/vsftpd.conf



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

More


linuxconfig.org/how-to-setup-and-use-ftp-server-in-ubuntu-linux
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:

Code:
sudo service vsftpd start


Last edited by jamied_uk on 26th August 2018, 23:35; edited 1 time in total
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting Up FTP Server On Linux Mint Empty Re: Setting Up FTP Server On Linux Mint

Post by jamied_uk 21st June 2018, 17:48

Things to enable in conf file:


Code:
write_enable=YES
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting Up FTP Server On Linux Mint Empty Re: Setting Up FTP Server On Linux Mint

Post by jamied_uk 21st June 2018, 17:49

Restart ftp server

Code:
service vsftpd restart
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting Up FTP Server On Linux Mint Empty Re: Setting Up FTP Server On Linux Mint

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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