-
-
Save SiestaMadokaist/5c7a02691b3230762f97cae3b7c2c9cf to your computer and use it in GitHub Desktop.
pritunl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tee /etc/yum.repos.d/mongodb-org-5.0.repo << EOF | |
[mongodb-org-5.0] | |
name=MongoDB Repository | |
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/ | |
gpgcheck=1 | |
enabled=1 | |
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc | |
EOF | |
sudo tee /etc/yum.repos.d/pritunl.repo << EOF | |
[pritunl] | |
name=Pritunl Repository | |
baseurl=https://repo.pritunl.com/stable/yum/oraclelinux/8/ | |
gpgcheck=1 | |
enabled=1 | |
EOF | |
sudo yum -y install oracle-epel-release-el8 | |
sudo yum-config-manager --enable ol8_developer_EPEL | |
sudo yum -y update | |
# WireGuard server support | |
sudo yum -y install wireguard-tools | |
sudo yum -y remove iptables-services | |
sudo systemctl stop firewalld.service | |
sudo systemctl disable firewalld.service | |
# Import signing key from keyserver | |
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A | |
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp | |
# Alternative import from download if keyserver offline | |
sudo rpm --import https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc | |
sudo yum -y install pritunl mongodb-org | |
sudo systemctl enable mongod pritunl | |
sudo systemctl start mongod pritunl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment