forked from achinta/utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu_post_install.sh
executable file
·61 lines (42 loc) · 1.73 KB
/
ubuntu_post_install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo apt-get update
#install saltstack
sudo apt-get -y install python-software-properties
sudo add-apt-repository -y ppa:saltstack/salt
sudo apt-get update
sudo apt-get -y install salt-master salt-minion
#utils
#sudo apt-get -y install curl
#version control
#sudo apt-get -y install subversion git
#web servers
#sudo apt-get -y install apache2 libapache2-mod-wsgi nginx
#media player
#sudo apt-get install vlc
#postgresql
#sudo apt-get -y install postgresql postgresql-contrib libpq-dev
#postgis TODO check version
#sudo apt-get -y install postgresql-9.3-postgis-2.1
#python
#sudo apt-get -y install python-pip python-psycopg2 python-dev
#sudo pip install virtualenv
#sudo pip install virtualenvwrapper
#google chrome
#sudo apt-get -y install chromium-browser
#wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
#sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
#sudo apt-get install google-chrome-stable
###### Ruby
#environment manager (from https://github.com/sstephenson/rbenv)
#git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
#echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
#echo 'eval "$(rbenv init -)"' >> ~/.bashrc
#git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
#git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler
####list of ruby versions available for installation : rbenv install -l
####install a ruby version : rbenv install 2.1.2
####set version for use : rbenv global 2.1.2
####echo 'export RBENV_VERSION="2.1.2"' >> ~/.bashrc
#bundler
#sudo gem install bundler --no-ri --no-rdoc
#Node Js
#sudo apt-add-repository -y ppa:chris-lea/node.js