Created
July 30, 2014 16:28
-
-
Save veltman/ea8d2e31b8ed229f9681 to your computer and use it in GitHub Desktop.
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
# Move into home directory | |
cd ~/ | |
# Add QGIS repo | |
sudo add-apt-repository -s "deb http://qgis.org/debian trusty main" | |
# Add TileMill repo | |
sudo add-apt-repository ppa:developmentseed/mapbox | |
# Update/upgrade | |
sudo apt-get update && sudo apt-get upgrade | |
# Install Node, VLC, Git, Gimp, Pip, QGIS, GRASS, PostgreSQL, TileMill | |
sudo apt-get --yes install nodejs npm vlc browser-plugin-vlc git gimp \ | |
python-pip qgis python-qgis qgis-plugin-grass postgresql \ | |
postgresql-contrib tilemill libmapnik | |
# Install AWS CLI tools | |
sudo pip install awscli | |
# Add node to path | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
# Configure Postgres | |
sudo -u postgres createuser --superuser $USER | |
sudo apt-get install postgis osm2pgsql | |
# Install Sublime Text 2 | |
wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2 | |
tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2 | |
sudo mv Sublime\ Text\ 2 /opt/ | |
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime | |
# Basic Unity config for Sublime | |
sudo wget -O /usr/share/applications/sublime.desktop https://gist.githubusercontent.com/veltman/f17943b9c638ff0b4308/raw/gistfile1.txt | |
# Set Sublime as default editor | |
sudo sed -i 's@gedit.desktop@sublime.desktop@g' /usr/share/applications/defaults.list | |
# Configure git | |
git config --global user.name "Noah" | |
git config --global user.email "noah@noahveltman.com" | |
# Fix privacy | |
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash | |
# Install Chrome? | |
# Currently doing this manually from .deb | |
# Create projects folder and server | |
mkdir ~/projects | |
cd ~/projects/ | |
npm install express serve-index | |
sudo npm install forever -g | |
wget -O ~/projects/server.js https://gist.githubusercontent.com/veltman/bb4432b68cf82b957fbf/raw/gistfile1.txt | |
sudo forever start ~/projects/server.js | |
sudo chmod a+w /etc/rc.local | |
sed -i '$d' /etc/rc.local | |
echo "forever start ~/projects/server.js" >> /etc/rc.local | |
echo "exit 0" >> /etc/rc.local | |
# To dos | |
# Configure AWS | |
# Add virtualenv | |
# Add ~/projects as Favorite | |
# Add Terminal to Launcher | |
# Remove LibreOffice from Launcher | |
# Add Sublime config file | |
# MySQL? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment