First, environmental requirements:
Operating Systems:64-bit Linux
Memory: >=1g
Second, installation steps
1. Download the installation package mysql-5.5.41-tokudb-7.5.5-linux-x86_64.tar.gz
http://www.tokutek.com/tokudb-for-mysql/download-community/
2. Create a MySQL user, group, installation directory
Groupadd-g 927 MySQL
Useradd-r-u 927-g mysql MySQL
Mkdir-pv/opt/tokutek
3. Unzip the installation
Cd/opt/tokutektar xvzf/path/to/mysql-5.5.30-tokudb-7.1.0-linux-x86_64.tar.gz
LN-SV mysql-5.5.30-tokudb-7.1.0-linux-x86_64 MySQL
4. Permissions Configuration
CHOWN-RV Mysql:mysql/opt/tokutek
5.MY.CNF Configuration
Cp-v support-files/my-small.cnf/etc/my.cnf
DataDir =/var/lib/mysqlbasedir =/opt/tokutek/mysqluser = MySQL
6. Initialization
scripts/mysql_install_db--user=mysql
7. Configure the Service
A. Modify Mysql.server
"Basedir=" modified to "Basedir=/opt/tokutek/mysql"
B. Create link
Ln-sv/opt/tokutek/mysql/support-files/mysql.server/etc/init.d/mysql
8. Start
Service MySQL Start
Close Transparent_hugepage:echo never >/sys/kernel/mm/transparent_hugepage/enabled
9. Verification
Third, reference documents
Http://docs.tokutek.com/tokudb/tokudb-index-installation.html
MYSQL/TOKUDB Installation