Install MongoDB cPanel server

Stop worrying about your server.

cPanel/Plesk Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more 

cPanel Server Management  $59/mo Click here

Plesk Server Management $59/mo Click here

Install MongoDB cPanel server:

You can install MongoDB on your cPanel server by following the steps below,

Step 1.

MongoDB can be installed from  its own Repo. For creating the repo,

vi /etc/yum.repos.d/mongodb.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

Step 2.

Now you can install MongoDB using Yum utility.

yum install mongo-10gen mongo-10gen-server

Step 3.

Also you need to install the dependencies if any.

Step 4.

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

Step 5.

Start the MongoDB service,

service mongod start

Step 6.

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]

Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59 

Server Management at just $59

Leave a Reply

Your email address will not be published. Required fields are marked *