rilpoint_mw113

Web Server

(Created page with '{| class="wikitable" |- ! header 1 ! header 2 ! header 3 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |}')
 
Line 1: Line 1:
-
{| class="wikitable"
+
                  == '''Web Server – Apache''' ==
-
|-
+
 
-
! header 1
+
 
-
! header 2
+
The Apache Web Server is a very popular choice for serving web pages.
-
! header 3
+
 
-
|-
+
If you intend to set up a web server in your BOSS machine, apache is one important module that you must install. In this tutorial, we will show you how to install and configure apache in BOSS.
-
| row 1, cell 1
+
 
-
| row 1, cell 2
+
'''Installing Apache:'''
-
| row 1, cell 3
+
 
-
|-
+
Getting apache onto your BOSS machine is easy. Using either the Synaptic Package Manager(System-->Administrator -->, Synaptic Package Manager) search and install the “apache2” module. Alternatively, you can open a terminal and type the following command:
-
| row 2, cell 1
+
 
-
| row 2, cell 2
+
 
-
| row 2, cell 3
+
            '''  sudo apt-get install apache2
-
|}
+
 
 +
Once the installation finished, open a browser and go to the URL '''“http://localhost“.'''
 +
 
 +
If you see the word '''“It Works!“''', then your installation of apache is successful
 +
 
 +
 
 +
 
 +
'''How to Start Apache :'''
 +
 +
After you have installed Apache, it will be added to the init.d list and will auto start whenever you boot up your computer. The following commands allow you to start, restart, stop Apache.
 +
 
 +
 
 +
      '''sudo /etc/init.d/apache2 start      #start apache'''
 +
        '''sudo /etc/init.d/apache2 stop      #stop apache'''
 +
        ''' sudo /etc/init.d/apache2 restart  #restart apache'''

Current revision as of 04:53, 18 July 2011