Yum installation linux+apache+mysql+php

Source: Internet
Author: User

Yum installation linux+apache+mysql+php

Configuring the Yum Source

wget -o/etc/Yumrepos.d/centos-base.repo http://mirrors.aliyun.com/repo/ Centos-7.repoYuminstall epel--uvh https://mirror.webtatic.com/yum/ el7/epel-release.rpm-uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 

Installing LAMP5

Yum Install -y httpd httpd-devel mariadb mariadb-server mysql-devel php php-mysql php-common php-gd php-mbstring php- MCrypt Php-devel Php-xml

Systemctl Restart Httpdsystemctl Restart MARIADB

Installing LAMP7

Yum Install -y httpd httpd-devel mariadb mariadb-server mysql-devel php70w php70w-intl php70w-mysql php70w-common ph P70W-GD php70w-mbstring php70w-mcrypt php70w-devel php70w-xml

Systemctl Restart Httpdsystemctl Restart MARIADB

Yum installation linux+apache+mysql+php

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.