上一页 1 ··· 8 9 10 11 12
摘要: #user www www; worker_processes auto; # 指定 Nginx 要开启的进程数,结尾的数字就是进程的个数,可以为 auto 这个参数调整的是 Nginx 服务的 worker 进程数,Nginx 有 Master 进程和 worker 进程之分,Master 为管理 阅读全文
posted @ 2018-11-21 15:14 Hello_worlds 阅读(317) 评论(0) 推荐(0) 编辑
摘要: ################实操######################### 先将表备份 mongoexport -h ip:port -d 库名-c 表名 -o /tmp/bak1# 登陆mongo删除要恢复的表# 恢复数据mongoimport -h ip:port -d 库名 -c 阅读全文
posted @ 2018-11-21 15:09 Hello_worlds 阅读(175) 评论(0) 推荐(0) 编辑
摘要: # 查看用户拥有的权限select * from mysql.user where user='syj'\G # 授权的必要条件:需要登录root用户进行授权 # # 授权syj所有的权限,但是只能在本地登录数据库操作 grant all privileges on *.* to 'syj'@'lo 阅读全文
posted @ 2018-11-15 17:48 Hello_worlds 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.1 演示环境 cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) CentOS Linux release 7.4.1708 (Core) # server端ip及需求 安装squid;可以上外网;{内网+外网ip} 安装sq 阅读全文
posted @ 2018-11-09 15:32 Hello_worlds 阅读(3254) 评论(0) 推荐(0) 编辑
摘要: 1.1 软件安装 # 系统环境 [root@node1 db]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) # 创建软件目录 mkdir /server/tools -p cd /server/tools # 下载安装包 阅读全文
posted @ 2018-10-29 18:26 Hello_worlds 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1、开启cd /home/redis/bin/./redis-server redis.conf2、关闭 cd /home/redis/bin/./redis-cli -a password -h 127.0.0.1 -p port shutdown 3、重启 cd /home/redis/bin/ 阅读全文
posted @ 2018-08-25 11:14 Hello_worlds 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : 阅读全文
posted @ 2018-08-11 14:43 Hello_worlds 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1.1 Python2与python3的区别 1.1.1 区别1—源码 Python2:源码重复,不规范 Python3:整合源码、更清晰优美简单 1.1.2 区别3—数据类型 1.1.3 区别4 Python2中:input() 只能输入数字类型 Python3中:input 1.2 语言的划分 阅读全文
posted @ 2018-04-05 23:32 Hello_worlds 阅读(267) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12