[求助]怎样使得进程在开机时自动运行?

由 hyang_zhang 在 04-06-2004 18:35 发表:

[求助]怎样使得进程在开机时自动运行?

自己装了apache服务器。但是每次开机都要手动去打开进程,能不能让他自动运行阿?


由 Snoopy 在 04-06-2004 19:09 发表:


/etc/rc.d/init.d/httpd start

加到/etc/rc.local里

或是用chkconfig加到ntsysv里


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 littke 在 04-06-2004 19:32 发表:


简单操作

ntsysv

选中httpd


怀念军需!

怀念net004!

怀念net004的同学!


由 hyang_zhang 在 04-06-2004 19:54 发表:

linux系统自带的已经被我删除了!

我不想用原来redhat Linux 自带的apache .

自己装了一个。

刚才那位大哥,能不能详细的解释一下啊,我用不明白。chkconfig不知道怎么用。我在命令行输入:

chkconfig --add apachectl restart

不行啊!


由 Snoopy 在 04-06-2004 20:05 发表:


自己编译的不会跑到ntsysv,<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus