Posted by: sutrisno | December 29, 2010

Installasi Open ERP di ubuntu 10.10

Berikut step step instalasi Open ERP di ubuntu 10.10 dengan databases postgres
Install dulu postgresql karena saya akan menggunakan databases postgres
sutrisno@fian-H55M-S2:~/Documents/sql_tutorial$ sudo apt-get install postgresql
[sudo] password for sutrisno:
Reading package lists… Done
Building dependency tree
Reading state information… Done
postgresql is already the newest version.
postgresql set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

karena sudah aku install postgres nya

Kemudaian membuat user databases dan databasesnya
sutrisno@fian-H55M-S2:~/Documents/sql_tutorial$ sudo su – postgres
postgres@fian-H55M-S2:~$ 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) n

Kemudian jalani

postgres@fian-H55M-S2:~$psql -U openerp -W
Password for user openerp:
psql: FATAL: Ident authentication failed for user “openerp”

Bila Error maka edit

sutrisno@fian-H55M-S2:/$sudo vim /etc/postgresql/8.4/main/pg_hba.conf

ganti line
### edit trisno
#local all all ident
local all all md5

Kemudaian restart service nya
sutrisno@fian-H55M-S2:/$ sudo /etc/init.d/postgresql restart
* Restarting PostgreSQL 8.4 database server [ OK ]
sutrisno@fian-H55M-S2:/$ psql -d postgres -U openerp -W
Password for user openerp:
psql (8.4.5)
Type “help” for help.

postgres=>

Install paket open ERP untuk ubuntu.
sutrisno@fian-H55M-S2:/$sudo apt-get install openerp-server
kemudian buka file /etc/openerp-server.conf
sutrisno@fian-H55M-S2:/$ sudo vim /etc/openerp-server.conf

edit
interface = localhost
port = 8070
db_user = openerp
db_password = ****

kemudian kita cek
sutrisno@fian-H55M-S2:/$ ps uaxww | grep -i openerp
sutrisno 6471 0.0 0.0 71232 3128 pts/11 S+ 14:35 0:00 /usr/lib/postgresql/8.4/bin/psql -d postgres -U openerp -W
postgres 6472 0.0 0.0 107136 3180 ? Ss 14:35 0:00 postgres: openerp postgres [local] idle
sutrisno 7669 0.0 0.0 11332 884 pts/8 S+ 16:10 0:00 grep –color=auto -i openerp
openerp 29894 0.0 0.6 227788 26080 ? Sl Dec28 0:03 /usr/bin/python ./openerp-server.py –config=/etc/openerp-server.conf
sutrisno@fian-H55M-S2:/$


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: