I am trying to install mongodb
on my Ubuntu 12.04
Desktop edition. Firstly I hope there isn't any issue w.r.t. installing mongodb
on Ubuntu Desktop edition.
I am following the mongodb
manual to install it on my Ubuntu machine.
When I try to import the 10gen public GPG Key
using the instructions (given in the manual), By
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
I get this response:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.WsHkMVxFlM --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10
gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
gpgkeys: key 7F0CEB10 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
Any help or hint in this regard is appreciated.
Thanks in advance.
A way to go around firewalls: query over typical port (80):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
Another problem you may have would be a network proxy. If you need to connect to the internet through proxy, export proxy settings to you bash configuration - add line with your proxy address (and if needed: username/password - without it's just http://proxyserver:port
):
export http_proxy=http://username:password@proxyserver:port/
at the end of file /etc/bash.bashrc