forked from refraction-networking/conjure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
38 lines (24 loc) · 890 Bytes
/
INSTALL
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
# go version 1.15.2
# rustc version 1.47.0
go get -d -u -t github.com/refraction-networking/conjure
cd ~/go/src/github.com/refraction-networking/conjure
# Fix for redis having wrong package for us:
go get -u github.com/go-redis/redis || true && cd ~/go/src/github.com/go-redis/redis && git checkout tags/v7.4.0 -b v7-master && cd -
# Build app
make app
# Build PF_RING
cd PF_RING && make && cd ../
# Build libtapdance
cd libtapdance && make && cd ..
# Build detector
make dark-decoy
# Make install directory
sudo mkdir -p /opt/conjure
# Install to /opt/
sudo cp -r ./* /opt/conjure/
# Install systemd stuff
sudo cp sysconfig/conjure-{app,det}.service /etc/systemd/system/
sudo cp sysconfig/zbalance.service /etc/systemd/system/
# Install zbalance stuff
sudo cp ./sysconfig/start_zbalance_ipc.sh /opt/conjure/
#sudo cp ./PF_RING/userland/examples_zc/zbalance_ipc /opt/conjure/