start |
vpn install pritunl client on debian sudo tee /etc/apt/sources.list.d/pritunl.list << EOF sudo apt-get install dirmngr vpn useful to pritunl vpn remove redirect / change ssl portto disable the web server on port 80 run the command pritunl set app.redirect_server false this will also prevent the use of LetsEncrypt certificates. The web server that runs during the initial setup for Pritunl also uses port 443 this can be changed by modifying /etc/pritunl.conf. start / stop pritunlconsole pritunl start / pritunl stop vpn how To install mongodb 4 on debian 10 (buster) step 1: add mongodb repository import mongodb GPG key sudo apt update sudo apt -y install gnupg2 wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - then add repository URL to your debian system. echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org.list Step 2: install mongodb server on debian 10 (stretch) we have added required repositories and installed libcurl3. let’s now install. sudo apt update sudo apt -y install mongodb-org get package information with apt info command. apt info mongodb-org Package: mongodb-org Version: 4.2.1 Priority: optional Section: database Maintainer: Ernie Hershey ernie.hershey@mongodb.com Installed-Size: 13.3 kB .... the installation of the above package will install the following dependency packages: mongodb-org-server – This provides MongoDB daemon mongod mongodb-org-mongos – This is a MongoDB Shard daemon mongodb-org-shell – This provides a shell to MongoDB mongodb-org-tools – MongoDB tools used for export, dump, import e.t.c Step 3: start mongodb server the server daemon is named mongod. start and set it to start on server reboot/boot up. sudo systemctl enable --now mongod check its running status. systemctl status mongod.service |
our topics: > general > cloud computing > communications > databases > data backup > hardware > hosting > it-sec > prog > software > virtualization |