Skip to content

Instantly share code, notes, and snippets.

@ryanhalliday
Last active August 29, 2015 14:07
Show Gist options
  • Save ryanhalliday/33966fc1db7c1cd4f35f to your computer and use it in GitHub Desktop.
Save ryanhalliday/33966fc1db7c1cd4f35f to your computer and use it in GitHub Desktop.
What I use to install Ubuntu
#!/bin/bash
#Setup apt
sudo add-apt-repository ppa:lestcape/cinnamon
sudo add-apt-repository ppa:numix/ppa
sudo apt-get update
#Install software
sudo apt-get install cinnamon git chromium-browser calibre steam thunderbird apache2 mysql-server php5 php5-mysqlnd php5-mcrypt php5-intl php5-imap php5-imagick php5-gd php5-geoip php5-sqlite php5-json php5-curl php5-cli libapache2-mod-php5 apache2-utils curl xfce4-terminal guake numix-gtk-theme numix-icon-theme-circle vlc
#Cinnamon on Ubuntu fix
gsettings set com.canonical.desktop.interface scrollbar-mode normal
#Setup developer Apache
sudo a2enmod rewrite autoindex vhost_alias
sudo wget --output-document=/etc/apache2/sites-available/dev.conf https://gist.githubusercontent.com/ry167/dcb031afb130b61f4f4d/raw/
sudo a2ensite dev
sudo php5enmod mcrypt
sudo service apache2 reload
#Install Sublime, This is static and needs changing
wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb
sudo dpkg -i sublime-text_build-3065_amd64.deb
rm -f sublime-text_build-3065_amd64.deb
#Composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment