上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 原因:修改系统时间后,未重启rsyslog service rsyslog restart service crond restart #檢查 Mar 19 23:31:18 mysql-import crond[32047]: (CRON) INFO (Shutting down)Mar 19 2 阅读全文
posted @ 2019-03-20 11:35 Hello_worlds 阅读(1908) 评论(0) 推荐(0) 编辑
摘要: 1。历史命令 # 当前用户不记录历史命令 echo "HISTSIZE=0" >> ~/.bash_profile # 情况记录的历史命令 > ~/.bash_history # 推出重新打开测试 2。防火墙关闭 systemctl stop firewalld.service#停止防火墙 syst 阅读全文
posted @ 2018-12-04 21:12 Hello_worlds 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 应用场景:项目做迁移,除了前段的nginx服务器要用外网,其他的机器都内网; 实现方法有三种: 1。nginx正向代理{不知道有啥优点,缺点是不支持https} 2。squid正向代理{比nginx好点,http和https都支持;缺点是不支持ping 域名这种形式(后端项目访问外网的时候各种超时) 阅读全文
posted @ 2018-12-04 20:28 Hello_worlds 阅读(4930) 评论(0) 推荐(0) 编辑
摘要: 问题描述: zookepper服务是起在开发服务器192.168.23.180上。本机起应用服务提供者注册到192.168.23.180上的dubbo服务可以注册成功,用dubbo-admin看也是本机的IP:10.1.24.20。本机起的客户端程序也可以正常调用。但是服务提供者发布到192.168 阅读全文
posted @ 2018-12-04 17:24 Hello_worlds 阅读(1219) 评论(2) 推荐(1) 编辑
摘要: #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 阅读(174) 评论(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 阅读(3246) 评论(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 ··· 6 7 8 9 10 11 下一页