Linux Installation

1. Installation

  • Redhat/Fedora systems

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

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

# rpm -Uvh <Monyog_package>.rpm

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.

  • SUSE systems

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

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.

  • Other systems (such as systems like Ubuntu, etc)

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.

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-

  •  RPM package - MONyog.ini can be found in: /usr/local/MONyog
  •  tar.gz package - MONyog.ini can be found in the folder in which Monyog was untarred.

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

  • Redhat/Fedora systems

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

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.

  • SUSE systems

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.

  • Other systems (such as systems like Ubuntu, etc)

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

Similarly, to stop:

$ ~/MONyog/bin/MONyog stop


Why does Monyog ask for a password during installation?

Monyog can be installed on one computer and can be accessed from another computer. Depending on the server, Monyog will store credentials (user-ids and passwords for MySQL servers, SSH and SMTP servers). So for high protection Monyog requires password during installation.

Still need help? Contact Us Contact Us