-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
33 lines (28 loc) · 692 Bytes
/
setup.sh
File metadata and controls
33 lines (28 loc) · 692 Bytes
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
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade -y
sudo cat <<EOT >> /etc/environment
LC_ALL="en_US.UTF-8"
EOT
apps=(
git
nginx
zsh
mysql-server
python-pip
)
for app in "${apps[@]}"
do
sudo apt-get install -y $app
done
sudo apt-get install build-essential libssl-dev
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
bash install_nvm.sh
source ~/.nvm/nvm.sh
nvm install 6.9.5
npm install pm2 -g
pip install --upgrade pip
sudo pip install --upgrade virtualenv
virtualenv -p /usr/bin/python venv
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
chsh -s `which zsh`
sudo sh ./ssl.sh