{"id":19453649,"url":"https://github.com/fahmifareed/odoo-install","last_synced_at":"2026-01-26T17:38:34.476Z","repository":{"id":252781579,"uuid":"840869426","full_name":"fahmifareed/Odoo-Install","owner":"fahmifareed","description":"odoo install script","archived":false,"fork":false,"pushed_at":"2024-08-22T07:10:59.000Z","size":1629,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T20:42:15.782Z","etag":null,"topics":["odoo","odoo-installation","odoo-project","odoo17"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fahmifareed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-11T00:03:57.000Z","updated_at":"2024-12-13T04:29:50.000Z","dependencies_parsed_at":"2024-08-19T02:39:28.086Z","dependency_job_id":null,"html_url":"https://github.com/fahmifareed/Odoo-Install","commit_stats":null,"previous_names":["fahmifareed/odoo-install"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifareed%2FOdoo-Install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifareed%2FOdoo-Install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifareed%2FOdoo-Install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifareed%2FOdoo-Install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahmifareed","download_url":"https://codeload.github.com/fahmifareed/Odoo-Install/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239736635,"owners_count":19688491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["odoo","odoo-installation","odoo-project","odoo17"],"created_at":"2024-11-10T17:05:18.350Z","updated_at":"2026-01-06T13:30:16.037Z","avatar_url":"https://github.com/fahmifareed.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Odoo Installation Guide\r\n ![GitHub repo size](https://img.shields.io/github/repo-size/fahmifareed/Odoo-Install) ![GitHub contributors](https://img.shields.io/github/contributors/fahmifareed/Odoo-Install) ![GitHub last commit](https://img.shields.io/github/last-commit/fahmifareed/Odoo-Install) ![License](https://img.shields.io/github/license/fahmifareed/Odoo-Install)\r\n\r\nWelcome to the Odoo Installation repository. This guide provides detailed instructions for installing Odoo on various environments, ensuring a smooth setup for developers and system administrators.\r\n\r\n## Table of Contents\r\n\r\n- [Introduction](#introduction) ![Introduction](https://img.icons8.com/ios-filled/16/000000/info.png)\r\n- [Prerequisites](#prerequisites) ![Prerequisites](https://img.icons8.com/ios-filled/16/000000/checklist.png)\r\n- [Installation](#installation) ![Installation](https://img.icons8.com/ios-filled/16/000000/installing-updates.png)\r\n  - [Step 1: System Update](#step-1-system-update) ![Step 1](https://img.icons8.com/ios-filled/16/000000/refresh.png)\r\n  - [Step 2: Install Dependencies](#step-2-install-dependencies) ![Step 2](https://img.icons8.com/ios-filled/16/000000/module.png)\r\n  - [Step 3: Install PostgreSQL](#step-3-install-postgresql) ![Step 3](https://img.icons8.com/ios-filled/16/000000/database.png)\r\n  - [Step 4: Install Odoo](#step-4-install-odoo) ![Step 4](https://img.icons8.com/ios-filled/16/000000/download-from-cloud.png)\r\n  - [Step 5: Configure Odoo](#step-5-configure-odoo) ![Step 5](https://img.icons8.com/ios-filled/16/000000/settings.png)\r\n  - [Step 6: Run Odoo](#step-6-run-odoo) ![Step 6](https://img.icons8.com/ios-filled/16/000000/run-command.png)\r\n- [Configuration Parameters](#configuration-parameters) ![Parameters](https://img.icons8.com/ios-filled/16/000000/settings.png)\r\n- [Advanced Configuration](#advanced-configuration) ![Advanced Configuration](https://img.icons8.com/ios-filled/16/000000/engineering.png)\r\n  - [Nginx as a Reverse Proxy](#nginx-as-a-reverse-proxy) ![Nginx](https://img.icons8.com/color/16/000000/nginx.png)\r\n  - [SSL Configuration](#ssl-configuration) ![SSL](https://img.icons8.com/color/16/lock.png)\r\n  - [Automatic Backups](#automatic-backups) ![Backups](https://img.icons8.com/ios-filled/16/cloud-backup-restore.png)\r\n- [Common Issues and Troubleshooting](#common-issues-and-troubleshooting) ![Troubleshooting](https://img.icons8.com/ios-filled/16/000000/bug.png)\r\n- [Contributing](#contributing) ![Contributing](https://img.icons8.com/ios-filled/16/000000/conference-call.png)\r\n- [License](#license) ![License](https://img.icons8.com/ios-filled/16/certificate.png)\r\n- [Contact](#contact) ![Contact](https://img.icons8.com/ios-filled/16/000000/phone.png)\r\n\r\n\r\n## Introduction ![Introduction](https://img.icons8.com/ios-filled/32/000000/info.png)\r\n\r\nThis repository contains scripts and instructions for installing Odoo on a Linux-based server. Odoo is a comprehensive suite of business applications including CRM, e-Commerce, accounting, inventory, point of sale, project management, and more. This guide is intended to simplify the setup process, providing clear and concise steps to get your Odoo instance up and running.\r\n\r\n## Prerequisites ![Prerequisites](https://img.icons8.com/ios-filled/32/000000/checklist.png)\r\n\r\nBefore you begin the installation, ensure that your server meets the following requirements:\r\n\r\n- **Operating System**: Ubuntu 20.04 LTS or later (Recommended) or other Linux distributions.\r\n- **Processor**: Dual-core processor or better.\r\n- **RAM**: Minimum 2 GB (4 GB or more recommended for production).\r\n- **Disk Space**: Minimum 20 GB of free space.\r\n- **Python Version**: Python 3.6 or higher.\r\n- **PostgreSQL**: Version 10 or higher.\r\n\r\nEnsure you have `sudo` privileges on the server.\r\n\r\n## Installation ![Installation](https://img.icons8.com/ios-filled/32/000000/installing-updates.png)\r\n\r\n### Step 1: System Update ![System Update](https://img.icons8.com/ios-filled/32/000000/refresh.png)\r\n\r\nBefore starting the installation, update your system to the latest packages:\r\n\r\n```bash\r\nsudo apt-get update\r\nsudo apt-get upgrade -y\r\n```\r\n\r\n### Step 2: Install Dependencies ![Dependencies](https://img.icons8.com/ios-filled/32/000000/module.png)\r\n\r\nInstall the required dependencies for Odoo:\r\n\r\n```bash\r\nsudo apt-get install -y git python3-pip build-essential wget\r\nsudo apt-get install -y python3-dev python3-venv libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev libssl-dev libjpeg-dev libpq-dev\r\n```\r\n\r\n### Step 3: Install PostgreSQL ![PostgreSQL](https://img.icons8.com/ios-filled/32/000000/database.png)\r\n\r\nOdoo uses PostgreSQL as its database backend. Install it using:\r\n\r\n```bash\r\nsudo apt-get install -y postgresql postgresql-server-dev-all\r\n```\r\n\r\nOnce installed, create a PostgreSQL user for Odoo:\r\n\r\n```bash\r\nsudo su - postgres\r\ncreateuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo\r\nexit\r\n```\r\n\r\n### Step 4: Install Odoo ![Install Odoo](https://img.icons8.com/ios-filled/32/download-from-cloud.png)\r\n\r\n\r\nClone the Odoo source code from the official repository:\r\n\r\n```bash\r\ngit clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 --single-branch odoo\r\n```\r\n\r\nCreate a Python virtual environment and install Odoo dependencies:\r\n\r\n```bash\r\ncd odoo\r\npython3 -m venv venv\r\nsource venv/bin/activate\r\npip install -r requirements.txt\r\n```\r\n\r\n### Step 5: Configure Odoo ![Configure Odoo](https://img.icons8.com/ios-filled/32/000000/settings.png)\r\n\r\nCopy the sample configuration file and adjust it to your environment:\r\n\r\n```bash\r\ncp odoo/debian/odoo.conf /etc/odoo.conf\r\nnano /etc/odoo.conf\r\n```\r\n\r\nEdit the configuration file to match your setup, particularly the database settings.\r\n\r\n### Step 6: Run Odoo ![Run Odoo](https://img.icons8.com/ios-filled/32/000000/run-command.png)\r\n\r\nStart the Odoo server using the following command:\r\n\r\n```bash\r\n./odoo/odoo-bin -c /etc/odoo.conf\r\n```\r\n\r\nYou should now be able to access Odoo at `http://your-server-ip:8069`.\r\n\r\n## Configuration Parameters ![Parameters](https://img.icons8.com/ios-filled/32/000000/settings.png)\r\n\r\nBefore running the installation script, you can modify several parameters to customize the setup according to your needs. Below is a list of the most commonly used parameters:\r\n\r\n- **`OE_USER`**: This parameter specifies the username for the system user that will be created for running Odoo. You can set this to any preferred username.\r\n\r\n- **`GENERATE_RANDOM_PASSWORD`**: If set to `True`, the script will generate a random and secure password for the Odoo admin user. If set to `False`, the password will be set to the value configured in `OE_SUPERADMIN`. The default value is `True`.\r\n\r\n- **`OE_PORT`**: This parameter defines the port on which Odoo will run. The default Odoo port is `8069`, but you can set it to any available port on your server.\r\n\r\n- **`OE_VERSION`**: Specifies the version of Odoo to be installed. For example, set this to `14.0` for installing Odoo version 14.\r\n\r\n- **`IS_ENTERPRISE`**: Set this to `True` to install the Odoo Enterprise version on top of version `16.0`. If you want to install the community version of Odoo 16, set this to `False`.\r\n\r\n- **`OE_SUPERADMIN`**: This is the master password for the Odoo installation. It is crucial to set this parameter to a secure password if `GENERATE_RANDOM_PASSWORD` is set to `False`.\r\n\r\n- **`INSTALL_NGINX`**: This parameter is set to `True` by default, meaning that Nginx will be installed and configured as a reverse proxy for Odoo. Set it to `False` if you do not want to install Nginx.\r\n\r\n- **`\r\n\r\nWEBSITE_NAME`**: If you are installing Nginx, set this parameter to define the website name used in the Nginx configuration.\r\n\r\n- **`ENABLE_SSL`**: Set this parameter to `True` if you wish to install [certbot](https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx) and configure Nginx to use HTTPS with a free Let's Encrypt SSL certificate.\r\n\r\n- **`ADMIN_EMAIL`**: This is required for Let's Encrypt registration when `ENABLE_SSL` is set to `True`. Replace the default placeholder with your organization's email address.\r\n\r\n### Important Notes\r\n- Both `INSTALL_NGINX` and `ENABLE_SSL` must be set to `True` and `ADMIN_EMAIL` must be replaced with a valid email address to enable SSL through Let's Encrypt.\r\n  \r\n  _By enabling SSL through Let's Encrypt, you agree to the following [policies](https://www.eff.org/code/privacy/policy)._ \r\n\r\nMake sure to modify these parameters in the script before running the installation to fit your specific setup requirements.\r\n\r\n## Advanced Configuration ![Advanced Configuration](https://img.icons8.com/ios-filled/32/000000/engineering.png)\r\n\r\n### Nginx as a Reverse Proxy ![Nginx](https://img.icons8.com/color/32/000000/nginx.png)\r\n\r\nTo serve Odoo over the default HTTP/HTTPS ports, set up Nginx as a reverse proxy:\r\n\r\n```bash\r\nsudo apt-get install nginx\r\n```\r\n\r\nConfigure Nginx to forward requests to Odoo:\r\n\r\n```bash\r\nsudo nano /etc/nginx/sites-available/odoo\r\n```\r\n\r\nAdd the necessary server configuration and then enable the site:\r\n\r\n```bash\r\nsudo ln -s /etc/nginx/sites-available/odoo /etc/nginx/sites-enabled/\r\nsudo systemctl restart nginx\r\n```\r\n\r\n### SSL Configuration ![SSL](https://img.icons8.com/color/32/lock.png)\r\n\r\nFor secure HTTPS access, you can use Let's Encrypt:\r\n\r\n```bash\r\nsudo apt-get install certbot python3-certbot-nginx\r\nsudo certbot --nginx -d yourdomain.com\r\n```\r\n\r\n### Automatic Backups ![Backups](https://img.icons8.com/ios-filled/32/cloud-backup-restore.png)\r\n\r\nSet up automatic backups to ensure data safety:\r\n\r\n```bash\r\nsudo nano /etc/cron.daily/odoo_backup\r\n```\r\n\r\nAdd a script to perform daily backups and make it executable:\r\n\r\n```bash\r\nsudo chmod +x /etc/cron.daily/odoo_backup\r\n```\r\n\r\n## Common Issues and Troubleshooting ![Troubleshooting](https://img.icons8.com/ios-filled/32/000000/bug.png)\r\n\r\nIf you encounter issues during installation or running Odoo, please refer to the [Odoo documentation](https://www.odoo.com/documentation/) or visit the [Odoo community forums](https://www.odoo.com/forum/help-1).\r\n\r\n## Contributing ![Contributing](https://img.icons8.com/ios-filled/32/000000/conference-call.png)\r\n\r\nContributions to this repository are welcome. Please fork the repository, create a feature branch, and submit a pull request for review.\r\n\r\n## License ![License](https://img.icons8.com/ios-filled/32/certificate.png)\r\n\r\nThis repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\r\n\r\n## Contact ![Contact](https://img.icons8.com/ios-filled/32/000000/phone.png)\r\n\r\n\r\n\r\nFeel free to reach out to me via the following platforms:\r\n\r\n[![LinkedIn](https://img.icons8.com/ios-filled/20/0077B5/linkedin.png)](https://www.linkedin.com/in/fahmifareed) \r\n[![Twitter](https://img.icons8.com/ios-filled/20/1DA1F2/twitter.png)](https://twitter.com/fvhmifvreed) \r\n[![Email](https://img.icons8.com/ios-filled/20/000000/email.png)](mailto:info@fahmi.xyz)\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmifareed%2Fodoo-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahmifareed%2Fodoo-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmifareed%2Fodoo-install/lists"}