2017/03/23

Install/setup Apache Web Server

It tells you how to install and setup Apache web server via apt-get utility.

[command]
sudo apt-get install apache2

---------------------------------------------------------------

Disable default site if necessary.

[command]
sudo a2dissite default
sudo a2dissite default-ssl
sudo service apache2 reload
sudo service apache2 restart

---------------------------------------------------------------

Enable your website (e.g. hubert.cc).

[command]
sudo a2ensite hubert.cc
sudo service apache2 reload
sudo service apache2 restart

No comments:

Post a Comment