Check to see if httpd is already installed in the system.
#rpm-qa httpd
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/84/15/wKioL1eFE9nAk10HAAAMVmbcpso272.png "title=" 1.png " alt= "Wkiol1efe9nak10haaamvmbcpso272.png"/> shows that the version of httpd-2.2 has been installed
If the system is not installed, you can configure the Yum source and install it.
#yum-y Install httpd
After the installation is complete, you can view the specific directory
#rpm-QL httpd
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/84/15/wKioL1eFFVCC2RkdAAA_ixWxjgY859.png "title=" 2.png " alt= "Wkiol1effvcc2rkdaaa_ixwxjgy859.png"/>
Then start the service
#service httpd Start
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/15/wKioL1eFFfOSA6TbAAALVweOkoU380.png "title=" 3.png " alt= "Wkiol1efffosa6tbaaalvweokou380.png"/>
5. View the process status of HTTPD
#ps aux | grep httpd
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/15/wKioL1eFFuuhh6X8AABgPZYfbtE709.png "title=" 4.png " alt= "Wkiol1effuuhh6x8aabgpzyfbte709.png"/>
6. After successful startup, open the browser input corresponding IP address display the following interface to install success
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/15/wKioL1eFGQuga3mBAAAvaOH-xOU139.png "title=" 5.png " alt= "Wkiol1efgquga3mbaaavaoh-xou139.png"/>
This article is from the "Onion" blog, please make sure to keep this source http://guanbo.blog.51cto.com/896623/1825903
HTTPD Basic Installation