Install the required components to host the site, eg: a LAMP stack. Update the Ubuntu server and install LAMP, Linux, Apache, MySQL and PHP:
$ sudo apt-get update $ sudo apt-get install lamp-server^
Now we need to clone the default site config file, and customise it to our requirements. Once thats done, enable the site with a2ensite and restart Apache.
cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/mysite.com.conf vim /etc/apache2/sites-available/mysite.com.conf sudo a2ensite mysite.com service apache2 restart
(Visited 225 times, 1 visits today)
![Share on Facebook Facebook](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Google+ google_plus](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/google_plus.png)
![Share on Reddit reddit](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/reddit.png)
![Pin it with Pinterest pinterest](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/pinterest.png)
![Share on Linkedin linkedin](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share by email mail](https://jervis.ws/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)