Yum installation lamp for CentOS

Source: Internet
Author: User

Step1. Configuring the source of NetEase

Find the CentOS help information in mirrors.163.com, complete the source update configuration, 1, Figure 2, Figure 3.

Figure 1

Figure 2

Figure 3

Step2. Then install the Php+mysql+apache+linux library component, 4

yum-y install httpd php mysql mysql-server php-mysql

Figure 4

STEP3. Installing Apache extension components, 5

Yum-y Install httpd-manual mod_ssl mod_perl mod_auth_mysql

Figure 5

Step4. Installing PHP extensions, 6

Yum-y Install PHP-GD php-xml php-mbstring php-ldap php-pear php-xmlrpc

Figure 6

Step5. Starting the Apache service, 7

Figure 7

Step6. Shutting down the firewall, 8

Figure 8

Step7. Write two pages. HTML and. php,9

Figure 9

Step8. Accessing both pages via the same computer browser, 10

Figure 10

Yum installation lamp for CentOS

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.