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
Install Apache

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:

http://localhost/

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

Advertisements

About Talwinder

Believe in god and hardwork

Posted on June 3, 2013, in Daily Diary. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: