Hosting Virtual Hosts with Nginx Server on Ubuntu

Hello, here I’m, going to show you how to install Nginx server and configure it for hosting web sites. First of all let’s see what is Nginx server. Actually it is an open-source web server with high performance, stability, low resource utilized with simple configurations.

Following steps show you how to install and configure Nginx server to hosting websites.

Installing Nginx on Ubuntu server

Continue reading

How to install and configure “Monit” management system on Ubuntu.

Hello all, Today I’m going to install and configure the “Monit” service monitoring system on Ubuntu server instance.

Monit “is an free an open source software which is a management system for monitoring and take decisions on some of critical points. Specially monit can be used to monitor customized services which are developed by developers. As an example let’s assume if a developer make a service as “service-1” that can be monitored and controlled like start, stop, restart the service by the Monit. And also every actions are notified by the e-mails and administrator can customized the alert conditions and alert notification settings.

This tutorial will help you install and configure the Monit service monitoring system on Ubuntu server. The steps are given below.first get updates on Ubuntu server, then install the “monit” on the server.
1. In first step, Monit has to be installed via Ubuntu terminal.

 $ sudo apt-get update
 $ sudo apt-get install monit

2. After installation “monit” configuration should be done using the /etc/monit/monitrc file.

$ sudo nano /etc/monit/monitrc

# set httpd port 2812 and
# use address localhost # only accept connection from localhost
# allow localhost # allow localhost to connect to the server and
# allow admin:monit # require user 'admin' with password 'monit'
# allow @monit # allow users of group 'monit' to connect (rw)
# allow @users readonly # allow users of group 'users' to connect readonly

In the above section monit administrator have to enable the port (2812) and the whatever the IP address for accessing the Monit system.

3. Then restart the service monit service. Continue reading