Home  >  Article  >  Operation and Maintenance  >  How to start ftp service in centos7

How to start ftp service in centos7

王林
王林Original
2020-04-01 14:32:177167browse

How to start ftp service in centos7

1. View and install vsftpd

Execute the following command to view:

vsftpd -v

If it is not installed, execute the following command to install it:

yum -y install vsftpd

2. Configure vsftpd

Cancel anonymous login

Modify the vsftpd.conf file

vi /etc/vsftpd/vsftpd.conf

Change anonymous_enable=YES to NO, and then restart vsftpd.

Restart

systemctl vsftpd restart

Check the status of the vsftpd service

systemctl status vsftpd.service

Set up the boot

systemctl enable vsftpd.service

Recommended related tutorials: centos tutorial

The above is the detailed content of How to start ftp service in centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to set ip in centosNext article:How to set ip in centos