sudo apt update
sudo apt install nodejs npm
sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curl
curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main'
sudo apt install mongodb-org
sudo systemctl enable mongod --now
sudo apt install nginx
sudo ufw allow 'Nginx HTTP'
sudo ufw allow 'Nginx HTTPS'
sudo systemctl enable nginx
New Method with root permission
npm install -g meteor
Old method
curl https://install.meteor.com/ | sh
sudo apt install python3-acme python3-certbot python3-mock python3-openssl python3-pkg-resources python3-pyparsing python3-zope.interface
sudo apt install certbot python3-certbot-nginx
**Check the file /etc/nginx/sites-available/default and change the Domain Name. **
Test the conf with following command
sudo nginx -t
sudo certbot --nginx -d Domain.Name
sudo systemctl status certbot.timer
sudo certbot renew --dry-run
Domain.Name = your site name - eg testing.cmcvellore.edu.in
Download CAP Admin from Repo and extract (Use the attachment pack.sh file.
cd /capadmin/app/
./pack.sh
To restore the mongodb use the mongorestore command (meteor mongo)
mongorestore -h 127.0.0.1 --port 3001 -d meteor /home/location/of/the/dump