MariaDB二进制包方式安装
二进制安装MariaDB(5.5.32)过程:环境CentOS 6.4 下载二进制安装包 https://downloads.mariadb.org/ 解压 tar –xf mariadb-5.5.32-linux-x86_64.tar.gz –C /usr/local/ 创建个软链接 ln –sv /usr/local/mariadb-5.5.32-linux-x86_64/ /usr/local/mysql cp support-files/my-large.cnf /etc/my.cnf cd /usr/local/mysql 复制mysql样例配置文件到/etc/下以备使用,加上几行:innodb_file_per_table = 1 为每个表提供一个表空间 datadir = /mydata/data 指定数据库存放目录 user = mysql 指定运行mysql进程用户 cp support-files/mysql.server /etc/rc.d/init.d/mysqld (系统启动脚本,官方已经给提供好了,以后可以直接service mysqld start, 要实现开机启动,需要 chkconfig –add mysqld 默认 2,3,4,5是on的) echo ‘export PATH=/user/local/mysql/bin:$PATH’ > /etc/profile.d/mysql.sh (为mysql添加环境变量) echo ‘/usr/local/mysql/lib’ > /etc/ld.so.conf.d/mysql.conf; ldconfig –v 输出mysql库文件 ln –sv /usr/local/mysql/include /usr/include/mysql 输出mysq头文件 groupadd –g 306 mysql && useradd –g mysql –u 306 mysql (提供mysql启动的用户,用户创建后就不要更改uid或gid了,不然如果初始化过数据库再又更改了uid会造成mysql服务起不来) chown –R root.mysql /usr/local/mysql mkdir /mydata/data; chown –R mysql.mysql /mydata/data 更改数据目录属主,让mysql用户有读写权限 scripts/mysql-install-db --user=mysql --datadir=/mydata/data 初始化数据库 大功告成,可以启动了 service mysqld start MariaDB和MySQL完全兼容,安装过程也完全一样。
基于keepalived实现mariadb的高可用
http://essun.blog.51cto.com/721033/1405880
http://birdinroom.blog.51cto.com/7740375/1408525
基于keepalived的Haproxy高可用配置
http://maoqiu.blog.51cto.com/8570467/1405875
haproxy的高可用
http://essun.blog.51cto.com/721033/1405893
基于corosync+pacemaker 实现web的高可用
http://essun.blog.51cto.com/721033/1405124
Keepalived+Haproxy双主高可用负载均衡代理web+mysql
http://manfred12.blog.51cto.com/137312/1406822
LEMP架构实现
http://onlywyn.blog.51cto.com/204565/1406872
Nginx学习指南之安装与配置
http://cfwlxf.blog.51cto.com/3966339/1408076
haproxy基础详解及动静分离的实现
http://jungege.blog.51cto.com/4102814/1408055
强大的http加速器------varnish
http://jungege.blog.51cto.com/4102814/1408107
Haproxy+Keepalived实现负载均衡高可用
http://forlinux.blog.51cto.com/8001278/1408493
Nginx+Keepalived实现Web服务器负载均衡
http://www.osyunwei.com/archives/7566.html
基于Keepalived+Haproxy搭建四层负载均衡器
http://www.linuxde.net/2013/04/13263.html
keepalive的简单应用——管理VIP的飘动
http://www.cnblogs.com/killkill/archive/2010/12/31/1922360.html
LNMT+varnish实现网站架构初步
http://nmshuishui.blog.51cto.com/1850554/1409281
监控系统Zabbix的简单应用
http://www.svipc.com/thread-318-1-1.html
基于xtrabackup备份mysql/文件系统逻辑卷LVM快照备份/逻辑备份工具mysqldump备份
http://manfred12.blog.51cto.com/137312/1415693
基于SSL的Mysql主从复制和mysql5.5半同步复制
http://manfred12.blog.51cto.com/137312/1416412
MySQL-Proxy实现读写分离部署文档
http://jishuweiwang.blog.51cto.com/6977090/1416006
双haproxy+双Keepalive实现高可用+动静分离
http://lemidi.blog.51cto.com/8601832/1419477
Linux+Nginx+MySQL+PHP+Xcache+Memcached
http://467754239.blog.51cto.com/4878013/1419436
手把手让你实现开源企业级web高并发解决方案(lvs+heartbeat+varnish+nginx+eAccelerator+memcached)
http://freeze.blog.51cto.com/1846439/684498
centos LNMP编译安装 MySQL 5.6.19 php-5.5.14 nginx-1.6.0
http://bbotte.blog.51cto.com/6205307/1437062
lamp 一键脚本
http://jesnridy.blog.51cto.com/5554751/1436993
Linux下部署jira项目管理系统
http://523514.blog.51cto.com/513514/1405177
http://523514.blog.51cto.com/513514/1436949
基于Jenkins 搭建持续集成环境
http://www.cnblogs.com/zz0412/tag/jenkins/
http://birdinroom.blog.51cto.com/7740375/1342897
结合keepalived实现nginx反向代理群集高可用
http://birdinroom.blog.51cto.com/7740375/1402049
结合keepalived实现lvs的高可用群集故障自动转移
http://birdinroom.blog.51cto.com/7740375/1402004
ubuntu下lvs负载均衡dr模型shell脚本
http://birdinroom.blog.51cto.com/7740375/1401852
Galera Cluster for MySQL
http://blog.sina.com.cn/s/blog_704836f40101lixp.html
http://breezey.blog.51cto.com/2400275/1529503 晏威
利用QJM实现HDFS的HA策略部署与验证
http://zengzhaozheng.blog.51cto.com/8219051/1441170
Corosync+Pacemaker+DRBD+MySQL 实现高可用(HA)的MySQL集群
http://freeloda.blog.51cto.com/2033581/1275528
基于RHCS+ISCSI+CLVM实现web服务的共享存储集群架构
http://feilong0663.blog.51cto.com/3265903/1543452