###在kubernetes中搭建LNMP环境,并安装Discuzx本实验,需要已经搭建好kubernetes集群和harbor服务。首先克隆本项目:gitclonehttps://github.com/donxan/k8s_lnmp_discuzx.git####下载镜像dockerpullmysql:5.7dockerpullricharvey/nginx-php-fpm####用docker
分类:
Web程序 时间:
2019-01-21 01:09:00
阅读次数:
324
对于高版本PHP, 例如PHP 5.6, 重启PHP命令: 如果提示权限不足, 请使用: 1 sudo service php-fpm restart 1 sudo service php-fpm restart 1 sudo service php-fpm restart 1 sudo servi ...
分类:
Web程序 时间:
2019-01-19 15:19:45
阅读次数:
146
nginx报错提示: *963623 recv() failed (104: Connection reset by peer) while reading response header from upstream .. php-fpm.log报错提示: WARNING: [pool www] c ...
分类:
Web程序 时间:
2019-01-18 14:22:28
阅读次数:
521
[root@web01 ~]# systemctl start php-fpm Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-f ...
分类:
Web程序 时间:
2019-01-14 20:23:12
阅读次数:
1016
经典互联网架构 netstat -tulnp |grep 80ss -tulnp|grep 80 前期铺垫: 1. Linux要能上网2. 掌握Linux软件包安装方法2.1 rpm包管理 2.1.1 光盘挂载 mount /dev/cdrom /mnt cd /mnt ls2.1.2 安装rpm包 ...
分类:
系统相关 时间:
2019-01-14 00:22:02
阅读次数:
229
Zabbix监控平台(三)生产环境案例 一,Zabbix生产环境监测案例概述 1.1 项目规划 1.2 SNMP监控流程 1.3 IPMI 1.4 JMX(使用Zabbix Java Gateway代理) 1.5 实战监控Nginx,Apache,MySQL,PHP-fpm 1.6 Zabbix的W ...
分类:
其他好文 时间:
2019-01-13 11:01:38
阅读次数:
155
Mysql 1、检查安装: 因为mysql数据库在Linux上实在是太流行了,所以目前下载的主流Linux系统版本基本上都集成了mysql数据库在里面,我们可以通过如下命令来查看我们的操作系统上是否已经安装了mysql数据库 [root@lml ~]# rpm -qa | grep mysql // ...
分类:
数据库 时间:
2019-01-11 11:35:52
阅读次数:
226
nginx和php fpm对于 USR2 、 HUP 信号的处理方式不一样: TERM, INT(快速退出,当前的请求不执行完成就退出) QUIT (优雅退出,执行完当前的请求后退出) HUP (重新加载配置文件,用新的配置文件启动新worker进程,并优雅的关闭旧的worker进程, 用于ngin ...
分类:
Web程序 时间:
2019-01-08 21:13:53
阅读次数:
189
一、简介 LAMP:linux+apache+mysql(这里用mariadb)+php(perl,python) LAMMP:memcached缓存的 CGI:Common Gateway Interface通用网关接口,说白了就是个简化的httpd协议 httpd+php有三种模式 module ...
分类:
Web程序 时间:
2019-01-08 19:29:36
阅读次数:
258
过程: 安装php fpm和nginx,且经验证二者在其他项目可以正常使用。 从debian8拷贝过来_h5ai的nginx配置如下: 由于centos7服务器上没有 这个文件,所以把这行改成了 ,即: 但是_h5ai并不能用,症状: 打开172.19.240.132:12345,只有空白页面,不显 ...
分类:
其他好文 时间:
2019-01-07 10:33:00
阅读次数:
514