apache tutorial - Install Apache:Linux Platform - apache - apache web server - apache server - apache2
On Red Hat or rpm based systems
- If you are using an rpm (RedHat Package Manager is a utility for installing application on Linux systems) based Linux distribution i.e. Red Hat, Fedora, CentOs,
- Suse, you can install this application by either vendor specific Package Manager or directly building the rpm file from the available source tarball.
- You can install Apache via the default Package Manager available on all Red Hat based distributions like CentOs, Red Hat and Fedora.
The apache source tarball could be converted into an rpm file using the following command.
It is mandatory to have -devel package installed on your server for creating .rpm file from source. Once you convert the source file into an rpm installer, you could use the following command to install Apache.
- After the installation the server does not start automatically, in order to start the service, you have to use any of the following command on Fedora, CentOs or Red Hat.