missing rc.httpd
Ok, i have a very strange question.
I've installed slack10 (a rather basic config) compiled php 4.3.11, and apache 2.0.54.. apache runs great,,, really wonderfully, when i start it manually, however, When i to chmod +x /etc/rc.d/rc.httpd i find out there is no spoon,,,, umm,, i mean, there is no rc.httpd.... so i search,,,,,, locate -u,,,, then locate rc.httpd,,,, no signs of the missing file. that would be bad me thinks. Anyway, do i have to install the slack packaged apache to get the file, or is there another way to start apache on boot up? Thanks, Shawn |
Add the line you use to start it manually on /etc/rc.d/rc.local
You could also make your own script based on the one that comes with the Slackware package. If you call it with the same name (/etc/rc.d/rc.httpd) it will be started by the Slackware init scripts. |
I found it,,, not the file, but how to make it start up at boot time....
I simply added the line: /usr/local/apache2/bin/apachectl start it to rc.local.... This linux stuff is so cool, i'm learning quite a bit,,,, i think i'll buy a book soon.:D be happy! Shawn |
That file is a part of the Slackware package, not Apache. If you want it then you can extract it from the Slackware package without installing the package. Just make a directory to extract it in and use "tar zxvf apache-x.x.x.tgz". But here it is:
Code:
#!/bin/sh |
How would one extract (/etc/rc.d/rc.httpd) from the slackware cd?
i mean, the rc.local works, but learning how to get certain things off the cd's would probably work better (although, i will still buy the book). Thanks very much for the answer by the way... you linux people rock! Shawn |
I keep getting leapfrogged,,,, or you folks are reading my mind
(I've heard of the Jedi like powers of linux gurus,, and i'm beginning to believe the stories). Anyway,,, thanks so much,,, i'm going to extract the file, print out this post,, and then fashion some sort of lead-lined cap so the linux jedis stop reading my mind. be happy! Shawn |
Also, another trick. You can extract just the file you want, if you know the name, like so:
Code:
tar zxvf apache-1.3.33-i486-1.tgz etc/rc.d/rc.httpd.new Code:
tar zxvf apache-1.3.33-i486-1.tgz etc/rc.d/* And the filelist in MANIFEST.bz2 comes in handy for finding which file is in which package and etc. |
All times are GMT -5. The time now is 04:50 PM. |