[Mongodb] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.ascThen I give the command:
dnf install mongodb-org systemctl enable mongod.service systemctl start mongod.serviceI can check the version by typing:
mongod --versionI can run an interactive shell via:
mongoLooking at running processes on my machine:
ps -alx | grep mongo 1 970 15207 1 20 0 1491428 95364 - Sl ? 15:55 /usr/bin/mongod -f /etc/mongod.confSome interesting lines in mongod.conf:
storage: dbPath: /var/lib/mongo # network interfaces net: port: 27017 bindIp: 127.0.0.1 # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6 addresses or, alternatively, use the net.bindIpAll setting.There are a number of files in /var/lib/mongo, none look particularly interesting at this time.
MySQL notes / [email protected]