FAQs
Developmenthow to install odoo 10 community or enterprise on centos 7
##https://www.odoo.com/documentation/10.0/setup/install.html
#update server repository pakage and install some utilities
sudo yum update
yum install nano
sudo yum install yum-utils
yum install openssl-devel bzip2-devel
sudo yum install git wget
sudo yum install -y gcc-c++
#install Postgresql
sudo yum install -y postgresql-server
sudo postgresql-setup initdb
sudo systemctl enable postgresql
sudo systemctl start postgresql
#install wkhtmltopdf to download pdf files
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
sudo yum localinstall wkhtmltox-0.12.5-1.centos7.x86_64.rpm -y
#install python2.7
cd
mkdir tmp
cd tmp
wget https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz
tar zxvf Python-2.7.15.tgz
cd Python-2.7.15
./configure --prefix=$HOME/opt/python-2.7.15 --with-ensurepip=install
./configure --enable-optimizations
make
make install
cd
export PATH=$HOME/opt/python-2.7.15/bin:$PATH
. ~/.bash_profile
#check python version
which python
sudo yum install epel-release
pip install setuptools==1.4
sudo yum install python-pip
git clone https://www.github.com/odoo/odoo --depth 1 --branch 10.0 /opt/odoo/odoo
pip install -r /opt/odoo/odoo/requirements.txt
sudo yum install openssh-server
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
wget https://nightly.odoo.com/10.0/nightly/rpm/odoo_10.0.latest.noarch.rpm
sudo yum localinstall odoo_10.0.latest.noarch.rpm
sudo systemctl enable odoo
sudo systemctl start odoo
sudo chown -R odoo: /usr/lib/python2.7/site-packages/odoo
sudo chown -R odoo: /var/lib/odoo
sudo chown -R odoo: /etc/odoo
sudo chown -R root: /var/log/odoo
sudo service odoo restart
#for odoo enterprise you need to install the following
sudo yum -y install python2-ofxparse
pip install tslib
pip install suds-jurko
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/p/python-BeautifulSoup-3.2.1-7.el7.noarch.rpm
sudo yum localinstall python-BeautifulSoup-3.2.1-7.el7.noarch.rpm
#####to remove any package
yum remove package-name
#if you need to remove postgresql
yum remove postgres\*
rm /var/lib/pgsql
sudo rm -rf /var/lib/postgresql/
sudo rm -rf /var/log/postgresql/
sudo rm -rf /etc/postgresql/
#Grep for the PostgreSQL packages in Fedora using ‘rpm’
You can use the rpm command with the -qa options to grep for any packages that contain “postgres” in their name:
rpm -qa | grep postgres
#Uninstall the PostgreSQL package using YUM remove
Once you’ve located the package, use YUM’s remove command to uninstall PostgreSQL from your Linux system:
yum list installed | grep postgres
#if you have isseue with nodjs or less
curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash -
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
sudo yum install nodejs
sudo npm install -g less
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo ln -s /opt/local/bin/lessc /usr/local/bin/lessc
sudo npm install -g less@3.0.4 less-plugin-clean-css
reboot
To install this Web App in your iPhone/iPad press and then Add to Home Screen.