工大学子
摘要: #!/bin/bash 2 # 3 # httpd Startup script for the Apache HTTP Server 4 # 5 # chkconfig: - 85 15 6 # description: The Apache HTTP Server is an efficient and extensible \ 7 # server implementing the current HTTP standards. 8 # processname: httpd 9 # config: /etc/httpd/conf/... 阅读全文
posted @ 2012-11-15 19:42 飞天小莫 阅读(140) 评论(0) 推荐(0) 编辑
摘要: /etc/inittab,有一行为default=5,将5改为3就可以了复制Apache启动文件到usr/sbin里面 前面为你安装的apache的目录。#cp /usr/local/apache/bin/apachectl /usr/sbin/启动Apache时就可以简单的输入,而不用输入很长一段了。sudo apachectl start 就可以启动了设置Apache开机自启动#vi /etc/rc.d/rc.local增加一行 /sbin/apachectl startchkconfigchkconfig sshd --level 3 on 阅读全文
posted @ 2012-11-15 18:58 飞天小莫 阅读(322) 评论(0) 推荐(0) 编辑
飞天小莫