G
N
I
D
A
O
L
W
e
l
c
o
m
e
: )
摘要: docker-compose中yml文件文章作者: csdn[常名先生] https://blog.csdn.net/jiangbenchu/article/details/102495531 Compose和Docker兼容性: Compose 文件格式有3个版本,分别为1, 2.x 和 3.x 阅读全文
posted @ 2020-03-14 00:15 狸猫大侠 阅读(2429) 评论(0) 推荐(0)
摘要: #错误说明:由于/etc/fstab文件中指定自动挂载的文件书写错误导致开启进入"紧急模式"[rooto localhost ]# cat /etc/fstab## /etc/fstab # Created by anaconda on Thu Mar 12 22:27:52 2020# Acces 阅读全文
posted @ 2020-03-13 20:48 狸猫大侠 阅读(245) 评论(0) 推荐(0)
摘要: redis命令一(key) 1、del key 删除key2、dump key 序列化给定的key,并返回被序列化的值3、expire key 为指定的key设置过期时间(单位/秒)4、exists key 检测有无指定的key5、expireat key timestamp 设置过期时间,与上面不 阅读全文
posted @ 2019-11-11 17:30 狸猫大侠 阅读(362) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-11 17:26 狸猫大侠 阅读(1) 评论(0) 推荐(0)
摘要: .vimrc参数配置  vim config file  date 2019-10-06  created by oldboy  www.pyhtone.net #全局配置 set nocompatible #关闭兼容模式 set history=100 #设定历史记录数 filetype 阅读全文
posted @ 2019-10-06 23:17 狸猫大侠 阅读(198) 评论(0) 推荐(0)
摘要: nginx服务常用的变量 nginx日志变量$remote_addr#记录访问网站的客户端地址 $http_x_forwarded_for#当前端有代理服务器是,设置web节点记录客户端IP地址,前提是代理端也需要配置这个参数 $remote_user#远程客户端用户名称 $time_local#记 阅读全文
posted @ 2019-10-05 16:02 狸猫大侠 阅读(595) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-10-02 22:44 狸猫大侠 阅读(1) 评论(0) 推荐(0)
摘要: user www www; #指定nginx用户 worker_processes 8; #nginx可以创建的工作进程 worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 100000 阅读全文
posted @ 2019-10-02 22:43 狸猫大侠 阅读(88) 评论(0) 推荐(0)
摘要: nginx服务常用的变量 nginx日志变量 说明 $remote_addr 记录访问网站的客户端地址 $http_x_forwarded_for 当前端有代理服务器是,设置web节点记录客户端IP地址,前提是代理端也需要配置这个参数 $remote_user 远程客户端用户名称 $time_loc 阅读全文
posted @ 2019-10-02 16:46 狸猫大侠 阅读(240) 评论(0) 推荐(0)
摘要: MySQL如果删除了所有用户怎么办? 前提: 1、 判断数据库有没有关闭 2、 判断数据库又没有主从 操作流程: 1、 先关闭数据库 2、 以不验证的方式登陆(无需密码) 3、 进入数据库中在mysql库中授权一个用户 4、 或者向mysql中的user表中插入数据 操作如下: [root@loca 阅读全文
posted @ 2019-10-01 23:31 狸猫大侠 阅读(504) 评论(0) 推荐(0)