This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12497|Reply: 0

[FTP] vsftpd start and self-boot (boot boot).

[Copy link]
Posted on 1/15/2016 3:38:58 PM | | |
The command to start vsftpd is service vsftpd start


The inux system FTP tool is a must-have software, and VSFPT is one of the most popular and convenient tools among many FTP tools. We don't want to reboot the system or FTP not working properly for some reason, so it is very necessary to add VSFTP to boot. vsftpd has two startup methods: self-start or started by the xinetd service, you can set the startup method by modifying listen in the configuration file listen=YES is self-starting, and NO is started by xinetd. It should be noted that the current terminal will be occupied after the self-boot command: /usr/local/sbin/vsftpd is started. Permanently turn it on or off using the following command:
chkconfig iptables on
chkconfig iptables off
Effective immediately: Reset after restart
service iptables start
service iptables stop
The above one is just the terminal display method, and the following starts the main topic, the default VSFTP service will be started automatically when booting:
Method 1 - Commonly used and convenient methods
[root@localhost /]# chkconfig --list|grep vsftpd
vsftpd          0:off   1:off   2:off   3:off   4:off   5:off   6:off
The above shows that vsftpd does not self-start at any level of work in Linux
[root@localhost /]# chkconfig vsftpd on
The above command sets vsftpd to autostart
[root@localhost /]# chkconfig --list|grep vsftpd
vsftpd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
The above display indicates that vsftpd will self-start the service at Linux working levels 2, 3, 4, and 5.




Method 2 - Modify rc.local file 1:
Modify the file /etc/rc.local and insert the line /usr/local/sbin/vsftpd & into the file to achieve automatic boot start.
Method 3 - Modify rc.local file 2:
Modify /etc/rc.local and add /etc/rc.d/init.d/vsftpd start
    The above are the three methods of vsftpd self-start (boot start) in linux, I hope it will be helpful to you





Previous:Fixed automatic crash in the background of discuz forum login
Next:centos No config file, iptables fails to start
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com