Automating AWS Server Instances

This document describes how to automate server instance start/stop on AWS using a script. This automation make servers up only when they need for specific hours, as per user wants.

Please follow the steps to automate.

  1. Create an IAM role called ec2-operator using the IAM console view. (http://docs.aws.amazon.com/IAM/latest/UserGuide/creating-
    Continue reading

Odoo 8 | Installing And Configuring in Ubuntu Server.

Hello All, Here, I’m going to show you how to install new version of “Odoo” ERP system on Ubuntu server. New version is “Odoo v8” , which contains more reliable features. Now it has been very easy to install and configure. Before installing the Odoo v8 let’s keep a clean installation on Ubuntu latest server version. The Ubuntu latest server version is Ubuntu Server 14.04. In here I have a clean Installation of Ubuntu Server 14.04. 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