Uninstall vsftpdFTP server on CentOS7.1

Source: Internet
Author: User
1. first, check whether vsftpdrpm-qa | grepvsftpd is installed in the system. for example, if the following result is displayed, install vsfptd3.0 ftp server [root @ localhostsbin] # rpm-qa | grepvsftpdvsftpd-3.0.2-9.el7.x86_64 1. first, check whether vsftpd is installed in the system.

 

Rpm-qa | grep vsftpd

For example, if the following result is displayed, it indicates that the ftp server with vsfptd3.0 is installed.

[Root @ localhost sbin] # rpm-qa | grep vsftpd
Vsftpd-3.0.2-9.el7.x86_64

 

2. stop the vsftpd server

 

/Bin/sytemctl stop vsftpd. service

 

3. run the rpm command to clear

 

Rpm e vsftpd-3.0.2-9.e17.x86_64

 

[Root @ localhost sbin] # rpm-e vsftpd-3.0.2-9.e17.x86_64
Error: software package vsftpd-3.0.2-9.e17.x86_64 not installed
[Root @ localhost sbin] # rpm-e vsftpd-3.0.2-9.el7.x86_64
Warning:/etc/vsftpd. conf has been saved as/etc/vsftpd. conf. rpmsave
Warning/etc/vsftpd/user_list has been saved as/etc/vsftpd/user_list.rpmsave
Warning:/etc/vsftpd/ftpusers has been saved as/etc/vsftpd/ftpusers. rpmsave
[Root @ localhost sbin] #

After vsftpd software is installed, several important configuration files are automatically retained. If you are sure you do not need it, you can also manually delete it.

Run the rm command.

 

4. cleanup of other residual files

 

Other residual files may but may not completely include: files in the./etc/vsftpd/directory B. The configured system auto-start service and so on. These operations need to be handled manually. of course they do not need to be handled, which has little impact.

You can run the following command:Find/-name '* vsftpd *'Find the file that contains vsftpd, and delete it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.