Install Infobright in Ubuntu and view the number of machine digits in Master/Slave synchronization. root @ ub1000 :~ # GetconfLONG_BIT32 -------------------------------------- Ubuntu does not support rpm1, sudoapt-getinstallrpm download http://www.infobright.org/Download/ICE ----
Install Infobright and master-slave synchronization in Ubuntu
View machine count
Root @ ub1000 :~ # Getconf LONG_BIT
32
--------------------------------------
Ubuntu does not support rpm
1. sudo apt-get install rpm
Download http://www.infobright.org/Download/ICE
------------------------------------
Sudo apt-get install nscd
Dpkg-I infobright-4.0.7-0-i686-ice.deb
By default, it is installed in/usr/local/
Cd/usr/local/infobright-4.0.7-i686/
Run
./Postconfig. sh
Press enter to use the default configuration.
Cd/etc/
Root @ Master:/etc # ls | grep my
My-ib.cnf
My-ib-master.cnf
My-ib-slave.cnf
Start
/Etc/init. d/mysqld-ib start
/Etc/init. d/mysqld-ib stop
---------------------------------------------
The following two machines are used for master-slave synchronization.
Dual-machine Hot Standby http://www.linuxidc.com/Linux/2012-08/67337.htm for Infobright in CentOS