Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am forced to install mongodb manually on an Ubuntu server because the machine sits behind a proxy and there is no way to temporary open port 11371 for key exchange to happen. I am following this official mongoDB tutorial.

So I downloaded the tgz and extracted it in /usr/local/bin/mongodb. Where I got confused is when assigning the ownership of the /data/db to the user mongo.

  • So who creates the user mongo?
  • How to get control-scripts working?
share|improve this question
1  
Not an answer to your actual question, but I suggest you look further into how to install from packages instead. This question covers how to add a GPG key when behind a firewall/proxy: askubuntu.com/questions/147311/… –  David Edwards Nov 29 '12 at 7:58
add comment

1 Answer 1

I would recommend installing the official package, it is much easier to get started.

Make sure you correctly set your http_proxy and https_proxy in the terminal session and do whatever mentioned in the tutorial again.

I am also behind firewall (need proxy to access the Internet), everything works fine.

Example:

export http_proxy="http://username:password@company.com:port/" export https_proxy="http://username:password@company.com:port/"

And also you can use apt-get install to install MongoDB

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.