Odoo Application Hosting with Cloud VPS

Odoo Application Hosting with Cloud VPS

Odoo ERP is a top choice for businesses seeking a flexible, scalable, and cost-effective. Unlike traditional systems with high fees and rigid setups, Odoo’s modular design lets you customize it to fit your needs. Plus, as an open-source platform, you’re free from vendor lock-in.

What sets Odoo apart is how effortlessly it connects sales, accounting, inventory, and HR, cutting down manual work and streamlining operations. AI automation handles routine tasks, saving time and effort. With a pleasant community and a marketplace full of apps, Odoo is a smart pick for businesses of all sizes.

Host Odoo Application on AccuWeb.Cloud for the Best Performance

If you want the Odoo Application to run smoothly, choosing the right cloud platform is key. AccuWeb.Cloud is built to meet all of Odoo’s recommended requirements, providing the latest infrastructure for a seamless experience. Whether you’re a small business or a growing enterprise, our VPS solutions come with high-speed SSD storage, optimized CPU and RAM, and scalable resources to keep things running efficiently.

Odoo 17 needs at least 2GB of RAM (16 cloudlets) for optimal performance and AccuWeb.Cloud delivers exactly that, ensuring a fast, reliable, and hassle-free setup.

Why Choose AccuWeb.Cloud?

  • Latest Configurations – AccuWeb.Cloud meets and exceeds the latest Odoo system requirements, providing the latest optimized Ubuntu VPS instances tailored for business applications.
  • Scalability – Easily scale your VPS as your business grows, ensuring Odoo runs efficiently under increasing workloads.
  • High Uptime & Reliability – Enjoy industry-leading uptime with robust cloud infrastructure, ensuring uninterrupted access to your Odoo instance.
  • Pay-As-You-Go Pricing – Only pay for the resources you use, making it a cost-effective hosting solution.
  • Expert Support – AccuWeb.Cloud offers professional technical support to assist with setup, optimization, and troubleshooting.

By hosting the latest Odoo Application on AccuWeb.Cloud, businesses can ensure a fast, secure, and hassle-free deployment, leveraging the latest cloud technology to drive efficiency and growth.

1) Installation of Odoo Community Edition via Cloud VPS

2) One-Click Installation of Odoo Community Edition from the Marketplace

Installation of Odoo Community Edition on Cloud VPS

Step 1: Setting Up Your Cloud VPS

1. Log in to your AccuWeb.Cloud dashboard.

2. Click on the New Environment and create a Cloud VPS.

New Environment

3. Make sure you’re using the latest OS—Ubuntu 22.04.

4. Ensure your server has at least 2GB RAM (16 cloudlets).

5. You need root access or a non-root user with sudo privileges.

Elastic VPS

6. Open the Web SSH terminal to write the command lines.

Web SSH

Save $100 in the next
5:00 minutes?

Register Here

Step 2: Updating To Latest System

Before installing anything, it’s best to update the system to avoid compatibility issues. Open the terminal and run:

sudo apt-get update -y

Update the system

sudo apt-get upgrade -y

Update the system

Step 3: Installing Required Dependencies

Odoo and PostgreSQL need several dependencies. Install them with:

sudo apt-get install -y python3-pip python3-dev python3-venv libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev -y

Odoo and PostgreSQL Dependencies

Step 4: Installing JavaScript Package Management

Odoo requires some JavaScript packages. Install them with:

sudo apt-get install -y npm

JavaScript packages

JavaScript packages

sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

JavaScript packages

Step 5: Installing Wkhtmltopdf

Wkhtmltopdf is needed for Odoo’s PDF reports. Install it with:

sudo wget 

https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb

Installing Wkhtmltopdf

sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb

Installing Wkhtmltopdf

sudo apt install -f

Installing Wkhtmltopdf

Step 6: Installing and Configuring PostgreSQL

Odoo uses PostgreSQL for its database. Install and verify it with:

sudo apt-get install postgresql -y

PostgreSQL database

sudo systemctl status postgresql

If PostgreSQL is not running, you will notice something like:

Save $100 in the next
5:00 minutes?

Register Here

PostgreSQL database

If PostgreSQL is not running, start it manually:

sudo systemctl start postgresql && sudo systemctl enable postgresql

PostgreSQL Database

sudo systemctl status postgresql

PostgreSQL Database

Step 7: Creating Odoo and PostgreSQL Users

1. Create an Odoo user:

useradd -m -U -r -d /opt/odoo17 -s /bin/bash odoo17

