Step by Step Install Apache Httpd Web Server on Fedora 11

 

Step by Step Install Apache Httpd Web Server on Fedora 11.

 

   The step by step below show how to install Apache Httpd web server on Fedora 11 system.  The example on how to install Apache Httpd web server on Fedora 11 below use Fedora 11 DVD as the installation source, you can skip the part that setup Fedora 11 DVD as installation source if your system have good internet connection and can download the Apache Httpd web server software package from the internet.  This step by step install Apache Httpd server can be very useful if you plant to install Apache Httpd web server using Fedora 11 DVD as the source of software package.

 

Install Apache Httpd on Fedora 11.

 

1.  Open Fedora 11 x terminal, (Applications -> System Tools -> Terminal)

GNOME Fedora 11 terminal

 

2.  Execute the su command as show on example below to and enter root user password to become as root user. 

 

[fedora11@fedora11 ~]$  su -

Password:   <-- key in root user password here and hit Enter key

[root@localhost ~]#

 

3.  To install Apache Httpd web server using Fedora 11 DVD, you must edit the Fedora11 yum configuration file so that yum will use the Fedora 11 DVD as software package installation source.  Make sure that you mount the Fedora 11 DVD on Fedora 11 system before you proceed to next step.

figure show mounted Fedora 11 DVD on Fedora 11 Gnome Desktop

mounted Fedora 11 DVD on Fedora 11 Gnome Desktop

 

4.  If you do not have internet connection to your Fedora 11 system, you must disable all other Fedora 11 software package repository... if you got good internet connection just proceed with step 5 

 

5.  Check if Apache Httpd web server already install on your Fedora 11 system use yum list install httpd command as show on example below...

Check Apache install on Fedora system

[root@fedora11 ~]# yum list installed *httpd*

Loaded plugins: refresh-packagekit

Installed Packages

httpd.i586                   2.2.11-8             installed

httpd-tools.i586             2.2.11-8             installed

[root@fedora11 ~]#

 

Note:- The output from yum command above show that Apache httpd web server already install on our Fedora 11 system (httpd.i586 and httpd-tools.i586)... so that we proceed to next step to check any available software packages related to the Apache httpd web server available or if your system do not have any of the Apache httpd web server installed ( you get Error: No matching Packages to list message from command above) just follow step below to install them. 

 

6.  List available Apache httpd web server package that comes with your Fedora 11 DVD, or if you connected to internet... the output from yum command below going to list available Apache web server software package for your Fedora 11 system.

List available apache httpd web server for installation

[root@fedora11 ~]# yum list *httpd*

Loaded plugins: refresh-packagekit

Installed Packages

httpd.i586                    2.2.11-8           installed

httpd-tools.i586              2.2.11-8           installed

Available Packages

httpd-manual.i586             2.2.11-8           fedora-dvd

system-config-httpd.noarch    5:1.4.4-4.fc11     fedora-dvd

[root@fedora11 ~]#

 

7.  You can use yum info httpd command if you want to get more information about Apache httpd web server package for Fedora 11 that already being install and you could use the same yum command to get information on system-config-httpd that show on example below... you can proceed with software package installation process on step 8 without executing the yum info command... note, the yum info command just for informational purpose only...

Apache web server package information

[root@fedora11 ~]# yum info httpd

Loaded plugins: refresh-packagekit

Installed Packages

Name       : httpd

Arch       : i586

Version    : 2.2.11

Release    : 8

Size       : 2.6 M

Repo       : installed

Summary    : Apache HTTP Server

URL        : http://httpd.apache.org/

License    : ASL 2.0

Description: The Apache HTTP Server is a powerful, efficient, and extensible web server.

 

[root@fedora11 ~]#

 

What is system-config-httpd?

Apache httpd web server configuration tools

[root@fedora11 ~]# yum info system-config-httpd

Loaded plugins: refresh-packagekit

fedora-dvd                          | 3.7 kB     00:00

fedora-dvd/primary_db               | 1.7 MB     00:00

Available Packages

Name       : system-config-httpd

Arch       : noarch

Epoch      : 5

Version    : 1.4.4

Release    : 4.fc11

Size       : 628 k

