If for any reason you want to restore your apache2 directory located at /etc/apache2 to its default state on Ubuntu 15.04 then I have a sure way to do so which I’m gonna share with you. Just follow the steps given below:
Note: I’m not providing any kind of guarantee if you mistakenly delete your data or made any other harm for yourself.
1. Remove the ‘apache2’ Directory
First of all you need to remove ‘apache2’ directory completely and permanently from your system, run the following command to remove the apache2 directory:
sudo rm -R /etc/apache2
In this post I am going to show you how to change your root directory in Ubuntu 15.04. If you further want to know about root directory read my blog What is Root Directory. If you are comfortable with then let’s get started with out wasting time any more!
Step 1: Opening the ‘default.conf’ File
The path for our root directory is specified in 000-default.conf file. Open your 000-default.conf file from /etc/apache2/sites-availale/ by running the following command:
sudo gedit /etc/apache2/sites-available/000-default.conf
In this post you’ll learn how to install composer on Ubuntu 15.04 globally as well as locally. There are two way to install composer as given below:
- Installing composer globally
- Installing composer locally
Installing WordPress on Ubuntu is a bit more different than installing it on Windows. So this post will teach you how to install WordPress on your Ubuntu machine.
Step 1: Installing LAMP
First of all you need to set up LAMP on your Ubuntu machine. If you have not installed LAMP please install it. Read my blog Installing LAMP Stack on Ubuntu and Debian in Just 3 Steps to install LAMP and