How do I enable Apache on Ubuntu?

How do I enable Apache on Ubuntu?
Answer
Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache
  1. Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart. OR. $ sudo /etc/init.d/apache2 restart.
  2. To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop. OR.
  3. To start Apache 2 web server, enter: # /etc/init.d/apache2 start. OR.
 

Tìm kiếm

Back
Top