Skip to content

Instantly share code, notes, and snippets.

@mateothegreat
Created October 5, 2018 19:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mateothegreat/beca2a0c35d7fd360e63a027a54b0e1e to your computer and use it in GitHub Desktop.
Save mateothegreat/beca2a0c35d7fd360e63a027a54b0e1e to your computer and use it in GitHub Desktop.
Install MySQL Top (mtop) on RHEL/CentOS
#!/bin/sh
curl -L -O https://sourceforge.net/projects/mtop/files/mtop/v0.6.6/mtop-0.6.6.tar.gz
tar -xvzf mtop-0.6.6.tar.gz
rm -rf mtop-0.6.6.tar.gz
cd mtop-0.6.6
yum install -y perl-devel cpan perl-DBD-MySQL
cpan force install Curses
perl Makefile.pm
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment