Skip to content

Instantly share code, notes, and snippets.

@unixslayer
Last active August 29, 2015 14:23
Show Gist options
  • Save unixslayer/0fc790ee145dafe682af to your computer and use it in GitHub Desktop.
Save unixslayer/0fc790ee145dafe682af to your computer and use it in GitHub Desktop.
all in one installation
apt-get update
#install some initial modules
apt-get install python-software-properties software-properties-common curl
#install git
apt-get install git-core
#install node
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
apt-get install -y nodejs
#install apache2
apt-get install apache2
#enable additional modules
a2enmod headers vhost_alias rewrite
#restart apache2
service apache2 restart
#install mysql-server-5.6
wget http://repo.mysql.com/mysql-apt-config_0.2.1-1debian7_all.deb
dpkg -i mysql-apt-config_0.2.1-1debian7_all.deb
apt-get update
apt-get install mysql-server-5.6
#configure mysql server
mysql_secure_installation
#install php
add-apt-repository ppa:ondrej/php5-5.6
apt-get update
apt-get upgrade
apt-get install php5 php-pear php5-mysql
#restart apache
service apache2 restart
#install phpmyadmin
apt-get install phpmyadmin
#install bower
npm install -g bower
#install composer
curl -sS https://getcomposer.org/installer | php
chmod a+x composer.phar
mv composer.phar /usr/local/bin/composer
#install memcached
apt-get install memcached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment