[SOLVED] How to install mongodb 3.0 in fc22?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2008
    Posts
    65

    Question How to install mongodb 3.0 in fc22?

    Hi guys, can some one help me on how to install mongodb 3.0 in fedora 22 64bit? I did my home work and I found the guide to install it using yum. But I cant seem to make the repo work well when I want to install it using dnf.

    I did :-

    dnf config-manager --add-repo https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/

    But after dnf install mongodb-org I got this message:-

    Failed to synchronize cache for repo 'repo.mongodb.org_yum_redhat_mongodb-org_3.0_x86_64_' from 'https://repo.mongodb.org/yum/redhat//mongodb-org/3.0/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
    Last metadata expiration check performed 1:34:35 ago on Wed Jun 17 12:08:28 2015.



    Link: -

    http://tecadmin.net/install-mongodb-...el-and-fedora/

    Also I found this (The code above is from this link after the first link didn't work).

    http://docs.mongodb.org/manual/tutor...243.1434038362

    Please advise me.

    Thanks,

  2. #2
    Join Date
    Oct 2013
    Location
    /home
    Posts
    17

    Re: How to install mongodb 3.0 in fc22?

    Did you try replacing $releasever by 7.
    Last edited by onlyesterday16; 17th June 2015 at 12:20 PM.

  3. #3
    Join Date
    Oct 2008
    Posts
    65

    Re: How to install mongodb 3.0 in fc22?

    It worked. But I got a new error.

    [root@arkan ahmed]# dnf config-manager --add-repo https://repo.mongodb.org/yum/redhat/...rg/3.0/x86_64/
    Adding repo from: https://repo.mongodb.org/yum/redhat/...rg/3.0/x86_64/
    [root@arkan ahmed]# dnf install mongodb-org
    created by dnf config-manager from https://repo 18 kB/s | 8.9 kB 00:00
    Last metadata expiration check performed 0:00:00 ago on Wed Jun 17 15:15:54 2015.
    Dependencies resolved.
    ================================================== ==============================
    Package
    Arch Version
    Repository Size
    ================================================== ==============================
    Installing:
    mongodb-org
    x86_64 3.0.4-1.el7
    repo.mongodb.org_yum_redhat_7_mongodb-org_3.0_x86_64_ 4.6 k
    mongodb-org-mongos
    x86_64 3.0.4-1.el7
    repo.mongodb.org_yum_redhat_7_mongodb-org_3.0_x86_64_ 3.8 M
    mongodb-org-server
    x86_64 3.0.4-1.el7
    repo.mongodb.org_yum_redhat_7_mongodb-org_3.0_x86_64_ 8.2 M
    mongodb-org-shell
    x86_64 3.0.4-1.el7
    repo.mongodb.org_yum_redhat_7_mongodb-org_3.0_x86_64_ 4.1 M
    mongodb-org-tools
    x86_64 3.0.4-1.el7
    repo.mongodb.org_yum_redhat_7_mongodb-org_3.0_x86_64_ 31 M

    Transaction Summary
    ================================================== ==============================
    Install 5 Packages

    Total download size: 47 M
    Installed size: 148 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/5): mongodb-org-3.0.4-1.el7.x86_64.rpm 22 kB/s | 4.6 kB 00:00
    (2/5): mongodb-org-mongos-3.0.4-1.el7.x86_64.rpm 342 kB/s | 3.8 MB 00:11
    (3/5): mongodb-org-shell-3.0.4-1.el7.x86_64.rpm 330 kB/s | 4.1 MB 00:12
    (4/5): mongodb-org-server-3.0.4-1.el7.x86_64.rpm 299 kB/s | 8.2 MB 00:28
    (5/5): mongodb-org-tools-3.0.4-1.el7.x86_64.rpm 512 kB/s | 31 MB 01:02
    ----------------------------------------------------------------------------------------------------------
    Total 775 kB/s | 47 MB 01:02
    Error: Package mongodb-org-3.0.4-1.el7.x86_64.rpm is not signed
    [root@arkan ahmed]#

  4. #4
    Join Date
    Oct 2013
    Location
    /home
    Posts
    17

    Re: How to install mongodb 3.0 in fc22?

    @whitefish: maybe you should disable gpgcheck:
    # dnf install mongodb-org --nogpgcheck

  5. #5
    Join Date
    Oct 2008
    Posts
    65

    Re: How to install mongodb 3.0 in fc22?

    It got installed and I tested it.

    Thank you.

Similar Threads

  1. who is using fc22 as a server
    By Jagcoxa in forum Servers & Networking
    Replies: 14
    Last Post: 10th June 2015, 08:05 AM
  2. fc22 -- firefox cpu 100%
    By oystercatcher in forum F22 Development Forum
    Replies: 11
    Last Post: 9th April 2015, 02:43 AM
  3. mongodb from 10gen repo
    By ris81ryu in forum F17 Development Forum
    Replies: 0
    Last Post: 27th April 2012, 03:01 AM
  4. How to configure mongodb with eclipse
    By Antrikssh in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 19th December 2011, 03:49 PM
  5. installing mongodb
    By miles in forum Using Fedora
    Replies: 1
    Last Post: 27th September 2009, 07:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •