Last active
August 29, 2015 14:17
-
-
Save rdpascua/29777f7e7acc9a32680e to your computer and use it in GitHub Desktop.
Development Stack
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
# How to use this script | |
# curl -L -o 'install.sh' goo.gl/QRkELH | |
# wget -O install.sh goo.gl/QRkELH | |
# chmod +x install.sh | |
# sudo ./install.sh | |
# Set defined root password | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' | |
# Add recent repository for PHP5 | |
sudo apt-get install -y git vim curl python-software-properties | |
sudo add-apt-repository -y ppa:ondrej/php5 | |
sudo apt-get update | |
# Install | |
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug | |
# Enable some stuffs | |
sudo a2enmod headers | |
sudo a2enmod rewrite | |
sudo a2enmod expires | |
sudo php5enmod mcrypt | |
# Restart Apache | |
sudo service apache2 restart | |
# Download and Install Composer | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
# Install more stuffs | |
sudo apt-get install -y memcached php5-memcached php5-imagick | |
# Install NodeJS | |
sudo add-apt-repository -y ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install -y nodejs | |
sudo npm install -g gulp | |
sudp npm install -g bower | |
# Personal Configuration | |
sudo apt-get install -y zsh | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
chsh -s `which zsh` | |
echo "Reboot in-order to use zsh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment