Ubuntu安装Infobright及主从同步

查看机器位数
root@ub1000:~# getconf LONG_BIT
32
--------------------------------------
ubuntu 不支持rpm
1、sudo apt-get install rpm
下载 http://www.infobright.org/Download/ICE

------------------------------------
sudo apt-get install nscd
dpkg -i infobright-4.0.7-0-i686-ice.deb
默认安装到/usr/local/
cd /usr/local/infobright-4.0.7-i686/
运行
./postconfig.sh
一路回车即可,使用默认配置即可。
cd /etc/

root@Master:/etc# ls | grep my
my-ib.cnf
my-ib-master.cnf
my-ib-slave.cnf

启动
/etc/init.d/mysqld-ib start
/etc/init.d/mysqld-ib stop
---------------------------------------------
附件为两台机器,进行主从同步


你可能感兴趣的:(infobright)