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
# Global variables | |
php_config_file="/etc/php5/apache2/php.ini" | |
apache2_config_file="/etc/apache2/apache2.conf" | |
# Update main packages | |
sudo apt-get update | |
# Add dependencies | |
sudo apt-get -y install software-properties-common | |
sudo apt-get -y install git |
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
# Global variables | |
php_config_file="/etc/php5/apache2/php.ini" | |
apache2_config_file="/etc/apache2/apache2.conf" | |
# Update main packages | |
sudo apt-get update | |
# Add dependencies | |
sudo apt-get -y install software-properties-common | |
sudo apt-get -y install git |
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
# Update main packages | |
sudo apt-get update | |
# Add dependencies | |
sudo apt-get -y install software-properties-common | |
sudo apt-get -y install git | |
# Setup LAMP | |
git clone https://gist.github.com/807f87ce2bd40d0f4539.git | |
cd 807f87ce2bd40d0f4539 |
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
# Update min packages | |
sudo apt-get update | |
# Add dependencies | |
sudo apt-get -y install software-properties-common | |
sudo add-apt-repository -y ppa:schooltool-owners/2.8 | |
sudo apt-get update | |
# Port forwarding |
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
# Update min packages | |
sudo apt-get update | |
sudo apt-get -y install nano | |
sudo apt-get -y install git | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get -y install oracle-java8-installer | |
sudo apt-get -y install maven |
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
# Update min packages | |
sudo apt-get update | |
sudo apt-get -y install nano | |
sudo apt-get -y install git | |
sudo apt-get -y install openjdk-7-jdk | |
# Port forwarding | |
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination $(hostname -i):8080 | |
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT |
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
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination $(hostname -i):8069 | |
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT | |
sudo apt-get install openssh-server | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo adduser --system --home=/opt/odoo --group odoo | |
sudo su - odoo -s /bin/bash | |
exit |
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
# Update | |
sudo apt-get -y update | |
# Install git and curl | |
sudo apt-get -y install curl | |
sudo apt-get -y install git | |
sudo apt-get -y install mongodb | |
# Install meteor | |
sudo curl https://install.meteor.com/ | sh |
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
# Update | |
sudo apt-get -y update | |
# Install git and curl | |
sudo apt-get -y install curl | |
sudo apt-get -y install git | |
sudo apt-get -y install mongodb | |
# Install meteor | |
sudo curl https://install.meteor.com/ | sh |
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
# Update | |
sudo apt-get -y update | |
# Install CURL | |
sudo apt-get -y install curl | |
curl -sL https://deb.nodesource.com/setup | sudo bash - | |
# Install Nodejs and Build essentials | |
sudo apt-get -y install nodejs | |
sudo apt-get -y install npm |
NewerOlder