Add memcache to PHP – CentOS 7
Install Memcached on your server if you haven't already done it: LINK Issue the following…
Our starting point is a 64-bit, fresh CentOS 7 (minimal ) machine.
Get your machine up to date before proceeding:
We’ll start by installing PostgreSQL
Since this is the first time installing PostgreSQL, we’ll need to initialize the server.
You should see the following which confirms success
Add PostgreSQL to startup
We’ll need to change the password of the default user to secure things.
Move into the PostgreSQL user:
The shell prompt should change and you should now see something like the following:
Log into PostgreSQL, issue the following at shell:
To change the password:
Now, head back to root
Install the Epel Repo:
Add the Odoo 8 repo to CentOS at /etc/yum.repos.d/odoo.repo
Edit the configuration file at /etc/odoo/openerp-server.conf, uncomment and set the admin_passwd with the password you set for the user postgres above
To print PDF reports you’ll need to install wkhtmltopdf, and to install wkhtmltopdf you’ll need to install the following dependencies
You’ll now need to download the appropriate version of wkhtmltopdf from wkhtmltopdf.org/downloads.html. In this case it was:
Add Odoo to startup
Now we need to open the port Odoo uses:
Change PostgreSQL character encoding to UTF-8
You should now be able to access the installation by pointing your browser to http://SERVER-IP:8069