Sie sind auf Seite 1von 3

Step by Step Install Apache Httpd Web Server on Fedora 11 | Linux Wind... file:///E:/New Folder (2)/step_by_step_install_apache_httpd_web_serve...

Install Apache Httpd on Fedora 11.


1. Open Fedora 11 x terminal, (Applications -> System Tools -> 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

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...

[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.

[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...

[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

1 of 3 11/2/2010 6:50 AM
Step by Step Install Apache Httpd Web Server on Fedora 11 | Linux Wind... file:///E:/New Folder (2)/step_by_step_install_apache_httpd_web_serve...

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?

[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.

[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
============================================================================

2 of 3 11/2/2010 6:50 AM
Step by Step Install Apache Httpd Web Server on Fedora 11 | Linux Wind... file:///E:/New Folder (2)/step_by_step_install_apache_httpd_web_serve...

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...

[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.

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


httpd.conf magic
[root@fedora11 ~]#

3 of 3 11/2/2010 6:50 AM

Das könnte Ihnen auch gefallen