Install innodb_ruby and centosinnodb_ruby in centos 6

Source: Internet
Author: User

Install innodb_ruby and centosinnodb_ruby in centos 6

Innodb_ruby is a program of jeremycole used to analyze Innodb-related structures. It is also a very convenient structure tool for us to study Innodb. So here is an introduction.

Jeremycole github shared projects are very good, here directly recommend his github: https://github.com/jeremycole

Innodb_ruby depends on ruby> = 1.9.3. The default yum version of Centos is relatively low. To manually compile the image, we recommend you download it from the ruby-china image (https://ruby-china.org/wiki/ruby-mirror:

# Wget https://cache.ruby-china.org/pub/ruby/ruby-1.9.3-p551.tar.gz

Install the dependency package before installation:

# Yum-y install zlib-devel curl-devel openssl-devel httpd-devel apr-util-devel

If mysql is not installed in the system, install the mysql-devel package.

Tar zxvf ruby-1.9.3-p551.tar.gzcd ruby-1.9.3-p551./configuremakemake install

After Ruby is installed, innodb_ruby can be installed.

Gem install innodb_ruby

After the prompt is successful, you can start the journey to innodb_ruby.

Reference help: https://github.com/jeremycole/innodb_ruby/wiki

Innodb is fun.

Note: The preceding command must be executed in datadir. Have fun.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.