Breathtaking Tips About How To Start Httpd Automatically
The ntsysv command can be used to identify services that you want to start automatically.
How to start httpd automatically. To start the server, as root type: Most unix/linix distros historically followed system.v initialization patter. You can also set the environment variables using the init.
To stop the server, as root type: You are currently viewing lq as a guest. If you would like to make the apache web server start automatically upon system reboot, execute the following command.
With this cmd you will learn the service and if it's not the service you want. The restart option is a shorthand way of stopping and then starting. This way all u have to do is write a special start/stop/restart script, chmod +x it and put in under.
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. First of all we need find out which service occupy the port 80. Following commands starts the services automatic when instance started.
By joining our community you will have the ability to post.