/opt/web/bin/apachectl start
without login as root or without sudo
on kubuntu 7.04
thank you.
Printable View
/opt/web/bin/apachectl start
without login as root or without sudo
on kubuntu 7.04
thank you.
Do you have a question?
I think the question is how to autostart apachectl.
The following should work:
1. copy apachectl from apache's /bin directory to /etc/init.d
2. sudo chmod +x /etc/init.d/apachectl
3. sudo update-rc.d apachectl defaults
If you want apache to run as a non root user then you should change the port is listens on to a number greater than 1024 and remove the user and group configuration options from httpd.conf.