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.
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.
6. Open the Web SSH terminal to write the command lines.
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
sudo apt-get upgrade -y
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
Step 4: Installing JavaScript Package Management
Odoo requires some JavaScript packages. Install them with:
sudo apt-get install -y npm
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
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
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo apt install -f
Step 6: Installing and Configuring PostgreSQL
Odoo uses PostgreSQL for its database. Install and verify it with:
sudo apt-get install postgresql -y
sudo systemctl status postgresql
If PostgreSQL is not running, you will notice something like:
If PostgreSQL is not running, start it manually:
sudo systemctl start postgresql && sudo systemctl enable postgresql
sudo systemctl status postgresql
Step 7: Creating Odoo and PostgreSQL Users
1. Create an Odoo user:
useradd -m -U -r -d /opt/odoo17 -s /bin/bash odoo17
2. 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"
Step 8: Cloning Odoo and Setting Up Virtual Environment
1. Switch to the Odoo user:
su - odoo17
2. Clone Odoo 17 repository:
git clone https://www.github.com/odoo/odoo --depth 1 --branch 17.0 /opt/odoo17/odoo17
3. Set up the virtual environment and install all the dependencies:
cd /opt/odoo17
python3 -m venv odoo17-venv
source odoo17-venv/bin/activate
pip install --upgrade pip
pip3 install wheel
pip3 install -r odoo17/requirements.txt
While running this if you get an error like this:
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 opt directory
> Go to the odoo17 directory
> Go to the odoo17 directory and search for the requirements.txt file
> Inside the requirements.txt file search for gevent packages, comment on that package, and save the file.
> Again run the command
pip3 install -r odoo17/requirements.txt
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
2. 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
Step 10: Configuring Odoo
1. Create the configuration file:
sudo touch /etc/odoo17.conf
2. Open the file in a text editor and add the necessary configurations, making sure to replace PasswordHere with a secure password.
[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
Step 11: Setting Up the Odoo Service
1. Create a systemd service file:
sudo touch /etc/systemd/system/odoo17.service
2. Open the systemd unit file with your preferred text editor and paste the following lines of code and save the file:
[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
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
Step 12: Accessing Odoo
1. Enable the 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
4. Enter the credentials you set up earlier.
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!