Centos 6.5 yum install httpd service, centoshttpd

Source: Internet
Author: User

Centos 6.5 yum install httpd service, centoshttpd

1. the httpd service can be directly installed on the default yum source of Centos 6.5.

1 [root @ httpd ~] # Ll/etc/yum. repos. d/2 total 243-rw-r --. 1 root 1926 Nov 27 2013 CentOS-Base.repo4-rw-r --. 1 root 638 Nov 27 2013 CentOS-Debuginfo.repo5-rw-r --. 1 root 630 Nov 27 2013 CentOS-Media.repo6-rw-r --. 1 root 3664 Nov 27 2013 CentOS-Vault.repo7-rw-r --. 1 root 957 Nov 4 2012 epel. repo8-rw-r --. 1 root 1056 Nov 4 2012 epel-testing.repo9 [root @ httpd ~] #
View Code

The CentOS-Base.repo is the default yum source for CentOS

2. Install the httpd service

Yum install httpd-y (-y indicates automatic installation without user input)

3. Start the httpd service

Service httpd start

Or

/Etc/init. d/httpd start

 

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.