반응형
[root@localhost yum.repos.d]# yum install mongo-10gen mongo-10gen-server
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
* remi-php70: ftp.riken.jp
* remi-php72: ftp.riken.jp
* remi-safe: ftp.riken.jp
http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/repomd.xml: [Errno 14] Downloaded more than max size for https://www.mongodb.com/: 113071 > 102400
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: mongodb. Please verify its path and try again
단순 구글링해서 첫 페이지에 나온것으로 설치하면 위와 같은 에러가 나온다.
위 에러를 해결하기 귀찮아서 다른 방법으로 설치를 완료했다.
1., repo 등록
(1) mongodb 4.2
[mongodb-org-4.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
(2) mongodb 4.0
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
2. 설치
[root@localhost yum.repos.d]# yum install mongodb-org
반응형
'DB' 카테고리의 다른 글
[mysql] DB / USER / TABLE 생성 (0) | 2022.03.03 |
---|---|
[mysql] general_log (0) | 2021.07.08 |