Install nginxphp53mysql55lnmp environment on CentOS-5yum

Source: Internet
Author: User
CentOS-5yum installation nginxphp53mysql55lnmp environment for the use of lnmp, www. centos. bz has provided the lnmp installation package, but if you want to quickly configure the environment, it is recommended to install yum. 1. import external software library centos-532 bit: rpm-Uvh http://dl.iusc .. 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.iusc Ommunity.org/pub/ius/stable/redhat/5/ I #/epel-release-5-4.noarch.rpmrpm-Uvh http://dl.iusc Expires-Uvh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm Centos-5 64-bit: rpm-Uvh http://dl.iusc Expires-Uvh http://dl.iusc Expires-Uvh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm Edit/etc/yum. repos. d/ius. repo and comment out the following lines: reset list = http://dmirr.iuscommunity.org/mirrorlist?repo=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.