Install nginx php53 mysql55 lnmp environment in CentOS-5 yum

Source: Internet
Author: User

CentOS-5 yum install nginx php53 mysql55 lnmp environment for lnmp use, has provided the lnmp installation package, but if you want to quickly configure the environment, it is recommended that yum install. 1. Import external software library centos-5 32-bit: rpm-Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpmrpm-Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-10.ius.el5.noarch.rpmrpm-Uvh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpmcentos-5 64-bit: rpm-Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ep El-release-5-4.noarch.rpmrpm-Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-10.ius.el5.noarch.rpmrpm-Uvh license list = http://dmirr.iuscommunity.org/mirrorlist? Ius-el5 & arch = $ basearch
Delete the following line: # baseurl = http://dl.iuscommunity.org/pub/ius/stable/redhat/5/#basearch
2, yum install lnmpyum install mysql55-server mysql55 php53u-fpm nginx
3. Change lnmpvi/etc/nginx/conf. d/default. conf to location ~ \. Php $ {root html; fastcgi_pass 127.0.0.1: 9000; fastcgi_index index. php; SCRIPT_FILENAME/usr/share/nginx/html $ parameters; include fastcgi_params;} 4. start lnmpchkconfig php-fpm onchkconfig nginx onchkconfig mysqld onservice php-fpm startservice nginx startservice mysqld start
This article is from CentOS Linux tutorial network.

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.