Last active
August 29, 2015 14:13
-
-
Save edwinheij/8c7272427be33ea49585 to your computer and use it in GitHub Desktop.
Ubuntu webserver installation
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
#!bash/sh | |
sudo apt-get install apache2 -y | |
sudo apt-get install mysql-server -y | |
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-curl -y | |
sudo php5enmod mcrypt | |
sudo /etc/init.d/apache2 restart | |
sudo apt-get install git-core -y | |
sudo apt-get install curl wget -y | |
curl –sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/bin/composer | |
sudo chmod +x /usr/bin/composer | |
composer global require "laravel/installer=~1.1" | |
#nano .profile (helemaal onderaan zetten: PATH=”$HOME/.composer/vendor/bin:$PATH” | |
sudo apt-get install nodejs -y | |
sudo ln –s /usr/bin/nodejs /usr/bin/node | |
sudo apt-get install npm -y | |
sudo npm install --global gulp -y | |
#which nodejs | |
#cd /var/www | |
sudo chown -R $USER:$USER /var/www | |
sudo chmod -R 755 /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment