Perfect Tips About How To Start Httpd Automatically
Most unix/linix distros historically followed system.v initialization patter.
How to start httpd automatically. To start the server using the apachectl control script as root type: To stop the server, as root type: To start the server, as root type:
You can also set the environment variables using the init. This way all u have to do is write a special start/stop/restart script, chmod +x it and put in under. First of all we need find out which service occupy the port 80.
You are currently viewing lq as a guest. With this cmd you will learn the service and if it's not the service you want. The ntsysv command can be used to identify services that you want to start automatically.
Welcome to linuxquestions.org, a friendly and active linux community. If you want the service to start automatically at boot time, use the following command: Following commands starts the services automatic when instance started.
The solution to this problem is very simple, you just have to enter the following code in order to run your apache server on start.