forked from msoelr2500/NetworksProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
70 lines (46 loc) · 971 Bytes
/
bootstrap.sh
File metadata and controls
70 lines (46 loc) · 971 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env bash
vim_func(){
sudo apt-get install vim -y
}
java_func () {
sudo apt-get install openjdk-8-jre-headless -y
}
g++_func(){
sudo apt-get install gcc g++ -y
}
git_svn_func(){
sudo apt-get install git subversion -y
}
cmake_func(){
sudo apt-get install cmake -y
}
boost_func(){
sudo apt-get install libboost-all-dev -y
}
clion_func(){
sudo wget -q https://download.jetbrains.com/cpp/CLion-2016.3.2.tar.gz
tar xfz CLion-2016.3.2.tar.gz -C /home/vagrant/
}
generate_localkeys () {
sudo -H -u $1 ssh-keygen -N "" -q -f /home/$1/.ssh/id_generated_rsa
}
firefox_func () {
sudo apt-get install firefox -y
}
vim_func
echo "installed vim"
java_func
echo "installed java"
g++_func
echo "installed g++"
git_svn_func
echo "installed git and svn"
firefox_func
echo "installed firefox"
cmake_func
echo "installed cmake"
boost_func
echo "installed boost libraries"
clion_func
echo "installed clion"
generate_localkeys vagrant