Tuesday, September 11, 2012

How to Install ZeroShell to Hard Disk

How to Install ZeroShell to Hard Disk.

In www.zeroshell.net navigate to download section. you will see "2GB image for IDE, SATA, SCSI e USB disks" and "Iso image for CD" release on July 25, 2012, download both of them.

Option I
  • Rename "ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz" to some type friendly letters zeroshell.img.gz and copy it to a Pen Drive.
  • Burn "ZeroShell-2.0.RC1.iso" to CD.
  • Plug the Pen Drive and boot Live CD:
  • Once booted hit "S" to bring up Shell Prompt:
  •  Get the list of drives: 
fdisk -l
/dev/sda is the Hard Disk
/dev/sdb1 is the Pen Drive
  • Delete if there is any partitions on the drive that you are going to install.
fdisk /dev/sda
m (for help).
d (for delete partitions).
  • Once you are done, mount the Pen Drive.
mkdir /mnt/pendrive
mount /dev/sdb1 /mnt/pendrive
  •  Next step is extract "zeroshell.img.gz" from pen drive to hard disk.
cd /mnt/pendrive
gunzip -c zeroshell.img.gz > /dev/sda
  • Once rebooted ZeroShell will boot from Hard Disk.

Monday, September 10, 2012

Installing OpenERP 6.1 on Ubuntu 12.04 LTS x64

Installing OpenERP on Ubuntu 12.04 LTS x64

In this tutorial I am running Ubuntu 12.04 LTS Server on VMware Workstation.

After Fresh Installation do a:
sudo apt-get update && apt-get upgrade && apt-get dist-upgrade

PostgreSQL Server Installation and Configuration:
 sudo apt-get install postgresql
Default superuser for PostgreSQL is "postgres" with no password.
Option I:
sudo su postgres
Create a new superuser for OpenERP:
createuser openerp
Shall the new role be a superuser? (y/n) y
Use table template1 and apply access rights:
psql template1
alter role openerp with password 'postgres'
 Option II:
sudo su postgres
createuser --createdb --username postgres --no-createrole --pwprompt openerp
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) y

OpenERP Server Installation:
Install Prerequisites:
sudo apt-get install python-dateutil python-feedparser python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
Grab the link of latest .deb package from here:
wget http://nightly.openerp.com/6.1/releases/openerp_6.1-latest-1_all.deb
Execute the package:
sudo dpkg -i openerp_6.1-latest-1_all.deb
Point your web browser to Server IP:
http://xx.xx.xx.xx:8069