Best Answer: How Do I Start Apache in Linux?
Contents How Do I Start Apache Server? Install Apache Service in Your Command Prompt Window, Enter (Or Paste) the Following Command: Httpd. Exe -K Install -N...
Contents
How do I start Apache server?
Install Apache Service
- In your Command Prompt window, enter (or paste) the following command: httpd.exe -k install -n “Apache HTTP Server”
- From your Command Prompt window enter the following command and press ‘Enter.
- Restart your server and open a web browser once you are logged back in.
13 окт. 2020 г.
How do I run Apache as root?
2 Answers
- Create a shell script that does what you want. …
- In a terminal window, execute the command sudo vi /etc/sudoers and insert the following line at the end of the file (important to be at end so the other commands do not override): ALL ALL=NOPASSWD: /localstore/root.sh.
26 мар. 2012 г.