Repo       : fedora-dvd

Summary    : Apache configuration tool

URL        : http://www.redhat.com/

License    : GPLv2+

Description: system-config-httpd is a graphical user interface that allows the user to configure a httpd server.

 

[root@fedora11 ~]#

 

8.  Execute yum install command below to start install Apache Httpd web server on Fedora 11 system... please note that your Apache Httpd web server version may vary than show on the output from command example below, but not to worry because you may got the latest version of Apache Httpd web server that available for your Fedora 11 system.

Install Apache Httpd Web Server on Fedora 11

[root@fedora11 ~]# yum install *httpd*

Loaded plugins: refresh-packagekit

Setting up Install Process

Package httpd-2.2.11-8.i586 already installed and latest version

Package httpd-tools-2.2.11-8.i586 already installed and latest version

Resolving Dependencies

--> Running transaction check

---> Package httpd-manual.i586 0:2.2.11-8 set to be updated

---> Package system-config-httpd.noarch 5:1.4.4-4.fc11 set to be updated

--> Processing Dependency: alchemist for package: system-config-httpd

--> Processing Dependency: libxslt-python for package: system-config-httpd

--> Running transaction check

---> Package alchemist.i586 0:1.0.37-7.fc11 set to be updated

---> Package libxslt-python.i586 0:1.1.24-4.fc11 set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

============================================================================

 Package                 Arch       Version            Repository      Size

============================================================================

Installing:

 httpd-manual            i586       2.2.11-8           fedora-dvd     843 k

 system-config-httpd     noarch     5:1.4.4-4.fc11     fedora-dvd     628 k

Installing for dependencies:

 alchemist               i586       1.0.37-7.fc11      fedora-dvd     108 k

 libxslt-python          i586       1.1.24-4.fc11      fedora-dvd     145 k

 

Transaction Summary

============================================================================

Install      4 Package(s)

Update       0 Package(s)

Remove       0 Package(s)

 

Total download size: 1.7 M

Is this ok [y/N]: y   <-- type in 'y' to agree and hit Enter key

Downloading Packages:

----------------------------------------------------------------------------

Total                                       3.4 MB/s | 1.7 MB     00:00

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : httpd-manual                                         1/4

  Installing     : libxslt-python                                       2/4

  Installing     : alchemist                                            3/4

  Installing     : system-config-httpd                                  4/4

 

Installed:

  httpd-manual.i586 0:2.2.11-8   system-config-httpd.noarch 5:1.4.4-4.fc11

 

Dependency Installed:

  alchemist.i586 0:1.0.37-7.fc11     libxslt-python.i586 0:1.1.24-4.fc11

 

Complete!

[root@fedora11 ~]#

 

9.  Verify and list Apache Httpd web server successfully installed on your Fedora 11 by executing yum list *httpd* command as show on example below...

Apache Httpd web server successfully installed on your Fedora 11

[root@fedora11 ~]# yum list *httpd*

Loaded plugins: refresh-packagekit

Installed Packages

httpd.i586                     2.2.11-8           installed

httpd-manual.i586              2.2.11-8           installed

httpd-tools.i586               2.2.11-8           installed

system-config-httpd.noarch     5:1.4.4-4.fc11     installed

[root@fedora11 ~]#

 

10.  Now you can start configure Apache Httpd web server on Fedora 11 by edit and configuring httpd.conf that locate in the /etc/httpd/conf/ directory or you can configure Apache httpd web server by using system-config-httpd the graphical configuration tool that can be access by click on System menu -> Administration and click on Http menu.  The command example below show the location of Apache Httpd web server httpd.conf configuration file.

Apache httpd web server httpd.conf configuration file

[root@fedora11 ~]# cd /etc/httpd/conf/

httpd.conf  magic

[root@fedora11 ~]#

 

Keywords: install apache fedora 11, install httpd fedora 11, install web server fedora 11, install apache web server fedora 11, install httpd web server fedora 11   

 

2 comments

9
Nov

Thanks a lot

I was looking for a best article that helps me configure my web server and this helped and worked. Thanks for such informative article.

20
Mar

Nice Article

Thanks for your article, that helps me how to configure a web server

aaaaaaaaaaa