摘要:
安装 yum install -y mariadb mariadb-server 开机启动服务 systemctl enable mariadb 启动服务 systemctl restart mariadb 初始化 mysql_secure_installation 第一次输入密码后 后面全部回车即 阅读全文
摘要:
down最新的redis wget http://download.redis.io/releases/redis-5.0.6.tar.gz tar zxf redis-5.0.6.tar.gz cd redis-5.0.6 && make mkdir -p /usr/local/redis/bin 阅读全文
摘要:
习惯使用firewell就要禁用iptables 有两个方法 : 一: echo '/usr/sbin/iptables -F' >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local 二: 重装iptables后卸载掉或者卸载安装再卸载 阅读全文
摘要:
授权之前必须创建用户才能授权 create user '用户'@'主机或者%(所有主机)' identified by '密码'; create user 'root'@'%' identified by '123qwe'; GRANT ALL ON *.* TO '已有的用户'@'主机' IDEN 阅读全文