install mongodb on redhat centos or fedora linux

by admin on November 29th, 2012

install mongo on linux/ubuntu:
1. sudo apt-get install mongodb
2. sudo pecl install mongo
3. echo “extension=mongo.so” >> /etc/php5/apache2/php.ini
4. restart apache
5. restart mongodb ( sudo service mongodb restart/start )
install on centos centos 6.3

1. http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
2. Install php-pecl-mongo rpm package: yum install php-pecl-mongo
3. echo “extension=mongo.so” >> /etc/php.ini
4. service httpd restart
5. restart mongodb ( sudo service mongod restart/start )

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>