The installation steps are as follows:
First, whether the query has been installed, with the command Rpm-qa httpd, if you have installed the display has installed Apache software information, otherwise not displayed;
-
(note:-not less, the root environment variable is also passed over, is the real root );
Use the command yum install httpd-y to start the installation of the software, the last line after installation has complete information prompt;
Use the command again Rpm-qa httpd, if the installation is successful, there is Apache software information display;
-
start Apache, httpd start with command service, restart Apache with command, Service httpd restart;
-
note: Apache default profile path,/etc/httped/conf/httpd.conf, with the vi file name can open the file, open, command line input I, the document into an editable state, if the content is too much, you can use the/keyword (such as/ ServerName for document Search), after editing, press ESC to exit the edit state, by name: Wq can save and exit the document;
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/89/8D/wKioL1gXPcaT0P20AAAqJ-gaKgA883.jpg "title=" Installapache.jpg "alt=" Wkiol1gxpcat0p20aaaqj-gakga883.jpg "/>
This article is from the "12104979" blog, please be sure to keep this source http://12114979.blog.51cto.com/12104979/1867838
How to install Apache software under Linux