Actions
Builder-CI Installation on Ubuntu 2004 » History » Revision 9
« Previous |
Revision 9/10
(diff)
| Next »
Olivier Bitsch, 06/29/2021 10:20 AM
Builder-CI Installation on Ubuntu 2004¶
This page is not finished
Enable universe repository¶
sudo add-apt-repository universe
Install Docker¶
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update && sudo apt install docker-ce
Install Mongo¶
## Install Mongo Repository
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
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
## Install Mongo Package
sudo apt-get update && sudo apt-get install mongodb-org
## Enable replicaset feature into config
echo -e "replication:\n replSetName: \"rs0\"" >> /etc/mongod.conf
## Start Mongo
sudo systemctl enable --now mongod
Installing Builder-CI¶
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, ...).
echo "deb [trusted=yes] https://projects.iabsis.com/repository/builder-ci/debian buster main" \
> /etc/apt/sources.list.d/iabsis.list
apt update && apt install builder-ci
Updated by Olivier Bitsch over 3 years ago · 9 revisions