Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- Color_Off='\033[0m'
- Red='\033[0;31m'
- Green='\033[0;32m'
- Yellow='\033[0;33m'
- Purple='\033[0;35m'
- Cyan='\033[0;36m'
- echo -e "**********************************************************************************************
- **********************************************************************************************
- ************************ * ****** ** ** ****** ************************
- ************************ * * * * * * * * ************************
- ************************ * ****** * * * * ****** ************************
- ************************ * * * * * * * ************************
- ************************ ****** ****** * * * * ************************
- **********************************************************************************************
- **********************************************************************************************"
- echo -e "$Cyan \n Installing PHP & Requirements $Color_Off"
- echo -e "$Cyan \n Verifying installs$Color_Off"
- echo -e "$Cyan \n Updating System.. $Color_Off"
- sudo apt-get update -y && sudo apt-get upgrade -y
- sudo apt-get update
- sudo apt-add-repository ppa:ondrej/php -y
- sudo apt-add-repository ppa:nginx/development -y
- sudo apt-add-repository ppa:chris-lea/redis-server -y
- sudo apt-add-repository ppa:ondrej/apache2 -y
- sudo apt-get update
- sudo apt-get install curl git
- echo -e "$Cyan \n Installing phpMyAdmin $Color_Off"
- clear
- echo "Configuring Nginx for PHP..."
- sudo apt-get install -y --force-yes php7.0-cli php7.0-dev \
- sudo php-sqlite3 php-gd \
- sudo php-curl php7.0-dev \
- echo -e "$Cyan \n Installing MySQL $Color_Off"
- echo "Configuring Nginx for PHP..."
- sudo php-imap php-mysql php-memcached php-mcrypt php-mbstring \
- sudo php-xml php-imagick php7.0-zip php7.0-bcmath php-soap \
- sudo php7.0-intl php7.0-readline
- sudo apt-get install -y --force-yes nginx php7.0-fpm
- sudo service php7.0-fpm restart
- sudo curl https://install.meteor.com/ | sh
- sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
- npm -v
- node -v
- sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
- sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
- sudo apt-get update
- sudo apt-get install gcc git ruby ruby-dev libcurl4-openssl-dev make zlib1g-dev
- sudo apt-get install docker-ce
- echo "Done done done!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement