centos7-ECS-LNMP-就这一篇就够了!!

搭建LNMP环境(CentOS 6)

最终软件版本

nginx-1.10.2
php-5.6.28
mysql-5.7.19
参考文档 
http://blog.sina.com.cn/s/blog_6272e6b20102wlc4.html
https://yq.aliyun.com/articles/161062
https://yq.aliyun.com/articles/65213

目录规划

/var/www/html/
            phpMyAdmin      <-----------------phpMyAdmin
            your-project    <-----------------项目
            your-project2

/usr/local/
            mysql           <-----------------自编译软件
            nginx

/opt/
    soft                    <-----------------软件资料
    data/mysql              <-----------------数据库文件

基本流程我有几张阿里云幸运券分享给你,用券购买或者升级阿里云相应产品会有特惠惊喜哦!把想要买的产品的幸运券都领走吧!快下手,立刻就要抢光了。

啊啊啊

下载软件php

nginx
# wget http://nginx.org/download/nginx-1.10.2.tar.gz

使用云服务器 ECS 搭建LNMP平台的操做步骤以下:html

  • 准备编译环境
  • 安装nginx
  • 安装mysql
  • 安装php-fpm
  • 测试访问
相关文章
相关标签/搜索