How To Install Log.io on CentOS 7

r00t June 11, 2015

log-io-logo

For those of you who didn’t know, Log.io is the real-time monitoring tool, powered by node.js and socket.io. Log.io offers a simple web interface for monitoring the server logs.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Log.io on CentOS 7.

Step 1. First, you need to enable EPEL repository on your system.

After you added EPEL repos on your system, do a system upgrade by running the following command:

Step 2. Install npm and node.js packages.

Step 3. Install Log.io.

Log.io application must be installed on your system through NPM by specifying a valid local system user, through which the installation must take place:

Step 4. Configure Log.io.

Log.io’s Installed directory is ~/.log.io which is a hidden directory in the home directory of the user, used in prevoius step for the installation, it has three configuration files which controls its working nature. In this case, to access the configuration files you need to navigate to the ‘~/.log.io/’ directory using the following command:

There are three configuration files:

In most cases, you will have to edit the harvester.conf. In this configuration file, you can specify which log files need to be monitored for changes. You can edit the file using your favorite text editor.

When you are done, you can save the file and close it. Then, you can start the Log.io services in background using the following commands:

To stop Log.io application run the following command:

Step 5. Setup firewall rule for Log.io

Step 6. Accessing Log.io.

Log.io will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com:28778 or http://server-ip:28778. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Log.io. Thanks for using this tutorial for installing Log.io monitor server logs on CentOS 7 system. For additional help or useful information, we recommend you to check the official Log.io web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+3Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit0Pin on Pinterest1
The Tags:

Leave a Comment