0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mongodb を alma9にいれる

Posted at

almalinux 9 にmongodbをいれる
以下、rootで実行

# dnf update

4.2とか4.4とか試したけど入らなかった。

 # vi /etc/yum.repos.d/mongodb-org-6.0.repo

[mongodb-org-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
# dnf install  mongodb-org
MongoDB Repository                                                               25 kB/s |  28 kB     00:01
Dependencies resolved.
================================================================================================================
 Package                                  Architecture   Version                  Repository               Size
================================================================================================================
Installing:
 mongodb-org                              x86_64         6.0.6-1.el8              mongodb-org-6.0          11 k
Installing dependencies:
 compat-openssl11                         x86_64         1:1.1.1k-4.el9_0         appstream               1.5 M
 cyrus-sasl                               x86_64         2.1.27-21.el9            baseos                   71 k
 cyrus-sasl-gssapi                        x86_64         2.1.27-21.el9            baseos                   26 k
 cyrus-sasl-plain                         x86_64         2.1.27-21.el9            baseos                   23 k
 mongodb-database-tools                   x86_64         100.7.3-1                mongodb-org-6.0          51 M
 mongodb-mongosh                          x86_64         1.10.1-1.el8             mongodb-org-6.0          43 M
 mongodb-org-database                     x86_64         6.0.6-1.el8              mongodb-org-6.0          11 k
 mongodb-org-database-tools-extra         x86_64         6.0.6-1.el8              mongodb-org-6.0          16 k
 mongodb-org-mongos                       x86_64         6.0.6-1.el8              mongodb-org-6.0          22 M
 mongodb-org-server                       x86_64         6.0.6-1.el8              mongodb-org-6.0          31 M
 mongodb-org-tools                        x86_64         6.0.6-1.el8              mongodb-org-6.0          11 k

Transaction Summary
================================================================================================================
Install  12 Packages

Total download size: 149 M
Installed size: 528 M
Is this ok [y/N]: y

インストール終了。

起動

# systemctl start mongod
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?