3 june 2013
I have started my Six Week industrial training at Testing & Consultancy Cell in my own college, Guru Nanak Dev Engineering College,Ludhiana. On the first day of training , I got the task to make website and study apache server installation & configuration
Then firstly i searched about Apache and then install it by following procedure
1. Open up the Terminal ( Ctrl + Alt + T ).
2. Copy/Paste the following line of code into Terminal and then press enter:
sudo apt-get install apache2
3. The Terminal will then ask you for you’re password, type it and then press enter.
After complete the installation of Apache. To make sure everything installed correctly we will now test Apache to ensure it is working properly.
1. Open up any web browser and then enter the following into the web address:
You should see a folder entitled apache2-default/. Open it and you will see a message saying “It works!”
After installing used underneath commands to start, stop & restart apache server
1. First command
sudo /etc/init.d/apache2 start #start apache
2. Second command
sudo /etc/init.d/apache2 stop #stop apache
3. Third command
sudo /etc/init.d/apache2 restart #restart apache