Builder-CI Installation on Ubuntu 2004 » History » Revision 8
Revision 7 (Olivier Bitsch, 06/29/2021 10:17 AM) → Revision 8/10 (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 ~~~ bash 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 ~~~