Created
October 5, 2018 19:53
-
-
Save mateothegreat/beca2a0c35d7fd360e63a027a54b0e1e to your computer and use it in GitHub Desktop.
Install MySQL Top (mtop) on RHEL/CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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