centos 7 install mongo for remote connections code example Example: setup node and mongodb on centos 7 sudo systemctl start mongod