摘要: 一、环境准备(Centos7,mysql-cluster-gpl-7.5.6-linux-glibc2.5-x86_64.tar.gz) 卸载以前安装的Mysql 或者 mariadb yum -y remove mysql* yum -y remove mariadb*二、停用安全策略seLinu 阅读全文
posted @ 2017-05-12 16:42 微飞翔 阅读(780) 评论(0) 推荐(0) 编辑
摘要: Centos7环境下Tomcat 启动慢的解决方案1、增加熵值(本质增加random)安装软件 >> Yum –y install rng-tools 启动熵服务 >> Systemctl start rngd(或service rngd start)2、修改java环境配置文件 $JAVA_HOM 阅读全文
posted @ 2017-04-09 14:22 微飞翔 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 附加:相关在线文档https://www.percona.com/software/documentation 安装要求: 1、root权限2、保证开放3306、4444、4567、4568端口3、关闭seLinux安全策略setenforce 0(安装完成记得开放)4、安装yum源 yum ins 阅读全文
posted @ 2017-03-31 20:44 微飞翔 阅读(1644) 评论(0) 推荐(0) 编辑
摘要: [client]# 该目录下的内容常用来进行localhost登陆,一般不需要修改port = 3306 # 端口号socket = /var/lib/mysql/mysql.sock # 套接字文件(localhost登陆会自动生成) [mysql]# 包含一些客户端mysql命令行的配置no-a 阅读全文
posted @ 2017-03-31 20:30 微飞翔 阅读(2960) 评论(0) 推荐(0) 编辑
摘要: 基于centos7 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 阅读全文
posted @ 2017-03-21 16:24 微飞翔 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 注意:mysql版本最好一致,否则可能存在二进制文件识别出错 第一步:修改配置文件 windows环境 修改my.ini (在mysql安装目录下)linux环境 /etc/my.cnf 修改完需要重启服务器 在[mysqld] 下添加必须 1.server-id=xxx ##数据库唯一标识,必须不 阅读全文
posted @ 2017-03-17 15:31 微飞翔 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装包http://activemq.apache.org/activemq-5143-release.html 2.解压至指定目录 bin目录下为执行脚本 (脚本无法执行需要修改权限(chmod 775 activemq)) 3. 设置activeMQ配置环境./activemqrc ac 阅读全文
posted @ 2017-02-27 17:41 微飞翔 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 1.安装编译工具(yum -y install make gcc gcc-c++ ncurses-devel)2 2.安装tcl依赖 yum -y install tcl 3.上传redis安装包并解压tar -zxvf redis-stable.tar.gz 4.进入解压后的目录执行make 5. 阅读全文
posted @ 2017-02-27 17:28 微飞翔 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1、安装依赖 yum -y install make gcc gcc-c++ ncurses-devel ##编译环境 yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel ##必需软件(y有些软件已经安装则不需安装 阅读全文
posted @ 2017-02-27 16:54 微飞翔 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 下载对应版本的mysql.rpm(Linux 6 安装el6 Linux 7 安装el7) 安装环境 centos 7,安装版本mysql57-community-release-el7-9.noarch(最新版本(自带安装源,注:目前Linux环境无最新mysql版本,大约为5.1)) 1、卸载已 阅读全文
posted @ 2017-02-27 16:27 微飞翔 阅读(176) 评论(0) 推荐(1) 编辑