0
Contents of apache <ul><li>Introduction </li></ul><ul><li>Install and configure </li></ul><ul><li>uninstall </li></ul>
Introduction to apache <ul><li>Apache is a public domain Web server developed by a loosely knit group of programmers. </li...
Install <ul><li>Apache is one of the most popular Web servers. </li></ul><ul><li>Let us discuss how to install Apache on a...
Download apache <ul><li>Download Apache: </li></ul><ul><li>I recommend downloading the latest stable release. At the time ...
Extract files <ul><li>Second step is,extract files </li></ul><ul><li>Extract the Files: </li></ul><ul><li>Once you've down...
configure <ul><li>Configuring: </li></ul><ul><li>Once you've got the files, you need to tell your machine where to find ev...
Modules  <ul><li>Some of the modules are: </li></ul><ul><li>* mod_alias - to map different parts of the URL tree </li></ul...
Build and customize <ul><li>Build: </li></ul><ul><li>As with any source installation, you'll then need to build the instal...
To edit configure <ul><li>Follow the instructions in this file to edit your configuration. </li></ul><ul><li>Test your ser...
Two instructions <ul><li>Test Your Server: </li></ul><ul><li>Open a Web browser on the same machine and type http://localh...
uninstall <ul><li>The Apache HTTP (Web) Server runs as a service on Unix, Linux and Windows operating systems. If you want...
Instructions to uninstal <ul><li>Linux -- Installed With RPM Package </li></ul><ul><li>Step1: </li></ul><ul><li>Open a Ter...
<ul><li>Step4: </li></ul><ul><li>Type &quot;rpm -e apache-<version>&quot; to remove the Apache software. Replace <version>...
Upcoming SlideShare
Loading in...5
×

Diva23

481

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
481
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Diva23"

  1. 1. Contents of apache <ul><li>Introduction </li></ul><ul><li>Install and configure </li></ul><ul><li>uninstall </li></ul>
  2. 2. Introduction to apache <ul><li>Apache is a public domain Web server developed by a loosely knit group of programmers. </li></ul><ul><li>As a result of its sophisticated features, excellent performance, and low price - free, Apache has become the world's most popular Web server. </li></ul><ul><li>Apache is run on over 25 million Internet servers (as of December 2006). It has been tested thoroughly by both developers and users </li></ul>
  3. 3. Install <ul><li>Apache is one of the most popular Web servers. </li></ul><ul><li>Let us discuss how to install Apache on a Linux system. Before we start you should be at least comfortable working in Linux - changing directories, using tar and gunzip, and compiling with make (I'll discuss where to get binaries if you don't want to mess with compiling your own). You should also have access to the root account on the server machine. </li></ul>
  4. 4. Download apache <ul><li>Download Apache: </li></ul><ul><li>I recommend downloading the latest stable release. At the time of this writing, that was Apache 2.0. The best place to get Apache is from the Apache HTTP Server download site. Download the sources appropriate to your system. Binary releases are available as well. </li></ul>
  5. 5. Extract files <ul><li>Second step is,extract files </li></ul><ul><li>Extract the Files: </li></ul><ul><li>Once you've downloaded the files you need to uncompress them and untarring: </li></ul><ul><li>gunzip -d httpd-2_0_NN.tar.gz </li></ul><ul><li>tar xvf httpd-2_0_NN.tar </li></ul><ul><li>This creates a new directory under the current directory with the source files. </li></ul>
  6. 6. configure <ul><li>Configuring: </li></ul><ul><li>Once you've got the files, you need to tell your machine where to find everything by configuring the source files. The easiest way is to accept all the defaults and just type: </li></ul><ul><li>./configure </li></ul><ul><li>The most important option is the prefix= option. This specifies the directory where the Apache files will be installed. </li></ul>
  7. 7. Modules <ul><li>Some of the modules are: </li></ul><ul><li>* mod_alias - to map different parts of the URL tree </li></ul><ul><li>* mod_include - to parse Server Side Includes </li></ul><ul><li>* mod_mime - to associate file extensions with its MIME-type </li></ul><ul><li>* mod_rewrite - to rewrite URLs on the fly </li></ul><ul><li>* mod_speling (sic) - to help your readers who might misspell URLs </li></ul><ul><li>* mod_ssl - to allow for strong cryptography using SSL </li></ul><ul><li>* mod_userdir - to allow system users to have their own Web page directories </li></ul>
  8. 8. Build and customize <ul><li>Build: </li></ul><ul><li>As with any source installation, you'll then need to build the installation: </li></ul><ul><li>make </li></ul><ul><li>make install </li></ul><ul><li>Customize: </li></ul><ul><li>Assuming that there were no problems, you are ready to customize your Apache configuration. This really just amounts to editing the httpd.conf file. This file is located in the PREFIX/conf directory. I generally edit it with vi: </li></ul><ul><li>vi PREFIX/conf/httpd.conf </li></ul>
  9. 9. To edit configure <ul><li>Follow the instructions in this file to edit your configuration. </li></ul><ul><li>Test your server </li></ul><ul><li>Start editing/uploading pages </li></ul>
  10. 10. Two instructions <ul><li>Test Your Server: </li></ul><ul><li>Open a Web browser on the same machine and type http://localhost/ in the address box. You should see a page similar to the one in the partial screen shot above. Specifically, it will say in big letters &quot;Seeing this instead of the website you expected?&quot; This is good news, as it means your server installed correctly. </li></ul><ul><li>S tart Editing/Uploading Pages: </li></ul><ul><li>Once your server is up and running you can start posting pages. Have fun building your Web site. </li></ul>
  11. 11. uninstall <ul><li>The Apache HTTP (Web) Server runs as a service on Unix, Linux and Windows operating systems. If you want to stop outside users from accessing your web server, you can simply stop the service. However, there are times when you want to completely remove the software--if you are freeing up space on a server with Apache installed but not used, if you were just testing the software, or if you want to reinstall the same version. There are different methods for uninstalling the software depending on the Operating System or method of installation. </li></ul>
  12. 12. Instructions to uninstal <ul><li>Linux -- Installed With RPM Package </li></ul><ul><li>Step1: </li></ul><ul><li>Open a Terminal Window. The terminal window will be found in the operating system's main &quot;Application&quot; menu, under either &quot;System Tools&quot; or &quot;Utilities.&quot; You will be presented with a command prompt where you will type the following commands. </li></ul><ul><li>Step2: </li></ul><ul><li>Type the command &quot;su&quot; to switch to the root user. </li></ul><ul><li>Step3: </li></ul><ul><li>Type the command &quot;/etc/init.d/httpd stop&quot; to stop the Apache service. </li></ul><ul><li>Step4: </li></ul><ul><li>Type &quot;rpm -e apache-<version>&quot; to remove the Apache software. Replace <version> with the version number of the Apache installation. </li></ul><ul><li>Step5: </li></ul><ul><li>Type &quot;exit&quot; to exit from the root session. </li></ul>
  13. 13. <ul><li>Step4: </li></ul><ul><li>Type &quot;rpm -e apache-<version>&quot; to remove the Apache software. Replace <version> with the version number of the Apache installation. </li></ul><ul><li>Step5: </li></ul><ul><li>Type &quot;exit&quot; to exit from the root session. </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×