How to Install Apache Httpd Web Server on Linux

Apache Httpd is a common web server that was used in World Wide Web. It is the best open source web server that i ever used. To install this Apache on Linux, you can follow this simple steps.

    [root@server /]# yum install httpd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons:
     * base:
     * extras:
     * updates:
    addons                                                       |  951 B     00:00
    base                                                         | 2.1 kB     00:00
    extras                                                       | 2.1 kB     00:00
    kbs-CentOS-Extras                                            | 1.9 kB     00:00
    kbs-CentOS-Testing                                           | 1.9 kB     00:00
    updates                                                      | 1.9 kB     00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.i386 0:2.2.3-43.el5.centos.3 set to be updated
    --> Finished Dependency Resolution
    Dependencies Resolved
     Package        Arch          Version                        Repository        Size
     httpd          i386          2.2.3-43.el5.centos.3          updates          1.2 M
    Transaction Summary
    Install       1 Package(s)
    Upgrade       0 Package(s)
    Total download size: 1.2 M
    Is this ok [y/N]: y
    Downloading Packages:
    httpd-2.2.3-43.el5.centos.3.i386.rpm                         | 1.2 MB     00:22
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : httpd                                                        1/1
      httpd.i386 0:2.2.3-43.el5.centos.3
    [root@server /]# /etc/rc.d/init.d/httpd start
    Starting httpd:                                            [  OK  ]
    [root@server /]# chkconfig httpd on

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>