This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run as your work user | |
# Make sure you are not using root | |
# Disable sudo timeout | |
sudo sh -c 'echo "\nDefaults timestamp_timeout=-1">>/etc/sudoers' | |
# Projects root directory | |
ODOO_PROJECTS_DIR="projects" | |
# Odoo version | |
ODOO_VERSION="8.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install nginx -y | |
IPADR=`ifconfig eth0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'` | |
nginx_file=/etc/nginx/sites-available/$IPADR | |
sudo su root -c "echo 'upstream openerpweb { | |
server 0.0.0.0:8069 weight=1 fail_timeout=300s; | |
} | |
upstream openerpweb-im { | |
server 0.0.0.0:8072 weight=1 fail_timeout=300s; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#-------------------------------------------------- | |
# Locale changing for localization | |
#-------------------------------------------------- | |
echo "*********************************" | |
echo "* *" | |
echo "* Changing Locales *" | |
echo "* *" | |
echo "*********************************" | |
# Configure timezone and locale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# Script for Installation: ODOO Saas4/Trunk server on Ubuntu 14.04 LTS | |
# Author: André Schenkels, ICTSTUDIO 2014 | |
# Updated by: Will Gaudette, CMIT 14MAR15 | |
#------------------------------------------------------------------------------- | |
# | |
# This script will install ODOO Server and a reverse Nginx proxy on a | |
# clean Ubuntu 14.04 Server | |
#------------------------------------------------------------------------------- |