- 博客(6)
- 收藏
- 关注
原创 Zabbix3.4搭建
Zabbix3.4搭建安装Zabbix 关闭防火墙及selinux 配置yum源 安装数据库MariaDB/Mysql 安装Zabbix rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm yum install zabbix-server-mysql...
2019-03-15 17:54:35
631
原创 Mysql+Atlas
Mysql+Atlas主从复制+ 读写分离 关闭防火墙及selinux 配置yum源 Mysql搭建 Mysql主从复制 主从复制+ 读写分离 wget https://github.com/Qihoo360/Atlas/releases/download/2.2.1/Atlas-2.2.1.el6.x86_64.rpm rpm -ivh Atlas-2.2.1.el6.x86_64.rpm ...
2019-03-15 17:54:28
365
原创 Mysql搭建
Mysql搭建源码编译安装Mysql5.7 关闭防火墙及selinux 配置yum源 源码编译安装Mysql5.7 #安装依赖库 yum install -y cmake make gcc gcc-c++ libaio ncurses bash-completion ncurses-devel bison-devel #下载源码包并解压 wget -c https://dev.mysql.com/...
2019-03-15 17:53:42
191
原创 Mysql主从复制
Mysql主从复制配置主库配置从库my.cnf参数 关闭防火墙及selinux 配置yum源 Mysql搭建 配置主库 #修改my.cnf配置文件 vim /etc/my.cnf server_id=1 log-bin=mysql-bin #重启数据库 service mysqld restart 进入数据库 #建立备份账号 grant replication slave on *.* ...
2019-03-15 17:52:15
142
原创 关闭防火墙及selinux
关闭防火墙及selinuxCentos7Centos6 Centos7 systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config grep SELINUX=disabled /etc/s...
2019-03-15 17:51:49
238
原创 YUM源配置
YUM源配置YUM源站yum初始化操作 YUM源站 阿里开源站 https://opsx.alibaba.com/mirror wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http:...
2019-03-15 17:51:27
195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