MongoDB Documentation, Release 3.0.4 Step 5: Begin using MongoDB. To help you start using MongoDB, MongoDB provides Getting Started Guides in various driver editions. See getting-started for the available editions. Before deploying MongoDB in a production environment, consider the Production Notes (page 197) document. Later, to stop MongoDB, press Control+C in the terminal where the mongod instance is running. To completely remove MongoDB from a system, you must remove the MongoDB applications themselves, the con- figuration files, and any directories containing data and logs. The following section guides you through the necessary steps. Uninstall MongoDB Warning: This process will completely remove MongoDB, its configuration, and all databases. This process is not reversible, so ensure that all of your configuration and data is backed up before proceeding. Step 3: Remove Data Directories. Remove MongoDB databases and log files. Use this tutorial to install MongoDB Enterprise 23 on Amazon Linux AMI. MongoDB Enterprise is available on select platforms and contains support for several features related to security and monitoring. This installation guide only supports 64-bit systems. See Platform Support (page 809) for details. To install all of MongoDB’s dependencies, run the following command: 47 2.3. Installation Guides $^{23}$https://www.mongodb.com/products/mongodb-enterprise-advanced?jmp=docs Prerequisites Overview Install MongoDB Enterprise on Amazon Linux AMI sudo rm -r /var/log/mongodb sudo rm -r /var/lib/mongo yum install cyrus-sasl-lib krb5-libs lm_sensors-libs net-snmp-agent-libs \ net-snmp-libs openssl-libs rpm-libs tcp_wrappers-libs sudo service mongod stop Step 1: Stop MongoDB. Stop the mongod process by issuing the following command: Step 2: Remove Packages. Remove any MongoDB packages that you had previously installed. sudo zypper remove $( rpm -qa | grep mongodb-enterprise )