PHOTO-2022-08-06-13-39-03

How to install the Odoo ERP/CRM platform on Ubuntu Server 20.04 – TechRepublic

Register for your free TechRepublic membership or if you are already a member, sign in using your preferred method below.
We recently updated our Terms and Conditions for TechRepublic Premium. By clicking continue, you agree to these updated terms.
Invalid email/username and password combination supplied.
An email has been sent to you with instructions on how to reset your password.
By registering, you agree to the Terms of Use and acknowledge the data practices outlined in the Privacy Policy.
You will also receive a complimentary subscription to TechRepublic’s News and Special Offers newsletter and the Top Story of the Day newsletter. You may unsubscribe from these newsletters at any time.
Username must be unique. Password must be a minimum of 6 characters and have any 3 of the 4 items: a number (0 through 9), a special character (such as !, $, #, %), an uppercase character (A through Z) or a lowercase (a through z) character (no spaces).
How to install the Odoo ERP/CRM platform on Ubuntu Server 20.04
Your email has been sent
Adding an ERP/CRM solution to your company workflow can make a huge difference in productivity. Jack Wallen shows you how to deploy the open-source Odoo system to fill this void.

Odoo was once known as Open ERP and TinyERP and served as a complete Enterprise Resource Planning and Customer Relationship Management solution in one powerful, open-source package. Odoo includes all of the features you require for ERP/CRM, such as:
Odoo can be used for retail, services, operations, finance, marketing, development, and more and is scalable and extendable (with thousands of installable apps).
I want to walk you through the installation of Odoo on my go-to server of choice, Ubuntu Server 20.04.
SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium)
The only things you’ll need to make this work are a running instance of Ubuntu Server 20.04 and a user with sudo privileges. That’s it, let’s get to work.
The first thing we’re going to do is install the necessary dependencies. Log into your server and install these packages with:
sudo apt-get install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less postgresql -y
We need to create a Linux user and a PostgreSQL user. First, create the Linux user with the command:
sudo useradd -m -d /opt/odoo -U -r -s /bin/bash odoo
Next, create the PostgreSQL user with:
sudo su - postgres -c "createuser -s odoo"
We’re now ready to install the system itself. Change to the odoo user with the command:
sudo su - odoo
Next, use git to clone the latest branch of Odoo (at the time of this writing, it’s 15):
git clone https://www.github.com/odoo/odoo --depth 1 --branch 15.0 /opt/odoo/odoo15
Change into the newly created directory with:
cd /opt/odoo
Create a new virtual Python environment with:
python3 -m venv odoo15-venv
Activate the new environment with the command:
source odoo15-venv/bin/activate
Install the required Python modules with the following commands:
pip3 install wheel
pip3 install -r odoo15/requirements.txt
The second command above will take anywhere from 5-10 minutes to complete, so either watch the output fly by or go take care of another admin task. Once the commands are finished, deactivate the environment and exit from the odoo user with:
deactivate
exit
To enable the Odoo add-on system, we need to create a directory to house the downloaded files. Create the directory and give it the necessary permissions with:
sudo mkdir /opt/odoo/odoo15-custom-addons
sudo chown odoo: /opt/odoo/odoo15-custom-addons
Copy the default configuration file into /etc with the command:
sudo cp /opt/odoo/odoo15/debian/odoo.conf /etc/odoo15.conf
Open the config file for editing with:
sudo nano /etc/odoo15.conf
Edit that file so it looks like the following:
[options]
; This is the password that allows database operations:
admin_passwd = PASSWORD
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/odoo15/addons
Where PASSWORD is a strong/unique password.
Save and close the file.
We now must create a systemd service file with:
sudo nano /etc/systemd/system/odoo15.service
 </codeIn that file, paste the following:
[Unit]
Description=Odoo15
Requires=postgresql.service
After=network.target postgresql.service
 
[Service]
Type=simple
SyslogIdentifier=odoo15
PermissionsStartOnly=true
User=odoo
Group=odoo
ExecStart=/opt/odoo/odoo15-venv/bin/python3 /opt/odoo/odoo15/odoo-bin -c /etc/odoo15.conf
StandardOutput=journal+console
 
[Install]
WantedBy=multi-user.target
Save and close the file. Reload the systemd daemon with:
sudo systemctl daemon-reload
Start and enable the Odoo service with:
sudo systemctl enable --now odoo15
Odoo is now installed and running on your server. Open a web browser and point it to http://SERVER:8069 (Where SERVER is either the IP address or domain of the hosting server). You will be prompted to fill out information for the creation of a new database (Figure A).
Figure A
Make sure you copy down the random password generated for the database (or opt to use your own password). You might want to also check the box for Demo data (especially if this is your first time using Odoo).
Click Create database and the installation will complete. When it’s finished, you’ll find yourself on the Odoo Apps page (Figure B), where you can begin selecting the apps you want to install to complete your new CRM/ERP solution.
Figure B
One of the first things you’ll want to do is edit the default admin user, which is listed as Mitchel Admin and includes a random photo. To do this, click on the four squares icon in the top left and click Settings. In the resulting window (Figure C), click Manage users.
Figure C
Click on the Mitchel Admin listing and then click Edit. You can now change the name of the admin user, add a photo, and manage the access rights, preferences, and security for the account (Figure D).
Figure D
Congratulations, you have a running CRM/ERP tool that can be expanded to fill many roles for your company.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.
You don’t want to miss our tips, tutorials, and commentary on the Linux OS and open source applications.
How to install the Odoo ERP/CRM platform on Ubuntu Server 20.04
Your email has been sent
Your message has been sent
Google Tasks has never had a solid interface … until now. Jack Wallen shows you how to turn Tasks into a kanban board-like workflow with the help of TasksBoard.
Don’t pack your bags and move to Bozeman yet. This micro-scale warp bubble won’t be capable of propulsion, but it could have myriad other applications, says its discoverer Dr. Sonny White.
Based on job demand, Python is the top language, followed by Java, JavaScript, C++, C# and C, says CodingNomads.
If you’re not certain whether your Java project is free from Log4j vulnerabilities, you should try this easy-to-use scanning tool immediately.
If you missed in-person tech events in 2020 and 2021, here’s some good news: It’s looking promising that in 2022 many conferences will get back to (almost) normal.
The comprehensive bundle covers a range of subjects, including app development, game development, machine learning, computer vision, deep learning, NFTs, Java and website building.
When computer systems fail, business grinds to a halt, and that can cost your enterprise a considerable amount of money. With the help of TechRepublic Premium’s Systems Downtime Expense Calculator, you can estimate just how much each system failure is going to cost you. When to use this tool Even if the entire business does …
Results from the latest TechRepublic Premium survey suggest that businesses continue to deploy multicloud solutions, but the IT pros who support them are uncertain how they’ll change in the future. From the introduction: Heading into the third year of the COVID-19 global pandemic, industries, businesses, consumers and the information technology professionals who support them are …
This TechRepublic Premium download includes a checklist for PC and Mac migrations to minimize frustrations and improve productivity. Regardless of the process, there are several elements to track when replacing an existing computer with a new system. Whether your organization begins by imaging drives or manually configures new systems, many questions must be addressed, including: …
The Microsoft 365 Services Usage Policy from TechRepublic Premium defines the practices and behaviors that organization representatives must follow when using any organization-provided Microsoft 365-powered application, site or service. Whether organization representatives access Exchange-hosted email, applications, SharePoint portals, Teams sites or OneDrive cloud file storage using an organization-provided, organization-reimbursed or even personal Microsoft 365 services …

source

Leave a Reply

Your email address will not be published. Required fields are marked *