Created
August 1, 2017 10:41
-
-
Save hitesh83/12ed2996464b2db42d96b1160b6efa98 to your computer and use it in GitHub Desktop.
MongoDB 3.4 on Odroid C2 (ARM64)
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 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The instructions/packages on the MongoDB site are currently available for LTS Ubuntu 12.04 and 14.04 only. The packages are set up to use upstart instead of systemd. You need to create a systemctl file to be ready for systemd. Create it by
sudo nano /etc/systemd/system/mongodb.service
It will look like
Now you can start the service and check its state by
and finally enable it permanently by
sudo systemctl enable mongodb
(Source: How to Install MongoDB on Ubuntu 16.04)