Skip to main content

Posts

Showing posts from 2019

How to Install PostgreSQL 12 on CentOS/RHEL/OEL 7

This article will help you to install PostgreSQL 12 on CentOS/RHEL/OEL 7 system. 1.  Configure Yum Repository # rpm -Uvh https://yum.postgresql.org/12/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm 2. Install PostgreSQL 12 on CentOS # yum install postgresql12-server 3. Initialize PGDATA # /usr/pgsql-12/bin/postgresql-12-setup initdb PostgreSQL 12 default data directory location is /var/lib/pgsql/12/data 4. Enable PostgreSQL Server on reboot # systemctl enable postgresql-12.service 5. Start PostgreSQL Server # systemctl start postgresql-12.service 6. Verify PostgreSQL Installation # su - postgres -c "psql" psql (12.0) Type "help" for help. postgres=#   You may create a password for user Postgres for security purposes. postgres=# \password postgres Thanks!!!!!!!!!! Enjoy Programming!!! :) Referecnce: https://tecadmin.net/install-postgresql-11-on-centos/

Odoo 12: Unable to find Wkhtmltopdf on this system.

Hi, First of all very Happy New Year-2019 to each and everyone. Today, I am going to post my first article of this year. I hope it will help people. Today's post is about Wkhtmltopdf error for odoo12. Even after you install Wkhtmltopdf you may encounter this error if you are not installing the compatible version needed for odoo12. Odoo version: Odoo 12.0 (Community Edition) Error: OS: Ubuntu 18.04 LTS For Wkhtmltopdf compatible versions please follow the link: https://github.com/odoo/odoo/wiki/Wkhtmltopdf For different Wkhtmltopdf verions: https://builds.wkhtmltopdf.org/0.12.1.3/ Solution steps: sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo apt-get install -f sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin apt-get install -f will install the missing dependencies, which are shown as errors by the dpkg command.