摘要: 1. 客户端备份数据并推送#!/bin/bash#Date: 2018/7/16#Author: Testder#Mail: 10000@testder.cn# Definition variableIP=$(cat /etc/sysconfig/network-sc... 阅读全文
posted @ 2018-07-16 13:02 Testder探索者 阅读(190) 评论(0) 推荐(0) 编辑
摘要: # rsync服务端配置# 安装rsync软件包yum -y install rsync# 生成rsyncd.conf配置文件,具体参数可man rsyncd.confcat > /etc/rsyncd.conf > /etc/rc.local # ... 阅读全文
posted @ 2018-07-15 09:23 Testder探索者 阅读(137) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#Date: 2018/7/13#Author: Testder#Mail: 10000@testder.cn#Version: 1.0# Each database that needs to be backed upcat > /tmp/ba... 阅读全文
posted @ 2018-07-13 10:43 Testder探索者 阅读(101) 评论(0) 推荐(0) 编辑
摘要: ##########Nginx配置###########查看是否安装nginx状态模块nginx -V #--with-http_stub_status_module #修改配置文件 vim /etc/nginx/nginx.cnf...loca... 阅读全文
posted @ 2018-07-11 15:53 Testder探索者 阅读(143) 评论(0) 推荐(0) 编辑
摘要: ##########安装zabbix-3.0.19##########wget https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm... 阅读全文
posted @ 2018-07-11 12:52 Testder探索者 阅读(103) 评论(0) 推荐(0) 编辑
摘要: # dd if=/dev/zero of=/dev/null zero源源不断的产生数据到黑洞null# dd if=/dev/zero of=/data/a.tgz bs... 阅读全文
posted @ 2018-07-06 21:55 Testder探索者 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 配置环境 主节点 controller:172.16.100.10 监控节点 compute:172.16.100.20主节点#####安装软件包###### curl -o /etc/yum.repos.d/epel-7.repo http://mirro... 阅读全文
posted @ 2018-06-21 21:41 Testder探索者 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 阿里开源镜像站:https://opsx.alibaba.com/mirror 网易开源镜像站:http://mirrors.163.com/ 搜狐开源镜像站:http://mirrors.sohu.com/ 北京交通大学开源镜像站:http://mirror.bjt... 阅读全文
posted @ 2018-06-19 14:24 Testder探索者 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.修改 ssh 端口,禁止 root用户登录 ssh# vim +17 /etc/ssh/sshd_config Port 520520PermitRootLogin NO# systemctl restart sshd2.只允许指定 IP 可以 ssh连接# v... 阅读全文
posted @ 2018-06-16 16:03 Testder探索者 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 下载安装包点击进入官网下载tomcat9.0点击进入官网下载mysql8.0安装mysql8.0# tar -xf mysql-8.0.11-1.el7.x86_64.rpm-bundle.tar -C /opt/mysql# createrepo /opt/mysq... 阅读全文
posted @ 2018-06-11 13:11 Testder探索者 阅读(289) 评论(0) 推荐(0) 编辑