Builder-CI Installation on Ubuntu 2004 » History » Version 10
Olivier Bitsch, 06/29/2021 10:22 AM
1 | 10 | Olivier Bitsch | # Builder-CI Installation on Ubuntu 20.04 |
---|---|---|---|
2 | 1 | Olivier Bitsch | |
3 | > This page is not finished |
||
4 | 2 | Olivier Bitsch | |
5 | ## Enable universe repository |
||
6 | |||
7 | sudo add-apt-repository universe |
||
8 | 3 | Olivier Bitsch | |
9 | ## Install Docker |
||
10 | |||
11 | ~~~ bash |
||
12 | sudo apt-get install \ |
||
13 | apt-transport-https \ |
||
14 | ca-certificates \ |
||
15 | curl \ |
||
16 | gnupg \ |
||
17 | lsb-release |
||
18 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
||
19 | echo \ |
||
20 | "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ |
||
21 | $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null |
||
22 | 5 | Olivier Bitsch | sudo apt update && sudo apt install docker-ce |
23 | 3 | Olivier Bitsch | ~~~ |
24 | 6 | Olivier Bitsch | |
25 | ## Install Mongo |
||
26 | |||
27 | ~~~ |
||
28 | 8 | Olivier Bitsch | ## Install Mongo Repository |
29 | 6 | Olivier Bitsch | wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - |
30 | echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list |
||
31 | 8 | Olivier Bitsch | |
32 | ## Install Mongo Package |
||
33 | 6 | Olivier Bitsch | sudo apt-get update && sudo apt-get install mongodb-org |
34 | 8 | Olivier Bitsch | |
35 | ## Enable replicaset feature into config |
||
36 | echo -e "replication:\n replSetName: \"rs0\"" >> /etc/mongod.conf |
||
37 | |||
38 | ## Start Mongo |
||
39 | 7 | Olivier Bitsch | sudo systemctl enable --now mongod |
40 | 6 | Olivier Bitsch | ~~~ |
41 | 9 | Olivier Bitsch | |
42 | ## Installing Builder-CI |
||
43 | |||
44 | The most easy part is installing ready packages for Builder-CI. Despite this is only few command lines, the process may take several minutes depending of your internet speed and server. During this stage, few Docker base images will be fetched (Debian, Centos, ...). |
||
45 | |||
46 | ~~~ bash |
||
47 | 10 | Olivier Bitsch | echo "deb [trusted=yes arch=amd64] https://projects.iabsis.com/repository/builder-ci/debian buster main" \ |
48 | 9 | Olivier Bitsch | > /etc/apt/sources.list.d/iabsis.list |
49 | apt update && apt install builder-ci |
||
50 | ~~~ |