上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: systemctl enable nginx reboot 阅读全文
posted @ 2019-01-25 17:26 吕涵之 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Centos7 部署知乎出现上图问题 解决方法: [root@web02 ~]# vim /etc/php.ini #修改配置文件 session.auto_start = 0 #这条设置成0 [root@web02 ~]# systemctl restart php-fpm.service #重启 阅读全文
posted @ 2019-01-22 16:19 吕涵之 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: 原因:使用负载均衡的时候,第一次请求phpMyAdmin主页的时候web01进行处理,页面返回的cookie存放在web01上.填写用户名密码提交之后,是web02进行处理的,此时给页面的cookie不是web01上的cookie,所以会报错 解决方法:将cookie都放到单独的数据库redis中 阅读全文
posted @ 2019-01-19 13:42 吕涵之 阅读(8147) 评论(0) 推荐(0) 编辑
摘要: 原因:[root@nfs nfs]# systemctl start nfs-utils 解决方法:[root@nfs nfs]# systemctl start nfs 阅读全文
posted @ 2019-01-17 20:13 吕涵之 阅读(1934) 评论(0) 推荐(0) 编辑
摘要: centos7 lnmp部署知乎上传主体报错 2019/01/17 18:55:27 [error] 2230#2230: *89 open() "/code/wordpress/favicon.ico" failed (2: No such file or directory), client: 阅读全文
posted @ 2019-01-17 19:02 吕涵之 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 查看错误日志: [root@web01 /]# tailf /var/log/nginx/error.log 2019/01/16 19:02:06 [error] 10023#10023: *8 open() "/code/zh/WeCenter_3-2-1/favicon.ico" failed 阅读全文
posted @ 2019-01-16 19:19 吕涵之 阅读(655) 评论(0) 推荐(0) 编辑
摘要: Centos7 rsync守护进程上传文件失败 [root@nfs ~]# rsync -avz /etc rsync_backup@172.16.1.41::backupsending incremental file listrsync: read error: Connection reset 阅读全文
posted @ 2019-01-16 15:01 吕涵之 阅读(4239) 评论(2) 推荐(0) 编辑
摘要: centos7.5 原因:权限问题 解决方法:授权 [root@web01 code]# groupadd -g666 www [root@web01 code]# useradd -u666 -g666 www [root@web01 code]# cd /var/lib/php[root@web 阅读全文
posted @ 2019-01-15 16:54 吕涵之 阅读(164) 评论(0) 推荐(0) 编辑
摘要: centos7.5 查看邮件的方式: [root@web01 code]# yum -y install mailx #安装mailx [root@web01 code]# mail #执行mail命令,显示如下Heirloom Mail version 12.5 7/5/10. Type ? fo 阅读全文
posted @ 2019-01-15 16:35 吕涵之 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 没有安装gcc 在安装nginx之前先安装依赖软件 yum install -y gcc gcc-c++ autoconf pcre pcre-devel make automake wget httpd-tools vim tree 阅读全文
posted @ 2019-01-14 20:21 吕涵之 阅读(7544) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页