Install LNMP from Yum source in CentOS6

Source: Internet
Author: User
Compiling and installing LNMP is too cumbersome and difficult to deploy and manage. it is most convenient to install LNMP through the system source. the Centos official source package is relatively small. you need to install the EPEL source first. Install MysQL: 1234yuminstallmysql-server/etc/init. d/mysqldstartchkconfigmys

Compiling and installing LNMP is too cumbersome and difficult to deploy and manage. it is most convenient to install LNMP through the system source. the Centos official source package is relatively small. you need to install the EPEL source first.
Install MysQL:

1234
yum install mysql-server/etc/init.d/mysqld startchkconfig mysqld on/usr/bin/mysqladmin -u root password 'newpasswd'

Install PHP:
123
yum install php-fpm php-cli/etc/init.d/php-fpm startchkconfig php-fpm on

Install Nginx:
123
yum install nginx/etc/init.d/nginx startchkconfig nginx on

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.