How to enable and disable the vsFTPd Server

Source: Internet
Author: User
Tags ftp commands pkill

VsFTPdServer startup and shutdown are quite simple. Please refer to the introduction below.

It is very easy to start and shut down vsFTPd servers. We can directly transfer the server operation to the backend for running. This is the operation mode managed by almost all servers;

1. Common vsFTPd server startup and shutdown methods;

To run the vsftpd command, you must use the root permission. If you are not the root user, you can use su to switch to the root permission, one is su and the other is sudo. For details, see "Super permission control in Linux".

Run the vsFTPd server;

[Root @ localhost ~] #/Usr/sbin/vsftpd &

[Root @ localhost ~] #/Usr/local/sbin/vsftpd &

Whether the vsFTPd server is running;

We can use pgrep vsftpd to check whether vsftpd is running;

[Root @ localhost ~] # Pgrep vsftpd

4248

The above shows that the vsFTPd server is running. You can test the connection by using ftp commands, lftp tools, gftp, or other FTP clients;

Disable the vsFTPd Server:

We use pkill vsftpd to kill the vsftpd process. In this way, we disable vsFTPd and use psgrep vsftpd to view the process. If no process exists, it indicates that vsFTPd has been disabled. Of course, we also need to use the root permission.

[Root @ localhost ~] # Pkill vsftpd

[Root @ localhost ~] # Pgrep vsftpd

2. enable or disable the vsFTPd server in Fedora/Redhat/CentOS:

In Fedora/Redhat/CentOS, you can also use the following method to start vsFTPd; of course, you also need to use the root permission;

[Root @ localhost beinan] #/etc/init. d/vsftpd start

Start vsftpd For vsftpd: [OK]

Restart vsFTPd with the following command;

[Root @ localhost beinan] #/etc/init. d/vsftpd restart

Disable vsftpd: [OK]

Start vsftpd For vsftpd: [OK]

To disable the vsFTPd server, run the following command;

[Root @ localhost beinan] #/etc/init. d/vsftpd stop

Disable vsftpd: [OK]

Through the introduction of this article, we can clearly understand and implement the startup and shutdown of the vsFTPd server!

  • Install vsFTPd in one minute
  • How to add Vsftpd virtual users
  • Vsftpd server configuration in FreeBSD 8.1
  • Configure vsftpd FAQ On Debian
  • Configure vsftpd virtual users under FreeBSD
  • Getting started with vsftpd-installation, configuration, cases and FAQs
  • Vsftpd faq (Chinese Version 2.0.3)
  • Vsftpd Installation Guide for beginners

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.