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