diff --git a/FUNDING.yml b/FUNDING.yml new file mode 100644 index 0000000..164074e --- /dev/null +++ b/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: Yenthe666 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] diff --git a/README.md b/README.md index 819ad8d..1fbafc8 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ but goes a bit further and has been improved. This script will also give you the This script can be safely used in a multi-odoo code base server because the default Odoo port is changed BEFORE the Odoo is started. ## Installing Nginx -If you set the parameter ```INSTALL_NGINX``` to ```True``` you should also configure workers. Without workers you will probably get connection loss issues. Look at [the deployment guide from Odoo](https://www.odoo.com/documentation/16.0/administration/install/deploy.html) on how to configure workers. +If you set the parameter ```INSTALL_NGINX``` to ```True``` you should also configure workers. Without workers you will probably get connection loss issues. Look at [the deployment guide from Odoo](https://www.odoo.com/documentation/17.0/administration/install/deploy.html) on how to configure workers. ## Installation procedure ##### 1. Download the script: ``` -sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/16.0/odoo_install.sh +sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/17.0/odoo_install.sh ``` ##### 2. Modify the parameters as you wish. There are a few things you can configure, this is the most used list:
@@ -19,8 +19,8 @@ There are a few things you can configure, this is the most used list:
```GENERATE_RANDOM_PASSWORD``` if this is set to ```True``` the script will generate a random password, if set to ```False```we'll set the password that is configured in ```OE_SUPERADMIN```. By default the value is ```True``` and the script will generate a random and secure password.
```INSTALL_WKHTMLTOPDF``` set to ```False``` if you do not want to install Wkhtmltopdf, if you want to install it you should set it to ```True```.
```OE_PORT``` is the port where Odoo should run on, for example 8069.
-```OE_VERSION``` is the Odoo version to install, for example ```16.0``` for Odoo V16.
-```IS_ENTERPRISE``` will install the Enterprise version on top of ```16.0``` if you set it to ```True```, set it to ```False``` if you want the community version of Odoo 16.
+```OE_VERSION``` is the Odoo version to install, for example ```17.0``` for Odoo V17.
+```IS_ENTERPRISE``` will install the Enterprise version on top of ```17.0``` if you set it to ```True```, set it to ```False``` if you want the community version of Odoo 17.
```OE_SUPERADMIN``` is the master password for this Odoo installation.
```INSTALL_NGINX``` is set to ```False``` by default. Set this to ```True``` if you want to install Nginx.
```WEBSITE_NAME``` Set the website name here for nginx configuration
diff --git a/odoo_install.sh b/odoo_install.sh index 52a7902..3bd0b90 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -23,8 +23,8 @@ INSTALL_WKHTMLTOPDF="True" # Set the default Odoo port (you still have to use -c /etc/odoo-server.conf for example to use this.) OE_PORT="8069" # Choose the Odoo version which you want to install. For example: 16.0, 15.0, 14.0 or saas-22. When using 'master' the master version will be installed. -# IMPORTANT! This script contains extra libraries that are specifically needed for Odoo 16.0 -OE_VERSION="16.0" +# IMPORTANT! This script contains extra libraries that are specifically needed for Odoo 17.0 +OE_VERSION="17.0" # Set this to True if you want to install the Odoo enterprise version! IS_ENTERPRISE="False" # Installs postgreSQL V14 instead of defaults (e.g V12 for Ubuntu 20/22) - this improves performance @@ -67,9 +67,9 @@ fi #-------------------------------------------------- echo -e "\n---- Update Server ----" # universe package is for Ubuntu 18.x -sudo add-apt-repository universe +# sudo add-apt-repository universe # libpng12-0 dependency for wkhtmltopdf for older Ubuntu versions -sudo add-apt-repository "deb http://mirrors.kernel.org/ubuntu/ xenial main" +# sudo add-apt-repository "deb http://mirrors.kernel.org/ubuntu/ xenial main" sudo apt-get update sudo apt-get upgrade -y sudo apt-get install libpq-dev @@ -83,7 +83,7 @@ if [ $INSTALL_POSTGRESQL_FOURTEEN = "True" ]; then sudo curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo apt-get update - sudo apt-get install postgresql-14 + sudo apt-get install postgresql-16 else echo -e "\n---- Installing the default postgreSQL version based on Linux version ----" sudo apt-get install postgresql postgresql-server-dev-all -y