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
# 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 | |
# 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 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
# 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 |
OlderNewer