back.gif

next.gif


Installation on Linux
 

1. Installation

To install MONyog in these systems the RPM package should be used. Execute the following command as a 'root' user:

 

# rpm -ivh <MONyog_package>.rpm

 

linux_installation_rpm.png

 

To upgrade MONyog in Redhat/Fedora from a previous installation the following command can be used:

 

# rpm -Uvh <MONyog_package>.rpm

 

suse3.png

 

Note: MONyog upgrade is supported from MONyog 2.7.0-0 onwards, currently MONyog supports upgrade from lower version of MONyog to upper version of MONyog. At present MONyog does not support upgradation from a trial version to single/multi or from single to multi.

 

To install MONyog in SUSE from a RPM package the YaST command or the YaST 'Software Management' GUI can be used. Execute the following command as a 'root' user:

 

# yast -i <MONyog_package>.rpm

 

suse1.png

 

suse2.png

 

On most SUSE systems also simply clicking (KDE) or double-clicking (Gnome) on the RPM will start the YaST software management GUI.

 

After installing, MONyog will be started automatically as a daemon/service. You can immediately start monitoring your MySQL servers by pointing your browser to:

 

http://<YOUR_HOST>:5555

 

By default, MONyog listens on port 5555 (versions below 1.04 was 9999). There is no default password. Of course, the port and password are configurable.

Please refer to the section 2. Configuring MONyog in Linux for details.

The 'service' command can be used to start/stop MONyog. The details about how to start/stop MONyog can be found in section 3. START/STOP MONyog.

 

To install MONyog in these systems .tar.gz (zipped tar) package should be used. After downloading the package, the following command can be used to extract:

$ tar -xf <MONyog_package>.tar.gz

It will be extracted in "MONyog/" directory.

 

tar1.png

 

tar3.png

 

The details about how to start/stop MONyog can be found in section 3. START/STOP MONyog.

 

 

2. Configuring MONyog in Linux

 

MONyog port and password is configurable through "MONyog.ini".

 

 MONyog.ini is created when MONyog starts for the first time (OR on subsequent restarts if MONyog.ini is not found). If MONyog is installed using-

MONyog port and password can be changed here. Note: MONyog should be restarted after changing the port.

 

Also, Linux RPM does not prompt for password. Initially, there is no password set for MONyog. Linux (both rpm and .gz) user will need to set after installation. You can setup a password from Tools > Preferences > Set Password option. Note leave current password field as it is (because initially password field is blank). Then enter new password.

 

 

3. START/STOP MONyog

In Redhat and Fedora systems if MONyog is installed from the RPM package, the daemon script 'MONyogd' can be used to start/stop the server. This script is in "/etc/init.d/" directory.

 

You can use one of the following command to start MONyog:

 

# service MONyogd start

or,

# /etc/init.d/MONyogd start

 

linux_installation_rpmstartstop.png

 

similarly for stopping:

# service MONyogd stop

or,

# /etc/init.d/MONyogd stop

By default in these systems MONyog will be started automatically even after a restart.

 

In SUSE systems if MONyog is installed from a RPM package, the YaST 'run-level tool' can be used to start/stop the server. You may enable/disable the MONyog service from YaST (Administrative settings) > System > System Services.

 

This description applies if you have extracted MONyog from zipped tar(.tar.gz) package.

There is one shell script named "MONyog" within "MONyog/bin" directory. For example if MONyog has been extracted to ~/MONyog/ directory, you can start MONyog by typing:

 

$ ~/MONyog/bin/MONyog start

 

tar4.png

 

Similarly, to stop:

$ ~/MONyog/bin/MONyog stop

 

back.gif

next.gif