FTP Service Control in CentOS 7

To enable or disable FTP service in CentOS 7, you can use the following commands:

  1. Start the FTP service.
sudo systemctl start vsftpd
  1. Stop the FTP service.
sudo systemctl stop vsftpd

You can also restart the FTP service using the following command:

sudo systemctl restart vsftpd

To automatically start the FTP service at system boot, you can use the following command:

sudo systemctl enable vsftpd

To disable the FTP service from automatically starting at system boot, you can use the following command:

sudo systemctl disable vsftpd

The above is an FTP service based on the vsftpd service. Specific commands may vary if using a different FTP service.

bannerAds