redhat中vsftp開機自啟動
有三種方法可以實現redhat中vsftpd服務開機自啟動.
1:在終端輸入:ntsysv,這里是開機自動啟動的服務選項,選中vsftpd即可.
2:用vi打開etc/rc.local.在里面加入/usr/local/bin/vsftpd
&即可.
3:chkconfig vsftpd on
(意思是所有的啟動級別都會自動啟動vsftpd服務)
chkconfig用來檢查服務是否啟動
推薦使用chkconfig
--level<這里參數是啟動級別> vsftpd on
比如:chkconfig --level 5 vsftpd
on ,在當啟動圖形界面的level時會自動啟動vsftpd服務。
1:在終端輸入:ntsysv,這里是開機自動啟動的服務選項,選中vsftpd即可.
2:用vi打開etc/rc.local.在里面加入/usr/local/bin/vsftpd
&即可.
3:chkconfig vsftpd on
(意思是所有的啟動級別都會自動啟動vsftpd服務)
chkconfig用來檢查服務是否啟動
推薦使用chkconfig
--level<這里參數是啟動級別> vsftpd on
比如:chkconfig --level 5 vsftpd
on ,在當啟動圖形界面的level時會自動啟動vsftpd服務。