On Wednesday, 14 October 2015 09:42:41 UTC+11, A. Jalil @AJ wrote:
Please note, in my repo below, you see MongoDB 2.6 Repository - that's where things got off track in my deployment.. How to make sure I am using MongoDB 2.6.4 Repository and NOT 2.6.11 Repository ?Now, I need repo 2.6.11 Repository - Where/how to get the repo from ?
Hi AJ,
That repository includes all official MongoDB RPM packages for 2.6. You can manually confirm available packages by visiting the “baseurl” in a browser and viewing the “RPMS” directory.
Have you done a yum update to refresh your list of available packages?
If your package list is current, you could also check if the mongodb-org packages have been pinned to a specific version in /etc/yum.conf
Regards,
Stephen
On Wednesday, 14 October 2015 14:27:22 UTC+11, A. Jalil @AJ wrote:
I am not sure if I am following you correctly. Currently I have an instance v2.6.11 already installed - you are saying that the repository includes all official MongoDB, I got that, but my issue is how to get back to v2.6.4 ?
Hi AJ,
Sorry, misread which version you were after as I was thinking of your earlier question.
You can choose a specific version by appending the package version to the name, eg:
sudo yum install -y mongodb-org-2.6.4 mongodb-org-server-2.6.4 mongodb-org-shell-2.6.4 mongodb-org-mongos-2.6.4 mongodb-org-tools-2.6.4
For more info, see: http://docs.mongodb.org/v2.6/tutorial/install-mongodb-on-red-hat/#install-the-mongodb-packages-and-associated-tools
Lets say I remove v2.6.11 or I have a new server - considering my repo I posted earlier which I have on /etc/yum.repos.d/mongodb-org.repo how do I make sure v2.6.4 is installed and not v2.6.11 ?
My old sever that I am deploying to AWS has v2.6.4 and would like to keep the same version during the deployment..
There have been a number of significant security and stability fixes since MongoDB 2.6.4 was released in August last year:
http://docs.mongodb.org/manual/release-notes/2.6-changelog/
Newer 2.6.x releases are binary compatible, so if you are provisioning a new environment I would encourage you to upgrade to the latest 2.6.x release as well.
Regards,
Stephen