会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大军军军之技术落地
责人之心责己、恕己之心恕人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
下一页
2019年11月1日
firewalld 端口转发
摘要: 查看一个masquerade状态,查询命令如下: firewall-cmd --query-masquerade 假如查到结果为no那么就启动它(加--permanent是永久) firewall-cmd --add-masquerade --permanent 现在准备工作好了,假如我们要把当前D
阅读全文
posted @ 2019-11-01 01:07 Hello_worlds
阅读(3080)
评论(0)
推荐(0)
2019年3月20日
crontab 执行时间与系统时间不一致
摘要: 原因:修改系统时间后,未重启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
阅读(2027)
评论(0)
推荐(0)
2018年12月4日
Centos7的安全防范
摘要: 1。历史命令 # 当前用户不记录历史命令 echo "HISTSIZE=0" >> ~/.bash_profile # 情况记录的历史命令 > ~/.bash_history # 推出重新打开测试 2。防火墙关闭 systemctl stop firewalld.service#停止防火墙 syst
阅读全文
posted @ 2018-12-04 21:12 Hello_worlds
阅读(512)
评论(0)
推荐(0)
Centos7 firewalld实现内网访问外网
摘要: 应用场景:项目做迁移,除了前段的nginx服务器要用外网,其他的机器都内网; 实现方法有三种: 1。nginx正向代理{不知道有啥优点,缺点是不支持https} 2。squid正向代理{比nginx好点,http和https都支持;缺点是不支持ping 域名这种形式(后端项目访问外网的时候各种超时)
阅读全文
posted @ 2018-12-04 20:28 Hello_worlds
阅读(5159)
评论(0)
推荐(0)
dubbo注册zookepper服务IP混乱
摘要: 问题描述: 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
阅读(1292)
评论(2)
推荐(1)
2018年11月21日
nginx.conf参数优化详解
摘要: #user www www; worker_processes auto; # 指定 Nginx 要开启的进程数,结尾的数字就是进程的个数,可以为 auto 这个参数调整的是 Nginx 服务的 worker 进程数,Nginx 有 Master 进程和 worker 进程之分,Master 为管理
阅读全文
posted @ 2018-11-21 15:14 Hello_worlds
阅读(334)
评论(0)
推荐(0)
MongoDB备份与恢复
摘要: ################实操######################### 先将表备份 mongoexport -h ip:port -d 库名-c 表名 -o /tmp/bak1# 登陆mongo删除要恢复的表# 恢复数据mongoimport -h ip:port -d 库名 -c
阅读全文
posted @ 2018-11-21 15:09 Hello_worlds
阅读(185)
评论(0)
推荐(0)
2018年11月15日
MySQL用户授权
摘要: # 查看用户拥有的权限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
阅读(224)
评论(0)
推荐(0)
2018年11月9日
squid正向代理http&https
摘要: 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
阅读(3380)
评论(0)
推荐(0)
2018年10月29日
MongoDB安装
摘要: 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
阅读(178)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
下一页
公告