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

How to install OpenERP v8 on Ubuntu Server.

Hello all, today I’m going to describe about installing and configuring OpenERP Version 8 which is the latest version of OpenERP (for more details: https://www.odoo.com/ ). In here we need to care about the requirement of the OpenERP. The followings are the requirements.

  1. Ubuntu/Linux Server
  2. Apache Web Server.
  3. Postgre SQL Server
  4. Python

From here onward i am going to show you step by step on how to install all the requirements and configurations.

  1. In this step let’s install the necessary Python libraries for the Ubuntu server.
     sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
  1. In here we need a specific user account for accessing openerp server because that user specific to run the OpenERP application. So we need to add the “openerp” user in to the system.
     sudo adduser --system --home=/opt/openerp --group openerp
  2. In this step I am going to install the PostgreSQL database server and configuring it.
 sudo apt-get install postgresql
 sudo su - postgres
 createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
 

In here enter a password for accessing to the Database and make sure to keep remembering.

  1. Exit from the current shell and let’s install the OpenERP v8 server on our Ubuntu server. Continue reading