Setup Mongodb-3.6 community edition with replication.
Enable Mongodb-3.6 community edition user login authentication.
Mongodb-3.6 community edition installation with yum on CentOS7.
Use ssh-kengen to generate private/public keys for key authentication to ssh login remote linux server without password. Use ssh-copy-id to copy public key to remote server.
Command service has been changed to systemctl since CentOS7, this post demonstrates all the usage of command systemctl .
Service iptables has been changed to firewall-cmd since CentOS7, this post demonstrates some usage of the command firewall-cmd.