Installations-CentOS7
=================================
Enable SSH root access for installation purpose only
Configure NIC(Run it on Statis IP)
#vi /etc/sysconfig/network-scripts/ifcg-NIC
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.220.15
NETMASK=255.255.255.0
NETWORK=192.168.220.0
DNS2=192.168.220.29
DNS3=8.8.4.4
DNS1=8.8.8.8
#DEFROUTE=yes
#PEERDNS=yes
#PEERROUTES=yes
#IPV4_FAILURE_FATAL=no
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
#IPV6_DEFROUTE=yes
#IPV6_PEERDNS=yes
#IPV6_PEERROUTES=yes
#IPV6_FAILURE_FATAL=no
NAME=eno16777728
UUID=7709c6de-e848-4b68-8a59-567d74911859
DEVICE=eno16777728
ONBOOT=yes
======/etc/sysconfig/network=========
Add default gateway to /etc/sysconfig/network file to make internet work
#vi /etc/sysconfig/network
GATEWAY=192.168.220.29
Compiling binaries and configuring OdooV9
================================================
$ sudo yum install -y epel-release
$ sudo yum install -y postgresql-server
$ sudo postgresql-setup initdb
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo yum install -y yum-utils
$ sudo yum-config-manager --add-repo=https://nightly.odoo.com/9.0/nightly/rpm/odoo.repo
$ sudo yum install -y odoo
$ sudo systemctl enable odoo
$ sudo systemctl start odoo
$ yum --enablerepo=epel install -y python-pip
wkhtmltopdf installation(it is necessary to uninstall previous installed version)
Only wkhtmltopdf version 0.12.1 is compatible with odoo v9. wkhtmltopdf version 0.12.1 can be download here (https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.1/)
rpm -e wkhtmltopdf-0.12.1-1.el7.x86_64
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-centos7-amd64.rpm
yum install ./wkhtmltox-0.12.2.1_linux-centos7-amd64.rpm
ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
Browsing Web GUI and Entering Admin credentials
========================================================
No comments:
Post a Comment