Main Menu




browser lang:en

Users Area

Client Login

today cache size is:0

 

 


Comments

fg
16/04/2011 by fdg
Hi all
13/02/2011 by
John
24/07/2010 by John
better
16/04/2010 by bob
attached files not working !
05/11/2009 by Adnan
Tuvok
14/02/2009 by
Nice script
07/02/2009 by desaj
Other solutions
07/02/2009 by Mike

Read More »


RAPIDQ

Rapid-Q:The lost files
My old library where i have collected all the rapidq scripts and italian help


Today my pagerank is: Free Page Rank Tool
Upbooking - free booking engine

How to install MongoDB Ubuntu Maverick Meerkat 10.10 in easy steps

 

Installing MongoDB in Ubuntu 10.10 in a few easy steps. Now, go to your console and follow this steps :

1. Add MongoDB repository into Ubuntu
Add deb http://downloads.mongodb.org/distros/ubuntu 10.10 10gen into /etc/apt/source.list.

2. Create PGP key and Install MongoDB
We need to generate key to gain access into MongoDB repository.
Use sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 to get keyserver
Then do sudo apt-get update to update your repository.
Do sudo apt-get install mongodb-stable to install mongoDB into your Ubuntu.
Test by run command mongo and you will get MongoDB shell version: 1.6.4

3. Configure MongoDB PHP Driver
Now, we need to configure mongoDB PHP Driver. First, we need if our system already have build-essential, php5-dev and php-pear.
Or you can install by :
sudo apt-get install build-essential php5-dev php-pear


Then, need PECL to install mongodb driver on the fly with sudo pecl install mongo.
You should have console result like this :

------------------------------- FROM CONSOLE --------------------------
downloading mongo-1.0.11.tgz ...
Starting to download mongo-1.0.11.tgz (62,436 bytes)
................done: 62,436 bytes
16 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
.....
Build process completed successfully
Installing '/usr/lib/php5/20090626+lfs/mongo.so'
install ok: channel://pecl.php.net/mongo-1.0.11
configuration option "php_ini" is not set to php.ini location
You should add "extension=mongo.so" to php.ini
------------------------------- FROM CONSOLE --------------------------

 

4. Add Mongo Extension into php.ini
In the end of line, you know what to do. Yes! add extension=mongo.so into /etc/php5/apache2/php.ini.
Then restart your apache by sudo service apache2 restart

Then you check with phpinfo() to see if MongoDB already installed!


Comments

Insert your comment

Titolo
Messaggio
Nome Utente
e-mail (se vuoi ricevere le risposte a questo post anche via mail)

Users

Videos


Scripts & Tutorials

50 necessaries php tools

25/02/2011 

PHP is one of the most widely used open-source server-side scripting languages that exist today. With over…

in:Scripts and tutorials (0 comments)

FBJS Quick Jump Menu for a FBML Facebook Platform App

15/07/2010 

In a FBML Facebook App, your quick jump menu will require a little tweak to work in FBJS…

in:Scripts and tutorials (0 comments)

How to manage your online reputation, free tools forcommunity managers

02/07/2010 

Every single day, someone, somewhere is discussing something important to your business; your brand, your executives, your…

in:Scripts and tutorials (0 comments)

PHP - The Singleton Pattern

26/11/2009 

The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a…

in:Scripts and tutorials (0 comments)

PHP - calculating distance between two points

20/10/2009 

Because of the near-spherical shape of the Earth, calculating an accurate distance between two points requires the use…

in:Scripts and tutorials (1 comments)

PHP - Download file with speed limit

20/10/2009 

With this script we can limit the download speed   // local file that should be send to the client $local_file…

in:Scripts and tutorials (0 comments)

PHP - Save remote images on our server using CURL

12/10/2009 

Some hosts disabled the ini setting allow_url_fopen. This also means that the ability to easily grab images…

in:Scripts and tutorials (0 comments)

PHP - verify file existence in a local server

11/06/2009 

The act to verify if a file exists, is one of more important tasks related to files operations,…

in:Scripts and tutorials (0 comments)

Read more »


Tag Clouds


necessaries toolsFBJS Quick Jump Menu FBML Facebook Platform AppHow manage your online reputation free tools forcommunity managersPHP Singleton PatternPHP calculating distance between points Download file speed limitPHP Save remote images


Add to Technorati Favorites