Saral Production-Environment User Installation Guide
Saral allows quick and reliable capture of information from physical formats to structured, digital formats.
Prerequisites
Last updated
Was this helpful?
Was this helpful?
# To Import the public key used by the package management system run
sudo apt-get install gnupg curl
# To import the MongoDB public GPG key from https://www.mongodb.org/static/pgp/server-7.0.asc, run the following command
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
# To Create a list file for MongoDB run
sudo touch /etc/apt/sources.list.d/mongodb-org-7.0.list
# To add Mongo Repo to package manager run
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
# To Reload local package database run
sudo apt-get update
#To Install the MongoDB packages run
sudo apt-get install -y mongodb-org