上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 不带www跳转www 1.301: return 301 http://www.xx.com$request_uri; 2.(1)rewrite ^(.*)$ http://www.xx.com$1 premanent; (2)rewrite ^/(.*)$ http://www.xx.com/$1 阅读全文
posted @ 2018-09-22 18:17 曉瞑燃嚻 阅读(207) 评论(0) 推荐(0) 编辑
摘要: lnmp一键安装环境添加redis扩展 Redis-benchmark 压力测试工具Redis-check-aof 检查redis持久化命令文件的完整性Redis-check-dump 检查redis持久化数据文件的完整性Redis-cli redis在linux上的客户端Redis-sentine 阅读全文
posted @ 2018-09-19 15:46 曉瞑燃嚻 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 lnmp1.4 一键安装包 nginx配置thinkphp5 环境:Nginx1.12.1 PHP5.6 Coentos6.8 修改网站配置文件 server { listen 443 ssl http2; #listen [::]:443 ssl http2; server_name 阅读全文
posted @ 2018-09-18 19:39 曉瞑燃嚻 阅读(185) 评论(0) 推荐(0) 编辑
摘要: nginx access_log日志简介 log_format 日志格式 1、语法:log_format name(格式名字) 格式样式(即想要得到什么样的日志内容)示例: log_format main'$remote_addr - $remote_user [$time_local] "$req 阅读全文
posted @ 2018-09-14 18:21 曉瞑燃嚻 阅读(390) 评论(0) 推荐(0) 编辑
摘要: yum安装时 后面加 --nogpgcheck 阿里云源文件:http://mirrors.aliyun.com/repo/Centos-7.repo epel repo源:http://mirrors.aliyun.com/repo/epel-7.repo yum update 错误提示 Erro 阅读全文
posted @ 2018-09-12 12:49 曉瞑燃嚻 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 一、Redis介绍 Redis是当前比较热门的NOSQL系统之一,它是一个key-value存储系统。和Memcache类似,但很大程度补偿了Memcache的不足,它支持存储的value类型相对更多,包括string、list、set、zset和hash。这些数据类型都支持push/ 阅读全文
posted @ 2018-09-06 19:40 曉瞑燃嚻 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 其中最主要的问题是:details: (open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory) 解决方案: 查看/etc/docker/certs.d/r 阅读全文
posted @ 2018-09-04 19:38 曉瞑燃嚻 阅读(3785) 评论(0) 推荐(0) 编辑
摘要: vipw : root@ www.linuxidc.com :/home# vipw 找到你之前创建的用户,用dd删除那行(记得保存:wq or :x)。。之后。 root@ www.linuxidc.com :/home# vipw -s 找到那个用户所属组,也dd干掉即可(记得保存:wq or 阅读全文
posted @ 2018-09-03 15:48 曉瞑燃嚻 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1.清除不必要的系统帐户 [root@deep]# userdel adm [root@deep]# userdel lp [root@deep]# userdel sync [root@deep]# userdel shutdown [root@deep]# userdel halt [root@ 阅读全文
posted @ 2018-08-30 16:18 曉瞑燃嚻 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 1. 首先删除redhat原有的yum rpm -aq | grep yum | xargs rpm -e --nodeps rpm -aq | grep yum | xargs rpm -e --nodeps rpm -aq | grep python-iniparse | xargs rpm - 阅读全文
posted @ 2018-08-27 18:46 曉瞑燃嚻 阅读(888) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页