-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstalls.txt
46 lines (37 loc) · 1.42 KB
/
installs.txt
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
docker run -it --rm \
--privileged \
-v /lib/modules:/lib/modules \
-v /usr/src:/usr/src \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/localtime:/etc/localtime \
-v /sys/kernel/debug:/sys/kernel/debug \
-v /home/ubuntu/Desktop/Share/Runtime/Tracer:/tracer \
-e HOST_HOSTNAME=`hostname` \
--workdir /tracer \
ubuntu
bcc
apt update
apt install gnupg
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
apt-get install lsb-core
echo "deb https://repo.iovisor.org/apt/$(lsb_release -cs) $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/iovisor.list
apt update
apt install bcc-tools libbcc-examples linux-headers-$(uname -r) python3-bcc
apt-get -y install python3-pip
Radamsa
$ # please please please fuzz your programs. here is one way to get data for it:
$ sudo apt-get install gcc make git wget
$ git clone https://gitlab.com/akihe/radamsa.git && cd radamsa && make && sudo make install
$ echo "HAL 9000" | radamsa
Gitlab install
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
sudo apt update
sudo apt-get install gitlab-runner
Gitlab Setup
sudo gitlab-runner register -n \
--url https://gitlab.com/ \
--registration-token REGISTRATION_TOKEN \
--executor shell \
--description "My Runner"
sudo usermod -aG docker gitlab-runner
sudo -u gitlab-runner -H docker info => Verify that gitlab-runner has access to Docker