Created
July 21, 2017 22:42
-
-
Save bistoco/f55fba02a396b881edb196a104af0d81 to your computer and use it in GitHub Desktop.
Revisions
-
bistoco created this gist
Jul 21, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ #/bin/bash sudo apt-get update && sudo apt-get upgrade curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install git php7.0-cli php7.0-gd php7.0-mcrypt php7.0-curl php7.0-mbstring php7.0-dom php7.0-zip php7.0-fpm nodejs npm sudo ln -s /usr/bin/nodejs /usr/bin/node sudo apt-get install nginx sudo rm -f /etc/nginx/sites-enabled/default sudo nano /etc/nginx/sites-enabled/default mkdir -p /var/www cd /var/www && sudo git clone https://github.com/kerberos-io/web && cd web curl -sS https://getcomposer.org/installer | sudo php sudo mv composer.phar /usr/bin/composer sudo composer install sudo chmod -R 777 storage sudo chmod -R 777 bootstrap/cache sudo chmod 777 config/kerberos.php sudo npm -g install bower cd public sudo bower --allow-root install