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

How to start ftp service in centos7

王林
Release: 2020-04-01 14:32:17
Original
7216 people have browsed it

How to start ftp service in centos7

1. View and install vsftpd

Execute the following command to view:

vsftpd -v
Copy after login

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

yum -y install vsftpd
Copy after login

2. Configure vsftpd

Cancel anonymous login

Modify the vsftpd.conf file

vi /etc/vsftpd/vsftpd.conf
Copy after login

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

Restart

systemctl vsftpd restart
Copy after login

Check the status of the vsftpd service

systemctl status vsftpd.service
Copy after login

Set up the boot

systemctl enable vsftpd.service
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template