1)使用web前端服务和后端存储服务进行串联. 2)主要实现处理PHP程序动态请求 ①.LNMP工作原理:Linux+Nginx+Mysql+PHP L Linux N nginx M mysql P php 部署搭建LNMP架构;(参考lnmp.org,网站一键安装脚本部署该环境) LNMP架构部 ...
分类:
其他好文 时间:
2018-12-16 11:10:57
阅读次数:
150
1.nginx依赖包: yum -y update yum -y install bzip2-devel curl-devel freetype-devel gcc libjpeg-devel libpng-devel libxslt-devel libxml2-devel openssl-deve ...
分类:
其他好文 时间:
2018-12-14 19:56:21
阅读次数:
133
当你将默认的访问路径改后(nginx.conf中的root 之后的路径),同时应该将/home/wwwroot/default/.user.ini 中的路径也改了! .user.ini 是隐藏文件,需要 ls -a 查看; 第一步:你先确定你的pathinfo路由开启了,配置如下: lnmp v1. ...
分类:
系统相关 时间:
2018-12-14 19:52:20
阅读次数:
259
#!/bin/bash #================================================================ # Copyright (C) 2018 All rights reserved. # # File::lnmp_install.sh # Au... ...
分类:
其他好文 时间:
2018-12-13 11:30:24
阅读次数:
151
1、简介 使用shell脚本安装lnmp,纯粹是偷懒,平时安装一些东西都写成脚本了,方便以后在其他机器安装的时候不用再去查找文档。 2、环境说明 阿里云ECS(1G1核)CentOS 7.4 64位 ...
分类:
系统相关 时间:
2018-12-13 11:27:58
阅读次数:
239
编译安装mysql下载:wget‘https://cdn.mysql.com//Downloads/MySQL-5.6/mysql-5.6.39.tar.gz‘安装依赖yuminstall-ywgetlrzszunzipgccgcc-c++maketaropensslopenssl-develcmakencursesncurses-devel编译:cmake-DCMAKE_INST
分类:
其他好文 时间:
2018-12-12 10:29:40
阅读次数:
267
一、安装版本详情 Server: MariaDB Server version: 5.5.60 MariaDB MariaDB Server [root@ln 125 ~] cat /etc/redhat release CentOS Linux release 7.6.1810 (Core) [r ...
分类:
其他好文 时间:
2018-12-09 10:45:19
阅读次数:
228
动静分离 文件的目录写成绝对路径 搭lnmp至少需要两个location过滤静态与动态,那么把root放在location外面,代表location共享(那么就比location大一级那么相当于每个location都可以共享这个root) 创建www目录 ./configure --prefix=/ ...
分类:
其他好文 时间:
2018-12-08 13:10:09
阅读次数:
191
#### 安装nginx ```[root@localhost ~]# tar xf nginx-1.10.2.tar.gz -C /usr/src/[root@localhost ~]# cd /usr/src/nginx-1.10.2/[root@localhost ~]# mount /dev ...
分类:
系统相关 时间:
2018-12-08 11:11:45
阅读次数:
248