Wind Letter Net (ithov.com) original article: below we introduce three kinds of methods, let vsftpd boot time can automatically run, below we carry on the detailed explanation.
1. Use Chkconfig
[Root@localhost ~]# chkconfig--level vsftpd on [root@localhost ~]# chkconfig--list | grep vsftpd Vsftpd&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; 0: Close 1: Close 2: Close 3: Enable 4: Close 5: Enable 6: Off
In this way, VSFTPD is running on Level 3 and level 5!
2, modify/etc/rc.local file, join/ETC/RC.D/INIT.D/VSFTPD start this line.
[Root@localhost ~]# vi/etc/rc.local #!/bin/sh # # This script would be executed *after* all the other init scripts. # You can put your own initialization stuff with If you don ' t # want to does the full Sys V style init stuff.
3, modify/etc/rc.local file, join/ETC/RC.D/INIT.D/VSFTPD start this line.
[Root@localhost ~]# cat/etc/rc.local #!/bin/sh # # This script would be executed *after* all the other init scripts. # You can put your own initialization stuff with If you don ' t # want to does the full Sys V style init stuff.
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.