-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbootstrap.sh
47 lines (38 loc) · 898 Bytes
/
bootstrap.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
#!/bin/bash
# update packages
sudo apt-get update
sudo apt-get upgrade -y
# core packages
sudo apt-get -y -q install \
software-properties-common \
python-software-properties \
python \
curl \
g++ \
make \
libssl-dev \
build-essential \
openssl \
libssl-dev \
unicode-data \
git-core \
pkg-config \
vim \
screen \
# add ppa's to sources
## node
sudo add-apt-repository -y ppa:chris-lea/node.js
## redis
sudo add-apt-repository -y ppa:chris-lea/redis-server
## mongo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
# update sources
sudo apt-get -y update
# install packages
sudo apt-get -y -q install \
nodejs \
redis-server \
mongodb-org
# npm packages
sudo npm install -g jshint bower gulp anywhere