This is how to blog, Setting up ODOO OpenERP with Apache on CentOS 7.x
What is Odoo -
Odoo, formerly known as OpenERP, is an Open Source Enterprise Resource Planning ERP web based business software written in Python which comes with a suite of web apps designed for every business, such as Website Builders, eCommerce modules, Billing and Accounting, Human Resources, Point of Sale, Customer Relationship Management, Inventory module, Live Chat and many other apps and features.
Requirement -
1- One working Centos box.
2- PostgreSQL
2- PostgreSQL
3- Python 2.7
Initialize PostgreSQL database.
Now finally start the PostgreSQL database by issuing the below command:
As an additional step to secure PostgreSQL default user, which has a blank password, issue the below command with root privileges in order to change the password.
Installation Steps -
Step 1- Installing PostgreSQL
enable Epel Repo if doesn't find the package.
[root@cent ~]# yum install -y epel-release
Install PostgreSQL
[root@cent ~]# yum install postgresql-server
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink | 4.9 kB 00:00
* base: mirror.nbrc.ac.in
* epel: mirror01.idc.hinet.net
* extras: mirror.nbrc.ac.in
* updates: mirror.nbrc.ac.in
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:21
extras | 3.4 kB 00:00
jenkins | 2.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.0 MB 00:03
Resolving Dependencies
--> Running transaction check
---> Package postgresql-server.x86_64 0:8.4.20-6.el6 will be installed
--> Processing Dependency: postgresql-libs(x86-64) = 8.4.20-6.el6 for package: postgresql-server-8.4.20-6.el6.x86_64
--> Processing Dependency: postgresql(x86-64) = 8.4.20-6.el6 for package: postgresql-server-8.4.20-6.el6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql-server-8.4.20-6.el6.x86_64
--> Running transaction check
---> Package postgresql.x86_64 0:8.4.20-6.el6 will be installed
---> Package postgresql-libs.x86_64 0:8.4.20-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
postgresql-server x86_64 8.4.20-6.el6 base 3.4 M
Installing for dependencies:
postgresql x86_64 8.4.20-6.el6 base 2.6 M
postgresql-libs x86_64 8.4.20-6.el6 base 202 k
Transaction Summary
=============================================================================================================================================================================================
Install 3 Package(s)
Total download size: 6.2 M
Installed size: 29 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): postgresql-8.4.20-6.el6.x86_64.rpm | 2.6 MB 00:04
(2/3): postgresql-libs-8.4.20-6.el6.x86_64.rpm | 202 kB 00:00
(3/3): postgresql-server-8.4.20-6.el6.x86_64.rpm | 3.4 MB 00:04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 703 kB/s | 6.2 MB 00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : postgresql-libs-8.4.20-6.el6.x86_64 1/3
Installing : postgresql-8.4.20-6.el6.x86_64 2/3
Installing : postgresql-server-8.4.20-6.el6.x86_64 3/3
Verifying : postgresql-server-8.4.20-6.el6.x86_64 1/3
Verifying : postgresql-libs-8.4.20-6.el6.x86_64 2/3
Verifying : postgresql-8.4.20-6.el6.x86_64 3/3
Installed:
postgresql-server.x86_64 0:8.4.20-6.el6
Dependency Installed:
postgresql.x86_64 0:8.4.20-6.el6 postgresql-libs.x86_64 0:8.4.20-6.el6
Complete!
[root@cent ~]#
Initialize PostgreSQL database.
[root@cent ~]# postgresql-setup initdb
[root@cent ~]# systemctl start postgresql
Starting postgresql service: [ OK ]
[root@cent ~]#
Now Check status using below command :
[root@cent ~]# systemctl status postgresql
postmaster (pid 1675) is running...
As an additional step to secure PostgreSQL default user, which has a blank password, issue the below command with root privileges in order to change the password.
[root@cent ~]# sudo -u postgres psql
could not change directory to "/root"
psql (8.4.20)
Type "help" for help.
postgres=# \password postgres
Enter new password: ************
Enter it again: ************
postgres=#
Password for user postgres has been set successfully.
To exit form PostgreSQL command line utility.
postgres=# \q
Step 2: Install Python 2.7
By default Centos 7.x have Python 2.7.x version installed.
[root@cent ~]# vi /etc/yum.repos.d/odoo.repo
Append below mentioned code into this file :
[odoo-nightly]
name=Odoo Nightly repository
baseurl=http://nightly.odoo.com/9.0/nightly/rpm/
enabled=1
gpgcheck=1
gpgkey=https://nightly.odoo.com/odoo.key
Save and Exit from file.
Start odoo installation using Yum installer.
[root@cent~]# yum install odoo
Loaded plugins: fastestmirror
odoo-nightly | 2.9 kB 00:00:00
odoo-nightly/primary_db | 2.6 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: centos.mirror.net.in
* epel: kartolo.sby.datautama.net.id
* extras: centos.mirror.net.in
* updates: centos.mirror.net.in
Resolving Dependencies
--> Running transaction check
---> Package odoo.noarch 0:9.0c_20160901-1 will be installed
--> Processing Dependency: python-feedparser for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-jinja2 for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: pytz for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-xlwt for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: babel for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-reportlab for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: libxslt-python for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-psycopg2 for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-mako for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-requests for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: pyparsing for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-passlib for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-ldap for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-mock for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-werkzeug for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-lxml for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-psutil for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: pychart for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-imaging for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-yaml for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-dateutil for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-docutils for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: nodejs-less for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-vobject for package: odoo-9.0c_20160901-1.noarch
--> Processing Dependency: python-openid for package: odoo-9.0c_20160901-1.noarch
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed
---> Package babel.noarch 0:0.9.6-8.el7 will be installed
--> Processing Dependency: python-setuptools for package: babel-0.9.6-8.el7.noarch
--> Processing Dependency: python-babel for package: babel-0.9.6-8.el7.noarch
---> Package libxslt-python.x86_64 0:1.1.28-5.el7 will be installed
---> Package nodejs-less.noarch 0:1.7.0-2.el7 will be installed
--> Processing Dependency: npm(ycssmin) < 1.1 for package: nodejs-less-1.7.0-2.el7.noarch
--> Processing Dependency: npm(ycssmin) >= 1.0.1 for package: nodejs-less-1.7.0-2.el7.noarch
--> Processing Dependency: nodejs(engine) >= 0.8.0 for package: nodejs-less-1.7.0-2.el7.noarch
--> Processing Dependency: nodejs for package: nodejs-less-1.7.0-2.el7.noarch
---> Package pychart.noarch 0:1.39-17.el7 will be installed
---> Package pyparsing.noarch 0:1.5.6-9.el7 will be installed
---> Package python-dateutil.noarch 0:1.5-7.el7 will be installed
---> Package python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7 will be installed
---> Package python-feedparser.noarch 0:5.1.3-3.el7 will be installed
--> Processing Dependency: python-chardet for package: python-feedparser-5.1.3-3.el7.noarch
---> Package python-jinja2.noarch 0:2.7.2-2.el7 will be installed
--> Processing Dependency: python-markupsafe for package: python-jinja2-2.7.2-2.el7.noarch
---> Package python-ldap.x86_64 0:2.4.15-2.el7 will be installed
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
---> Package python-mako.noarch 0:0.8.1-2.el7 will be installed
--> Processing Dependency: python-beaker for package: python-mako-0.8.1-2.el7.noarch
---> Package python-openid.noarch 0:2.2.5-7.el7 will be installed
---> Package python-passlib.noarch 0:1.6.2-2.el7 will be installed
---> Package python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7 will be installed
--> Processing Dependency: libwebp.so.4()(64bit) for package: python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64
---> Package python-psutil.x86_64 0:2.2.1-1.el7 will be installed
---> Package python-psycopg2.x86_64 0:2.5.1-3.el7 will be installed
---> Package python-reportlab.x86_64 0:2.5-9.el7 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: python-reportlab-2.5-9.el7.x86_64
---> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed
--> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-1.el7_1.noarch
---> Package python-vobject.noarch 0:0.8.1c-8.el7 will be installed
---> Package python-werkzeug.noarch 0:0.9.1-2.el7 will be installed
---> Package python-xlwt.noarch 0:0.7.4-5.el7 will be installed
--> Processing Dependency: antlr-python for package: python-xlwt-0.7.4-5.el7.noarch
---> Package python2-mock.noarch 0:1.0.1-9.el7 will be installed
---> Package pytz.noarch 0:2012d-5.el7 will be installed
--> Running transaction check
---> Package antlr-python.noarch 0:2.7.7-30.el7 will be installed
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package libwebp.x86_64 0:0.3.0-3.el7 will be installed
---> Package nodejs.x86_64 0:0.10.46-1.el7 will be installed
--> Processing Dependency: libuv.so.0.10()(64bit) for package: nodejs-0.10.46-1.el7.x86_64
---> Package python-babel.noarch 0:0.9.6-8.el7 will be installed
---> Package python-beaker.noarch 0:1.5.4-10.el7 will be installed
--> Processing Dependency: python-paste for package: python-beaker-1.5.4-10.el7.noarch
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
--> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-4.el7.noarch
---> Package python-urllib3.noarch 0:1.10.2-2.el7_1 will be installed
--> Processing Dependency: python-six for package: python-urllib3-1.10.2-2.el7_1.noarch
---> Package ycssmin.noarch 0:1.0.1-6.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libuv.x86_64 1:0.10.34-2.el7 will be installed
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be installed
--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
---> Package python-paste.noarch 0:1.7.5.1-9.20111221hg1498.el7 will be installed
--> Processing Dependency: python-tempita for package: python-paste-1.7.5.1-9.20111221hg1498.el7.noarch
--> Processing Dependency: pyOpenSSL for package: python-paste-1.7.5.1-9.20111221hg1498.el7.noarch
---> Package python-six.noarch 0:1.9.0-2.el7 will be installed
--> Running transaction check
---> Package pyOpenSSL.x86_64 0:0.13.1-3.el7 will be installed
---> Package python-backports.x86_64 0:1.0-8.el7 will be installed
---> Package python-tempita.noarch 0:0.5.1-6.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
odoo noarch 9.0c_20160901-1 odoo-nightly 94 M
Installing for dependencies:
PyYAML x86_64 3.10-11.el7 base 153 k
antlr-python noarch 2.7.7-30.el7 base 50 k
babel noarch 0.9.6-8.el7 base 15 k
dejavu-fonts-common noarch 2.33-6.el7 base 64 k
dejavu-sans-fonts noarch 2.33-6.el7 base 1.4 M
libuv x86_64 1:0.10.34-2.el7 epel 62 k
libwebp x86_64 0.3.0-3.el7 base 170 k
libxslt-python x86_64 1.1.28-5.el7 base 59 k
nodejs x86_64 0.10.46-1.el7 epel 2.0 M
nodejs-less noarch 1.7.0-2.el7 epel 102 k
pyOpenSSL x86_64 0.13.1-3.el7 base 133 k
pychart noarch 1.39-17.el7 epel 190 k
pyparsing noarch 1.5.6-9.el7 base 94 k
python-babel noarch 0.9.6-8.el7 base 1.4 M
python-backports x86_64 1.0-8.el7 base 5.8 k
python-backports-ssl_match_hostname noarch 3.4.0.2-4.el7 base 12 k
python-beaker noarch 1.5.4-10.el7 base 80 k
python-chardet noarch 2.2.1-1.el7_1 base 227 k
python-dateutil noarch 1.5-7.el7 base 85 k
python-docutils noarch 0.11-0.2.20130715svn7687.el7 base 1.5 M
python-feedparser noarch 5.1.3-3.el7 epel 107 k
python-jinja2 noarch 2.7.2-2.el7 base 515 k
python-ldap x86_64 2.4.15-2.el7 base 159 k
python-lxml x86_64 3.2.1-4.el7 base 758 k
python-mako noarch 0.8.1-2.el7 base 307 k
python-markupsafe x86_64 0.11-10.el7 base 25 k
python-openid noarch 2.2.5-7.el7 epel 211 k
python-passlib noarch 1.6.2-2.el7 epel 480 k
python-paste noarch 1.7.5.1-9.20111221hg1498.el7 base 866 k
python-pillow x86_64 2.0.0-19.gitd1c6db8.el7 base 438 k
python-psutil x86_64 2.2.1-1.el7 epel 114 k
python-psycopg2 x86_64 2.5.1-3.el7 base 132 k
python-reportlab x86_64 2.5-9.el7 base 1.2 M
python-requests noarch 2.6.0-1.el7_1 base 94 k
python-setuptools noarch 0.9.8-4.el7 base 396 k
python-six noarch 1.9.0-2.el7 base 29 k
python-tempita noarch 0.5.1-6.el7 base 33 k
python-urllib3 noarch 1.10.2-2.el7_1 base 100 k
python-vobject noarch 0.8.1c-8.el7 epel 88 k
python-werkzeug noarch 0.9.1-2.el7 extras 562 k
python-xlwt noarch 0.7.4-5.el7 epel 164 k
python2-mock noarch 1.0.1-9.el7 epel 92 k
pytz noarch 2012d-5.el7 base 38 k
ycssmin noarch 1.0.1-6.el7 epel 12 k
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package (+44 Dependent packages)
Total download size: 109 M
Installed size: 463 M
Is this ok [y/d/N]: y
Downloading packages:
(1/45): dejavu-fonts-common-2.33-6.el7.noarch.rpm | 64 kB 00:00:00
(2/45): babel-0.9.6-8.el7.noarch.rpm | 15 kB 00:00:01
(3/45): antlr-python-2.7.7-30.el7.noarch.rpm | 50 kB 00:00:01
(4/45): libuv-0.10.34-2.el7.x86_64.rpm | 62 kB 00:00:01
(5/45): libxslt-python-1.1.28-5.el7.x86_64.rpm | 59 kB 00:00:00
(6/45): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00:02
(7/45): libwebp-0.3.0-3.el7.x86_64.rpm | 170 kB 00:00:01
(8/45): pyOpenSSL-0.13.1-3.el7.x86_64.rpm | 133 kB 00:00:01
(9/45): nodejs-less-1.7.0-2.el7.noarch.rpm | 102 kB 00:00:02
(10/45): pyparsing-1.5.6-9.el7.noarch.rpm | 94 kB 00:00:01
(11/45): dejavu-sans-fonts-2.33-6.el7.noarch.rpm | 1.4 MB 00:00:11
(12/45): python-backports-1.0-8.el7.x86_64.rpm | 5.8 kB 00:00:00
(13/45): nodejs-0.10.46-1.el7.x86_64.rpm | 2.0 MB 00:00:09
(14/45): python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch.rpm | 12 kB 00:00:00
(15/45): python-chardet-2.2.1-1.el7_1.noarch.rpm | 227 kB 00:00:01
(16/45): python-dateutil-1.5-7.el7.noarch.rpm | 85 kB 00:00:00
(17/45): pychart-1.39-17.el7.noarch.rpm | 190 kB 00:00:11
(18/45): python-beaker-1.5.4-10.el7.noarch.rpm | 80 kB 00:00:04
(19/45): python-feedparser-5.1.3-3.el7.noarch.rpm | 107 kB 00:00:00
(20/45): python-jinja2-2.7.2-2.el7.noarch.rpm | 515 kB 00:00:04
python-lxml-3.2.1-4.el7.x86_64 FAILED 11% [======== ] 477 kB/s | 13 MB 00:03:25 ETA
http://mirror.digistar.vn/centos/7.2.1511/os/x86_64/Packages/python-lxml-3.2.1-4.el7.x86_64.rpm: [Errno 14] curl#56 - "Recv failure: Connection reset by peer"77 kB/s | 13 MB 00:03:25 ETA
Trying other mirror.
(21/45): python-ldap-2.4.15-2.el7.x86_64.rpm | 159 kB 00:00:08
(22/45): python-markupsafe-0.11-10.el7.x86_64.rpm | 25 kB 00:00:00
(23/45): python-openid-2.2.5-7.el7.noarch.rpm | 211 kB 00:00:01
(24/45): python-mako-0.8.1-2.el7.noarch.rpm | 307 kB 00:00:06
(25/45): python-babel-0.9.6-8.el7.noarch.rpm | 1.4 MB 00:00:24
(26/45): python-passlib-1.6.2-2.el7.noarch.rpm | 480 kB 00:00:05
(27/45): python-psutil-2.2.1-1.el7.x86_64.rpm | 114 kB 00:00:00
(28/45): python-psycopg2-2.5.1-3.el7.x86_64.rpm | 132 kB 00:00:00
(29/45): python-reportlab-2.5-9.el7.x86_64.rpm | 1.2 MB 00:00:02
(30/45): python-requests-2.6.0-1.el7_1.noarch.rpm | 94 kB 00:00:00
(31/45): python-setuptools-0.9.8-4.el7.noarch.rpm | 396 kB 00:00:00
(32/45): python-six-1.9.0-2.el7.noarch.rpm | 29 kB 00:00:00
(33/45): python-docutils-0.11-0.2.20130715svn7687.el7.noarch.rpm | 1.5 MB 00:00:23
(34/45): python-tempita-0.5.1-6.el7.noarch.rpm | 33 kB 00:00:00
(35/45): python-paste-1.7.5.1-9.20111221hg1498.el7.noarch.rpm | 866 kB 00:00:06
(36/45): python-urllib3-1.10.2-2.el7_1.noarch.rpm | 100 kB 00:00:00
(37/45): python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm | 438 kB 00:00:06
(38/45): python-vobject-0.8.1c-8.el7.noarch.rpm | 88 kB 00:00:00
(39/45): pytz-2012d-5.el7.noarch.rpm | 38 kB 00:00:00
(40/45): ycssmin-1.0.1-6.el7.noarch.rpm | 12 kB 00:00:01
python2-mock-1.0.1-9.el7.noarc FAILED
https://free.nchc.org.tw/fedora-epel/7/x86_64/p/python2-mock-1.0.1-9.el7.noarch.rpm: [Errno 14] curl#60 - "Peer's Certificate issuer is not recognized." ] 688 kB/s | 21 MB 00:02:09 ETA
Trying other mirror.
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
Please collect information about the specific failure that occurs in your environment,
using the instructions in: https://access.redhat.com/solutions/1527033 and create a bug on https://bugs.centos.org/
(41/45): python-xlwt-0.7.4-5.el7.noarch.rpm | 164 kB 00:00:02
(42/45): python-lxml-3.2.1-4.el7.x86_64.rpm | 758 kB 00:00:00
(43/45): python2-mock-1.0.1-9.el7.noarch.rpm | 92 kB 00:00:00
(44/45): python-werkzeug-0.9.1-2.el7.noarch.rpm | 562 kB 00:00:09
warning: /var/cache/yum/x86_64/7/odoo-nightly/packages/odoo_9.0c.20160901.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 8183cbb5: NOKEY================-] 287 kB/s | 108 MB 00:00:00 ETA
Public key for odoo_9.0c.20160901.noarch.rpm is not installed
(45/45): odoo_9.0c.20160901.noarch.rpm | 94 MB 00:04:58
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 369 kB/s | 109 MB 00:05:01
Retrieving key from https://nightly.odoo.com/odoo.key
Importing GPG key 0x8183CBB5:
Userid : "Odoo SA, Linux Package Signing Key <info@odoo.com>"
Fingerprint: 5d13 4c92 4cb0 6330 dcef e2a1 def2 a219 8183 cbb5
From : https://nightly.odoo.com/odoo.key
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-chardet-2.2.1-1.el7_1.noarch 1/45
Installing : python-babel-0.9.6-8.el7.noarch 2/45
Installing : python-markupsafe-0.11-10.el7.x86_64 3/45
Installing : python-dateutil-1.5-7.el7.noarch 4/45
Installing : python-lxml-3.2.1-4.el7.x86_64 5/45
Installing : python-openid-2.2.5-7.el7.noarch 6/45
Installing : python-jinja2-2.7.2-2.el7.noarch 7/45
Installing : python-feedparser-5.1.3-3.el7.noarch 8/45
Installing : python-passlib-1.6.2-2.el7.noarch 9/45
Installing : libwebp-0.3.0-3.el7.x86_64 10/45
Installing : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64 11/45
Installing : python-docutils-0.11-0.2.20130715svn7687.el7.noarch 12/45
Installing : pytz-2012d-5.el7.noarch 13/45
Installing : PyYAML-3.10-11.el7.x86_64 14/45
Installing : antlr-python-2.7.7-30.el7.noarch 15/45
Installing : python-xlwt-0.7.4-5.el7.noarch 16/45
Installing : python-tempita-0.5.1-6.el7.noarch 17/45
Installing : python2-mock-1.0.1-9.el7.noarch 18/45
Installing : pychart-1.39-17.el7.noarch 19/45
Installing : 1:libuv-0.10.34-2.el7.x86_64 20/45
Installing : nodejs-0.10.46-1.el7.x86_64 21/45
Installing : ycssmin-1.0.1-6.el7.noarch 22/45
Installing : nodejs-less-1.7.0-2.el7.noarch 23/45
Installing : python-ldap-2.4.15-2.el7.x86_64 24/45
Installing : libxslt-python-1.1.28-5.el7.x86_64 25/45
Installing : python-backports-1.0-8.el7.x86_64 26/45
Installing : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch 27/45
Installing : python-setuptools-0.9.8-4.el7.noarch 28/45
Installing : python-vobject-0.8.1c-8.el7.noarch 29/45
Installing : babel-0.9.6-8.el7.noarch 30/45
Installing : pyOpenSSL-0.13.1-3.el7.x86_64 31/45
Installing : python-paste-1.7.5.1-9.20111221hg1498.el7.noarch 32/45
Installing : python-beaker-1.5.4-10.el7.noarch 33/45
Installing : python-mako-0.8.1-2.el7.noarch 34/45
Installing : python-six-1.9.0-2.el7.noarch 35/45
Installing : python-urllib3-1.10.2-2.el7_1.noarch 36/45
Installing : python-requests-2.6.0-1.el7_1.noarch 37/45
Installing : dejavu-fonts-common-2.33-6.el7.noarch 38/45
Installing : dejavu-sans-fonts-2.33-6.el7.noarch 39/45
Installing : python-reportlab-2.5-9.el7.x86_64 40/45
Installing : python-psycopg2-2.5.1-3.el7.x86_64 41/45
Installing : python-psutil-2.2.1-1.el7.x86_64 42/45
Installing : pyparsing-1.5.6-9.el7.noarch 43/45
Installing : python-werkzeug-0.9.1-2.el7.noarch 44/45
Installing : odoo-9.0c_20160901-1.noarch 45/45
Searching for pyPdf
Reading https://pypi.python.org/simple/pyPdf/
Best match: pyPdf 1.13
Downloading https://pypi.python.org/packages/bd/22/e1df75dffb7679344bcf986abd473d7c0e22ba976f2caef31551e394a3a2/pyPdf-1.13.tar.gz#md5=7a75ef56f227b78ae62d6e38d4b6b1da
Processing pyPdf-1.13.tar.gz
Writing /tmp/easy_install-dUHrvb/pyPdf-1.13/setup.cfg
Running pyPdf-1.13/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dUHrvb/pyPdf-1.13/egg-dist-tmp-iqwrAI
zip_safe flag not set; analyzing archive contents...
Adding pyPdf 1.13 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/pyPdf-1.13-py2.7.egg
Processing dependencies for pyPdf
Finished processing dependencies for pyPdf
Searching for vatnumber
Reading https://pypi.python.org/simple/vatnumber/
Best match: vatnumber 1.2
Downloading https://pypi.python.org/packages/d7/7c/869b59cd9cb6ed1057372cb704a3b86688ae8c12cfc7fcaedbc1424f5e7f/vatnumber-1.2.tar.gz#md5=3b1541be3834a865f6f7bcce809ffb25
Processing vatnumber-1.2.tar.gz
Writing /tmp/easy_install-lclNZ0/vatnumber-1.2/setup.cfg
Running vatnumber-1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lclNZ0/vatnumber-1.2/egg-dist-tmp-d0c8X7
zip_safe flag not set; analyzing archive contents...
Adding vatnumber 1.2 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/vatnumber-1.2-py2.7.egg
Processing dependencies for vatnumber
Searching for python-stdnum
Reading https://pypi.python.org/simple/python-stdnum/
Best match: python-stdnum 1.4
Downloading https://pypi.python.org/packages/9c/85/28bea8e8ac00ef571efbdc52c58d875a8042e575a5878229b642cd72feda/python-stdnum-1.4.tar.gz#md5=05501e7ee55e5ccdfabfeede100d2615
Processing python-stdnum-1.4.tar.gz
Writing /tmp/easy_install-IRhb4I/python-stdnum-1.4/setup.cfg
Running python-stdnum-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IRhb4I/python-stdnum-1.4/egg-dist-tmp-am8k_a
zip_safe flag not set; analyzing archive contents...
stdnum.util: module references __path__
Adding python-stdnum 1.4 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/python_stdnum-1.4-py2.7.egg
Finished processing dependencies for vatnumber
Searching for pydot
Reading https://pypi.python.org/simple/pydot/
Best match: pydot 1.2.2
Downloading https://pypi.python.org/packages/87/d0/3f3a3d2a57b2ca29ea37c93917a3b25858f4cccc5611767bcdef9770ccc7/pydot-1.2.2.tar.gz#md5=fad67d9798dbb33bb3dca3e6d4c47665
Processing pydot-1.2.2.tar.gz
Writing /tmp/easy_install-l88m0I/pydot-1.2.2/setup.cfg
Running pydot-1.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-l88m0I/pydot-1.2.2/egg-dist-tmp-k3fon_
zip_safe flag not set; analyzing archive contents...
Adding pydot 1.2.2 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/pydot-1.2.2-py2.7.egg
Processing dependencies for pydot
Searching for pyparsing>=2.1.4
Reading https://pypi.python.org/simple/pyparsing/
Best match: pyparsing 2.1.8
Downloading https://pypi.python.org/packages/8f/ad/3dc140bbac31e144585035be42d65b2edb2d502af82c9a5284f7d2662bf7/pyparsing-2.1.8.zip#md5=47342b0e7ab5c3a127d764a050f9bd1f
Processing pyparsing-2.1.8.zip
Writing /tmp/easy_install-AL_xc_/pyparsing-2.1.8/setup.cfg
Running pyparsing-2.1.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-AL_xc_/pyparsing-2.1.8/egg-dist-tmp-3jyfcV
zip_safe flag not set; analyzing archive contents...
Adding pyparsing 2.1.8 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/pyparsing-2.1.8-py2.7.egg
Finished processing dependencies for pydot
Searching for psycogreen
Reading https://pypi.python.org/simple/psycogreen/
Best match: psycogreen 1.0
Downloading https://pypi.python.org/packages/66/29/9250c6a11822f56a1c2f703e4031d173c5b3725095d3422c11cafcc5427f/psycogreen-1.0.tar.gz#md5=7a32d8f5abdb4ce17ac512f8c8a698a9
Processing psycogreen-1.0.tar.gz
Writing /tmp/easy_install-RDaHQk/psycogreen-1.0/setup.cfg
Running psycogreen-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-RDaHQk/psycogreen-1.0/egg-dist-tmp-hhbE1s
zip_safe flag not set; analyzing archive contents...
Adding psycogreen 1.0 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/psycogreen-1.0-py2.7.egg
Processing dependencies for psycogreen
Finished processing dependencies for psycogreen
Searching for suds
Reading https://pypi.python.org/simple/suds/
Best match: suds 0.4
Downloading https://pypi.python.org/packages/bc/d6/960acce47ee6f096345fe5a7d9be7708135fd1d0713571836f073efc7393/suds-0.4.tar.gz#md5=b7502de662341ed7275b673e6bd73191
Processing suds-0.4.tar.gz
Writing /tmp/easy_install-CBz7de/suds-0.4/setup.cfg
Running suds-0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CBz7de/suds-0.4/egg-dist-tmp-d00oGR
zip_safe flag not set; analyzing archive contents...
Adding suds 0.4 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/suds-0.4-py2.7.egg
Processing dependencies for suds
Finished processing dependencies for suds
Searching for ofxparse
Reading https://pypi.python.org/simple/ofxparse/
Best match: ofxparse 0.15
Downloading https://pypi.python.org/packages/bf/be/e6a2034b61349a069d51b37b8b47493428b19a9b71965c8720385a9e42be/ofxparse-0.15-py2.7.egg#md5=d363082d950abde4c1dabd874a119b27
Processing ofxparse-0.15-py2.7.egg
Moving ofxparse-0.15-py2.7.egg to /usr/lib/python2.7/site-packages
Adding ofxparse 0.15 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/ofxparse-0.15-py2.7.egg
Processing dependencies for ofxparse
Searching for beautifulsoup4
Reading https://pypi.python.org/simple/beautifulsoup4/
Best match: beautifulsoup4 4.5.1
Downloading https://pypi.python.org/packages/86/ea/8e9fbce5c8405b9614f1fd304f7109d9169a3516a493ce4f7f77c39435b7/beautifulsoup4-4.5.1.tar.gz#md5=994abd90e691beaf7d42c00ffb2f3a67
Processing beautifulsoup4-4.5.1.tar.gz
Writing /tmp/easy_install-azoyBt/beautifulsoup4-4.5.1/setup.cfg
Running beautifulsoup4-4.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-azoyBt/beautifulsoup4-4.5.1/egg-dist-tmp-zCp1HL
zip_safe flag not set; analyzing archive contents...
Adding beautifulsoup4 4.5.1 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/beautifulsoup4-4.5.1-py2.7.egg
Finished processing dependencies for ofxparse
Verifying : python-docutils-0.11-0.2.20130715svn7687.el7.noarch 1/45
Verifying : python-jinja2-2.7.2-2.el7.noarch 2/45
Verifying : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch 3/45
Verifying : python-werkzeug-0.9.1-2.el7.noarch 4/45
Verifying : python-lxml-3.2.1-4.el7.x86_64 5/45
Verifying : nodejs-less-1.7.0-2.el7.noarch 6/45
Verifying : pyparsing-1.5.6-9.el7.noarch 7/45
Verifying : nodejs-0.10.46-1.el7.x86_64 8/45
Verifying : python-openid-2.2.5-7.el7.noarch 9/45
Verifying : python-mako-0.8.1-2.el7.noarch 10/45
Verifying : python-dateutil-1.5-7.el7.noarch 11/45
Verifying : python-psutil-2.2.1-1.el7.x86_64 12/45
Verifying : python-psycopg2-2.5.1-3.el7.x86_64 13/45
Verifying : dejavu-fonts-common-2.33-6.el7.noarch 14/45
Verifying : python-feedparser-5.1.3-3.el7.noarch 15/45
Verifying : python-six-1.9.0-2.el7.noarch 16/45
Verifying : python-vobject-0.8.1c-8.el7.noarch 17/45
Verifying : python-markupsafe-0.11-10.el7.x86_64 18/45
Verifying : dejavu-sans-fonts-2.33-6.el7.noarch 19/45
Verifying : python-babel-0.9.6-8.el7.noarch 20/45
Verifying : odoo-9.0c_20160901-1.noarch 21/45
Verifying : python-paste-1.7.5.1-9.20111221hg1498.el7.noarch 22/45
Verifying : pyOpenSSL-0.13.1-3.el7.x86_64 23/45
Verifying : python-backports-1.0-8.el7.x86_64 24/45
Verifying : python-reportlab-2.5-9.el7.x86_64 25/45
Verifying : libxslt-python-1.1.28-5.el7.x86_64 26/45
Verifying : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64 27/45
Verifying : python-ldap-2.4.15-2.el7.x86_64 28/45
Verifying : python-setuptools-0.9.8-4.el7.noarch 29/45
Verifying : 1:libuv-0.10.34-2.el7.x86_64 30/45
Verifying : pychart-1.39-17.el7.noarch 31/45
Verifying : python2-mock-1.0.1-9.el7.noarch 32/45
Verifying : python-beaker-1.5.4-10.el7.noarch 33/45
Verifying : python-tempita-0.5.1-6.el7.noarch 34/45
Verifying : ycssmin-1.0.1-6.el7.noarch 35/45
Verifying : python-requests-2.6.0-1.el7_1.noarch 36/45
Verifying : python-xlwt-0.7.4-5.el7.noarch 37/45
Verifying : babel-0.9.6-8.el7.noarch 38/45
Verifying : python-chardet-2.2.1-1.el7_1.noarch 39/45
Verifying : antlr-python-2.7.7-30.el7.noarch 40/45
Verifying : PyYAML-3.10-11.el7.x86_64 41/45
Verifying : python-urllib3-1.10.2-2.el7_1.noarch 42/45
Verifying : pytz-2012d-5.el7.noarch 43/45
Verifying : libwebp-0.3.0-3.el7.x86_64 44/45
Verifying : python-passlib-1.6.2-2.el7.noarch 45/45
Installed:
odoo.noarch 0:9.0c_20160901-1
Dependency Installed:
PyYAML.x86_64 0:3.10-11.el7 antlr-python.noarch 0:2.7.7-30.el7 babel.noarch 0:0.9.6-8.el7
dejavu-fonts-common.noarch 0:2.33-6.el7 dejavu-sans-fonts.noarch 0:2.33-6.el7 libuv.x86_64 1:0.10.34-2.el7
libwebp.x86_64 0:0.3.0-3.el7 libxslt-python.x86_64 0:1.1.28-5.el7 nodejs.x86_64 0:0.10.46-1.el7
nodejs-less.noarch 0:1.7.0-2.el7 pyOpenSSL.x86_64 0:0.13.1-3.el7 pychart.noarch 0:1.39-17.el7
pyparsing.noarch 0:1.5.6-9.el7 python-babel.noarch 0:0.9.6-8.el7 python-backports.x86_64 0:1.0-8.el7
python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 python-beaker.noarch 0:1.5.4-10.el7 python-chardet.noarch 0:2.2.1-1.el7_1
python-dateutil.noarch 0:1.5-7.el7 python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7 python-feedparser.noarch 0:5.1.3-3.el7
python-jinja2.noarch 0:2.7.2-2.el7 python-ldap.x86_64 0:2.4.15-2.el7 python-lxml.x86_64 0:3.2.1-4.el7
python-mako.noarch 0:0.8.1-2.el7 python-markupsafe.x86_64 0:0.11-10.el7 python-openid.noarch 0:2.2.5-7.el7
python-passlib.noarch 0:1.6.2-2.el7 python-paste.noarch 0:1.7.5.1-9.20111221hg1498.el7 python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7
python-psutil.x86_64 0:2.2.1-1.el7 python-psycopg2.x86_64 0:2.5.1-3.el7 python-reportlab.x86_64 0:2.5-9.el7
python-requests.noarch 0:2.6.0-1.el7_1 python-setuptools.noarch 0:0.9.8-4.el7 python-six.noarch 0:1.9.0-2.el7
python-tempita.noarch 0:0.5.1-6.el7 python-urllib3.noarch 0:1.10.2-2.el7_1 python-vobject.noarch 0:0.8.1c-8.el7
python-werkzeug.noarch 0:0.9.1-2.el7 python-xlwt.noarch 0:0.7.4-5.el7 python2-mock.noarch 0:1.0.1-9.el7
pytz.noarch 0:2012d-5.el7 ycssmin.noarch 0:1.0.1-6.el7
Complete!
[root@cent~]#
[root@cent~]# systemctl start odoo
Check status of service using below command.
[root@cent~]# systemctl status odoo
Now enable service to start at boot time.
Step 3: Enable port from firewall
Lest check firewall status first using below command.
Now allow odoo port 8069 using below command
[root@cent ~]# systemctl enable odoo
Created symlink from /etc/systemd/system/multi-user.target.wants/odoo.service to /usr/lib/systemd/system/odoo.service.
Step 3: Enable port from firewall
Lest check firewall status first using below command.
[root@localhost ~]# firewall-cmd --state
running
Now allow odoo port 8069 using below command
[root@cent~]# firewall-cmd --zone=public --permanent --add-port=8069/tcp
Let's reload firewall server to apply changes:
[root@cent~]# firewall-cmd --reload
Let's access odoo service from browser:
http://10.0.0.239:8069/web/database/selector
Fill the required details as follow
I am trying to import my 1.4 GB database that have .zip format in odoo 10. I tried multiple times but its always show me one error
ReplyDeleteDatabase restore error : too much data for base64 line
kindly please help me.
thank you in advanced.
Hello,
DeleteWhat method you are using to restore database?
Dear Amar,
DeleteI used browser for restore - http://localhost:8069/web/database/manager
thank you for your reply.
if possible, can you please give me your skype id so we will be talk on chat.
my skype id : amrit@sagar.com.np
Could you please try to restore Database through MySQL command. through browser there might be limit of database size.
DeleteWe are using postgresql database and database backup file is in .zip format. when we unzip the file there is dump.sql, manifest.json and filestore folder. We are also tied to restore .sql file but not working.
Deletethank you.
what is the complete error, during restoring through browser ?
DeleteDatabase restore error: too much data for base64 line
Deletekindly please provide me you email id and i will send you a screenshot
thank you