Last active
January 3, 2016 23:19
-
-
Save zinzinday/df745e405ac91467d2fb to your computer and use it in GitHub Desktop.
This file contains 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 -i | |
cd /tmp | |
printf "Add repositories" | |
sudo apt-get install software-properties-common | |
sudo sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo add-apt-repository ppa:nginx/stable | |
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db | |
sudo add-apt-repository 'deb [arch=amd64,i386] http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu trusty main' | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
printf "%s\n Updating repo" | |
sudo apt-get update | |
sudo apt-get upgrade | |
printf "%s\n Installing java8" | |
sudo apt-get install -y oracle-java8-installer | |
sudo apt-get install -y oracle-java8-set-default | |
java -version | |
printf "%s\n Installing Google Chrome" | |
sudo apt-get install libxss1 libappindicator1 libindicator7 | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb | |
sudo apt-get -f install | |
printf "%s\n Installing Chromium" | |
sudo apt-get install -y chromium-browser | |
printf "%s\n Installing sublime-text" | |
sudo apt-get install -y sublime-text-installer | |
printf "%s\n Installing nginx" | |
sudo apt-get install -y nginx | |
printf "%s\n Installing mariadb" | |
sudo apt-get install -y mariadb-server | |
printf "%s\n Installing ElasticSearch 2.1" | |
wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.1.1/elasticsearch-2.1.1.deb | |
sudo dpkg -i elasticsearch*.deb | |
sudo apt-get -f install | |
sudo update-rc.d elasticsearch defaults 95 10 | |
sudo service elasticsearch restart | |
printf "%s\n Installing mongodb" | |
sudo apt-get install -y mongodb-org | |
sudp update-rc.d mongodb defaults | |
printf "%s\n Installing php5 memcached phpmyadmin git curl" | |
apt-get install -y php5-fpm php5-gd php5-curl php5-intl php5-memcache php5-mysql memcached git curl phpmyadmin | |
pecl install mongo | |
printf "%s\n Installing composer" | |
curl -sS https://getcomposer.org/installer |sudo php -- --install-dir=/usr/local/bin --filename=composer | |
printf "%s\n Installing NodeJs" | |
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
printf "%s\n Installing Less Css" | |
sudo npm install -g less | |
printf "%s\n Installing phpstorm 9" | |
wget http://download.jetbrains.com/webide/PhpStorm-9.0.2.tar.gz | |
tar -zxvf PhpStorm-9.0.2.tar.gz | |
mv PhpStorm-9.0.2 phpstorm | |
sudo cp -r phpstorm /usr/share/ | |
ln -s /usr/share/phpstorm/bin/phpstorm.sh /home/${USERNAME}/Desktop/phpstorm.sh | |
printf "%s\n Please run phpstom.sh on desktop to crack it :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment