自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 crontab 执行时间与系统时间不一致

原因:修改系统时间后,未重启rsyslogservice rsyslog restartservice crond restart#檢查Mar 19 23:31:18 mysql-import crond[32047]: (CRON) INFO (Shutting down)Mar 19 23:31:18 mysql-import crond[32114]: (CRON) INFO (...

2019-03-20 11:35:00 443

转载 Centos7的安全防范

1。历史命令# 当前用户不记录历史命令echo "HISTSIZE=0" >> ~/.bash_profile# 情况记录的历史命令> ~/.bash_history# 推出重新打开测试2。防火墙关闭systemctl stop firewalld.service#停止防火墙systemctl disable firewalld.service#禁止firewall...

2018-12-04 21:12:00 132

转载 dubbo注册zookepper服务IP混乱

问题描述: zookepper服务是起在开发服务器192.168.23.180上。本机起应用服务提供者注册到192.168.23.180上的dubbo服务可以注册成功,用dubbo-admin看也是本机的IP:10.1.24.20。本机起的客户端程序也可以正常调用。但是服务提供者发布到192.168.23.180服务器上去就不行了。发布到服务器上注册的服务地址就变成了124.232.13...

2018-12-04 17:24:00 516

转载 nginx.conf参数优化详解

#user www www; worker_processes auto; error_log /nginx/logs/nginx_error.log crit; pid /nginx/logs/nginx.pid; #Specifies the value for maximum file descriptors that can be open...

2018-11-21 15:14:00 148

转载 MongoDB备份与恢复

################实操######################### 先将表备份 mongoexport -h ip:port -d 库名-c 表名 -o /tmp/bak1# 登陆mongo删除要恢复的表# 恢复数据mongoimport -h ip:port -d 库名 -c 表名 --upsert /tmp/bak1##################...

2018-11-21 15:09:00 58

转载 MySQL用户授权

# 查看用户拥有的权限select * from mysql.user where user='syj'\G# 授权的必要条件:需要登录root用户进行授权 ## 授权syj所有的权限,但是只能在本地登录数据库操作grant all privileges on *.* to 'syj'@'localhost' identified by 'passwd';flush privi...

2018-11-15 17:48:00 65

转载 MongoDB安装

1.1 软件安装 # 系统环境 [root@node1 db]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) # 创建软件目录 mkdir /server/tools -p cd /server/tools # 下载安装包 wget https://fastdl.mongodb....

2018-10-29 18:26:00 57

转载 redis

1、开启cd /home/redis/bin/./redis-server redis.conf2、关闭cd /home/redis/bin/./redis-cli -a password -h 127.0.0.1 -p port shutdown3、重启cd /home/redis/bin/./redis-cli -a password -h 127.0.0.1 -p port ...

2018-08-25 11:14:00 60

转载 CentOS7 防火墙打开和关闭端口

1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 :systemctl enable firewalld 2....

2018-08-11 14:43:00 129

转载 Python从入门到放弃

1.1 Python2与python3的区别 1.1.1 区别1—源码 Python2:源码重复,不规范 Python3:整合源码、更清晰优美简单 1.1.2 区别3—数据类型 1.1.3 区别4 Python2中:input() 只能输入数字类型 Python3中:input 1.2 语言的划分 1.2.1 编译型 特点:将你的代码全部编译成...

2018-04-05 23:32:00 142

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除