-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildnode
executable file
·36 lines (28 loc) · 996 Bytes
/
buildnode
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
#!/bin/sh
# keep grub UI from coming up
sudo apt-mark hold grub
# make sure os is up to date
sudo apt-get update
sudo apt-get -y upgrade
# Install required packages
sudo apt-get install -y git g++ make openssl libssl-dev
sudo apt-get install -y libprotobuf-dev protobuf-compiler
sudo apt-get install -y python-tk python-dev python-setuptools python-crypto python-requests
sudo apt-get install -y swig
sudo apt-get install -y python-argparse
sudo apt-get install -y python-pygame
sudo apt-get install -y libffi-dev python-crypto python-protobuf python-networkx python-pip
# tools
sudo apt-get install -y vim tmux ack-grep curl socat netcat wget stunnel
sudo pip install --upgrade pip
sudo pip install pynacl
# get XIA source & build
cd /
sudo git clone https://github.com/XIA-Project/xia-core.git
sudo chmod -R 777 xia-core
cd xia-core
git checkout develop
# Delete xsockconf.ini files that are not for GENI XIA-prototype
#find . -name "xsockconf*.ini" -exec rm -rf {} \;
./configure
make