Linux(CentOS7X_64) + Openresty/Nginx + Mysql + PHP + Redis + FastDFS一键安装包.
经过实践检验,源码编译安装LNMP大型集群环境。
项目主要应用于: TinyPHP for Frameworks 的运行环境。
地址: https://github.com/tinyphporg/tinyphp.git
- 安装方式: 源码编译, 适合开发/生产环境的早期架构预研和部署。
- 系统: CentOS 7.x x64 minimal。
- 基础硬件要求:
- CPU: 4核,
- 内存:16G,
- 硬盘:128G以上SSD/HDD。
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh
- openresty(nginx+lua) 1.19.3.2 Nginx+lua
- mysql 8.0.27 关系型数据库
- php 7.3.33 PHP
- php 7.4.26 PHP
- php 8.1.0 PHP
- redis
- mongo
- memcache
- redis 6.2.6 NOSQL
- memcached 1.6.12 内存NOSQL
- fastdfs 6.07 分布式文件存储
- lsyncd 文件实时同步
- node.js 16.0.1
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c openresty mysql php redis memecached fastdfs lsyncd node
openresty/nginx 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c openresty -o fdfs proxy
#-o fdfs 安装fastdfs模块 upload模块
#-o proxy 安装https的正向代理模块 proxy_connect
mysql 8 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c mysql
php 7.3/7.4/8.1 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c php
nginx/openresty 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c openresty
redis 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c redis
memcached 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c memcached
node.js 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c node
lsync 文件实时同步 一键安装
git clone https://github.com/tinyphporg/lnmp-utils.git
cd lnmp-utils
./install.sh -c lsyncd