Create an Odoo user

2. Set a password:

Set a password

Enter your new password. Make sure it is strong.

New password: PasswordHere

Retype new password: PasswordHere

You will receive:

passwd: password updated successfully

3. Create a PostgreSQL user:

sudo su - postgres -c "createuser -s odoo17"

Create a PostgreSQL user

Step 8: Cloning Odoo and Setting Up Virtual Environment

1. Switch to the Odoo user:

su - odoo17

Switch to the Odoo user

2. Clone Odoo 17 repository:

git clone https://www.github.com/odoo/odoo --depth 1 --branch 17.0 /opt/odoo17/odoo17

Clone Odoo 17 repository

3. Set up the virtual environment and install all the dependencies:

cd /opt/odoo17
python3 -m venv odoo17-venv

Save $100 in the next
5:00 minutes?

Register Here
source odoo17-venv/bin/activate
pip install --upgrade pip

Virtual environment

pip3 install wheel

Virtual environment

pip3 install -r odoo17/requirements.txt

Virtual environment

While running this if you get an error like this:

Got an error

If you encounter issues with the gevent package, edit the requirements.txt file to comment it out and rerun the installation.

> Go to config

Go to config

> Go to opt directory

Go to opt directory

> Go to the odoo17 directory

Go to the odoo17 directory

> Go to the odoo17 directory and search for the requirements.txt file

Go to the odoo17 directory

> Inside the requirements.txt file search for gevent packages, comment on that package, and save the file.

Gevent packages

Save $100 in the next
5:00 minutes?

Register Here

> Again run the command

pip3 install -r odoo17/requirements.txt

Run the command

And all the errors will be resolved.

Step 9: Creating Add-on Directories and Logs

1. Once done, deactivate the environment and create the Odoo add-on directories and Odoo log file.

deactivate

Deactivate

2. Exit from the odoo environment.

Exit from the odoo environment

3. Create the Odoo add-on directories and Odoo log file.

mkdir /opt/odoo17/odoo17-custom-addons
chown -R odoo 17:odoo17 /opt/odoo17/odoo17-custom-addons
sudo mkdir -p /var/log/odoo17
sudo touch /var/log/odoo17.log
sudo chown -R odoo 17:odoo17 /var/log/odoo17

Create the Odoo

Step 10: Configuring Odoo

1. Create the configuration file:

sudo touch /etc/odoo17.conf

Create the configuration file

2. Open the file in a text editor and add the necessary configurations, making sure to replace PasswordHere with a secure password.

Necessary configurations

[options]

admin_passwd = PasswordHere

db_host = False

db_port = False

db_user = odoo17

db_password = False

xmlrpc_port = 8069

logfile = /var/log/odoo17/odoo17.log

addons_path = /opt/odoo17/odoo17/addons,/opt/odoo17/odoo17-custom-addons

Necessary configurations

Step 11: Setting Up the Odoo Service

1. Create a systemd service file:

sudo touch /etc/systemd/system/odoo17.service

Create a systemd service file

2. Open the systemd unit file with your preferred text editor and paste the following lines of code and save the file:

Open the systemd unit file

Save $100 in the next
5:00 minutes?

Register Here

[Unit]

Description=odoo17

After=network.target [email protected]

[Service]

Type=simple

SyslogIdentifier=odoo17

PermissionsStartOnly=true

User=odoo17

Group=odoo17

ExecStart=/opt/odoo17/odoo17-venv/bin/python3 /opt/odoo17/odoo17/odoo-bin -c /etc/odoo17.conf

StandardOutput=journal+console

[Install]

WantedBy=multi-user.target

Open the systemd unit file

3. Reload the systemd daemon node and start the Odoo service:

sudo systemctl daemon-reload
sudo systemctl start odoo17 && sudo systemctl enable odoo17
sudo systemctl status odoo17

Reload the systemd daemon node

Step 12: Accessing Odoo

1. Enable the public IP.

Public IP

2. To access your Odoo Application from a browser, you need to open port 8069 in your environment’s firewall. For detailed instructions, refer to: How to open a new port in the Firewall using the AWS Dashboard?

3. Access Odoo from your browser using:

http://YourServerIPAddress:8069

Access Odoo from your browser

4. Enter the credentials you set up earlier.

Enter the credentials

Set up Odoo 17

Congratulations! You’ve successfully installed Odoo 17 on your Cloud VPS. Now, you can explore its features, install modules, and customize it to fit your business needs!

Save $100 in the next
5:00 minutes?

Register Here