PROCESS TO INSTALL APACHE
- Install Apache on a standard linux installation
- Serve a single site
- Serve multiple sites with virtual hosts
- Perform user authentication and access control
- Setup a secure site (https)
- Serve multiple sites with virtual hosts
- Control logging and status reporting
- Apache is in the CentOS repositories and is easy to install
- #yum install httpd
- The # prompt indicates that you need to do this as root
- A number of dependencies will also be installed
- #service httpd start
- #chkconfig httpd on
- This command ensures that the service will be started at boot time
- This command starts the service immediately
INSTALLING APACHE
- Apache is in the CentOS repositories and is easy to install
- #yum install httpd
- The # prompt indicates that you need to do this as root
- A number of dependencies will also be installed
STARTING THE SERVICE
- #service httpd start
- #chkconfig httpd on
- This command ensures that the service will be started at boot time
- This command starts the service immediately
Advertisements