Install MongoDB cPanel server:
MongoDB is document-oriented database software. and it is classified as a NoSQL database program, MongoDB uses JSON like documents with optional schemas. You can install MongoDB on your cPanel server by following the steps below,
MongoDB can be installed from its own Repo. For creating the repo,
in this file paste the below code,
[mongodb]name=MongoDB Repo baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1
Now you can install MongoDB using Yum utility.
yum install mongo-10gen mongo-10gen-server
Also you need to install the dependencies if any.
After installation make sure you add the MongoDB service to your config, so it will be automatically started when you reboot your server,
chkconfig mongod on
Start the MongoDB service,
service mongod start
Now you need to install the MongoDB PHP Extension using pecl via http://pecl.php.net/package/mongo. For that use the command,
pecl install mongo
Now everything will be fine.
If you need our help to fix any issues on your server. Please feel free to contact us, simply email to [email protected]