How to install Apache software under Linux

Source: Internet
Author: User

The installation steps are as follows:

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

  2. (note:-not less, the root environment variable is also passed over, is the real root );

  3. Use the command yum install httpd-y to start the installation of the software, the last line after installation has complete information prompt;

  4. Use the command again Rpm-qa httpd, if the installation is successful, there is Apache software information display;

  5. start Apache, httpd start with command service, restart Apache with command, Service httpd restart; 

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.