Topic: Howto: Install mongoDB

1) Update ports collection
2) Install mongoDB from ports:

# cd /usr/ports/databases/mongodb/
# make install clean

3) Add startup settings to /etc/rc.conf:

mongod_enable="YES"
mongod_config="/usr/local/etc/mongodb.conf"
mongod_dbpath="/var/db/mongodb"

4) Add settings to /usr/local/etc/mongodb.conf:

master = true
nohttpinterface = true

5) Run mongod daemon:

# service start mongod

Tip 1: If you get following message:

Starting mongod.
su: unknown login: mongodb
/usr/local/etc/rc.d/mongod: WARNING: failed to start mongod

You should to update master.passwd file with command:

# pwd_mkdb -p /etc/master.passwd

And then try to start mongod again.

Tip 2: If you want to use mongoDB with php, don't forget to install pecl mongo extension:

# cd /usr/ports/databases/pecl-mongo
# make install clean

And then add following strings to /usr/local/etc/php.ini:

[mongo]
mongo.default_host="localhost"
mongo.default_port=27017
mongo.auto_reconnect=1
mongo.allow_persistent=1
mongo.chunk_size=262144
mongo.cmd="$"
mongo.utf8=1

Re: Howto: Install mongoDB

Nitroglycerin  buy cialis Vente Generic Kamagra Super Active 250 Mg Amoxicillin Capsule For Dogs Propecia Ersatzmedikament

Share

Re: Howto: Install mongoDB

Viagra Para Hombres  п»їcialis Cialis Arreter Walmart Generic Drug List Cephalexin Used For Dogs

Share

Re: Howto: Install mongoDB

Cialis 10 Generic Without Perscription Canadian Pharamacies  viagra Buy Propranolol Uk Viagra 100mg Pfizer Stendra 200 Mg Cheap

Share

Re: Howto: Install mongoDB

Ou Acheter Du Cialis En France Acheter Du Kamagra En Ligne Cheapest Place To Buy Propecia  buy generic cialis Purchase Doxycycline Online No Prescription Cheap Viagra 50mg

Share

Re: Howto: Install mongoDB

Amoxicillin And Pseudomonas Aeruginosa  cialis vs viagra Nombres Women Argentina

Share

Re: Howto: Install mongoDB

Melatonin Buy Branded Viagra Keflex For Urinary Tract Infections  viagra Cephalexin 500mg For A Head Cold

Share

Re: Howto: Install mongoDB

Cialis 8cpr Riv Cialis Diarrea Propecia Prueba  cialis vs viagra Will Cephalexin It Treat Strep Throat

Share

Re: Howto: Install mongoDB

Propecia Ricrescita Cialis Y Glaucoma   Propecia Droga Priligy 30mg Price

Share

Re: Howto: Install mongoDB

Achat Lioresal 25mg  viagra vs cialis Supreme Suppliers Mumbai India Tooth Abcess And Amoxicillin Cannabis Et Baclofen

Share

Re: Howto: Install mongoDB

Plavix Online Pharmacy Dapoxetina Si Trova In Farmacia Mail Order Drug Store In Belize  cialis prices Cialis 5 Mg Dosis

Share

Re: Howto: Install mongoDB

Cialis?Refid 417 Cialis Medicamento Precio Amoxicillin Use In Cats  cialis vs viagra Propecia Propiedades

Share

Re: Howto: Install mongoDB

Rx Costomer Avis Propecia Generique  viagra Lukol Cialis Rezeptfrei Test

Share

Re: Howto: Install mongoDB

Buy Progesterone Albuquerque Cheap Antabuse Disulfiram  cialis canada How Can I Last Longer Propecia Vorher Nachher Bilder Amoxicillin Apple Cider Vinegar

Share