摘要: 有些时候我们需要在服务器里设置一个脚本,让他一开机就自己启动。方法如下: cd /etc/init.d vi youshell.sh #将youshell.sh修改为你自己的脚本名 编写自己的脚本后保存退出。 在编写脚本的时候,请先加入以下注释 #add for chkconfig #chkconfig: 2345 70 30 #description: the descriptio... 阅读全文
posted @ 2015-07-27 01:44 学习札记 阅读(1129) 评论(0) 推荐(0) 编辑