Monday, 23 April 2012

phpMyTop for server monitoring

Download and untar the source file inside the web directory which you like to access (ie.. for example /var/www/html )

# wget http://www.gnutoolbox.com/download/linux/dbserver/mysql/phpMyTop_1.0.1.tgz

# tar zxvf phpMyTop_1.0.1.tgz

# cd phpMyTop/

# mysql [-uyouruser] [-pyourpass] < install.sql
(you need to create a username and password on the mysql to dump the database)

Edit the config.php and modify the following lines with your username and password.

    $GLOBALS['mytop_dbuser'] = ‘root’;
    $GLOBALS['mytop_dbpass'] = ”;
    $GLOBALS['mytop_dbhost'] = ‘localhost’;
    $GLOBALS['mytop_db'] = ‘phpmytop’;

No comments:

Post a Comment