摘要: 演示用两台全新MySql服务器: mysql1:10.10.1.55 (主) mysql2:10.10.1.56 (从) 配置主从,步骤如下: STEP 1:在mysql1上创建复制账号 repl CREATE USER 'repl'@'10.10.1.%' IDENTIFIED BY 'myRep 阅读全文
posted @ 2017-06-15 11:34 石猿 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: 1 安装 GCC yum install gcc yum install tcl 2 安装wget yum install wget 3 下载mysql源安装包 shell> wget http://dev.mysql.com/get/mysql57-community-release-el7-8. 阅读全文
posted @ 2017-06-15 11:31 石猿 阅读(2522) 评论(0) 推荐(0) 编辑
摘要: 我们用yum安装软件时,经常发现我们的yum源里面没有该软件,需要自己去wget,然后configure,make,make install,太折腾了。 其实,CentOS 还有一个源叫做 EPEL (Extra Packages for Enterprise),里面有1万多个软件. 1、安装前,我 阅读全文
posted @ 2017-06-15 11:28 石猿 阅读(2008) 评论(0) 推荐(0) 编辑
摘要: 一、Redis的安装(前提是已经安装了EPEL) 安装redis: yum -y install redis 启动/停止/重启 Redis 启动服务: systemctl start redis.service 停止服务: systemctl stop redis.service 重启服务: sys 阅读全文
posted @ 2017-06-15 11:28 石猿 阅读(1188) 评论(0) 推荐(0) 编辑