DEV Community 👩‍💻👨‍💻

Carlos Saltos
Carlos Saltos

Posted on • Updated on

MongoDB for arm64 at Alibaba Cloud

WHAT?

A brief article explaining how to install MongoDB at an Anolis Linux instance and the cool new arm64 CPU from Ampere Computing at Alibaba Cloud

WHY?

Because AWS is not the only cloud out there and also because ARM64 instances are cheaper than the old buddy Intel chips.

HOW?

Just download the MongoDB server version 5 from https://www.mongodb.com/try/download/community choosing Amazon Linux 2 ARM64 (Amazon Linux and Anolis Linux are very similar, both based on CentOS Linux).

Once you download the RPM package file for MongoDB server run these commands:

yum install compat-openssl10.aarch64
rpm -hiv --nodeps mongodb-org-server-5.0.3-1.amzn2.aarch64.rpm
Enter fullscreen mode Exit fullscreen mode

NOTE: the option nodeps is required to use the openssl library compat at Anolis Linux

Top comments (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.