Posts

Showing posts with the label yum install

Redis install and run

My platform is Red Hat Enterprise Linux Server release 7.3 (Maipo) download redhat-release rpm [root@msdlvd-dsnavl02 /]# rpm -Uvh https://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Install redis using yum [root@msdlvd-dsnavl02 /]# yum install redis -y Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager This system is receiving updates from RHN Classic or Red Hat Satellite. epel/x86_64/metalink                                                                                                                                                    ...

MongoDB upgrade from 3.2 to 3.4, the manual way

This is a quick tutorial on upgrading your existing mongod binary from \mongod 3.2 to mongod 3.4. 1. verifying the version I am currently running [xxxx ~]$ mongod --version db version v3.2.10 git version: 79d9b3ab5ce20f51c272b4411202710a082d0317 OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 allocator: tcmalloc modules: none build environment: distmod: rhel70 distarch: x86_64 target_arch: x86_64 2. stop the mongod on the server and issue kill of the processes [ xxxx ~]# ps -ef | grep mongod root 4870 25188 0 14:17 pts/0 00:00:00 grep --color=auto mongod root 14222 1 0 Apr25 ? 08:55:52 mongod --port 30000 --dbpath /data/mongodb/arb --logpath /data/mongodb/arblog/arb.log --replSet avlrepdev --fork root 14247 1 0 Apr25 ? 08:51:16 mongod --port 30001 --dbpath /data/mongodb/arb1 --logpath /data/mongodb/arblog/arb1.log --replSet avlrepdev --fork [ xxxx ~]# kill 14222 [xxxx ~]# kill 14247 [xxxx ~]# ps -ef | grep mongod root...

Issue encountered and fix - Installing MongoDB on Redhat 7.x via yum

This is the version of redhat I am running [root@msdlva-dsnops03 ~]# lsb_release -a LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: RedHatEnterpriseServer Description:    Red Hat Enterprise Linux Server release 7.3 (Maipo) Release:        7.3 Codename:       Maipo To start, we need to configure mongodb-enterprise repo https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat/ This is the repo I used [root@msdlva-dsnops03 ~]# vi /etc/yum.repos.d/mongodb-enterprise.repo [mongodb-enterprise] name = MongoDB Enterprise Repository baseurl = https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/3.4/$basearch/ gpgcheck = 1 enabled = 1 gpgkey = https://www.mongodb.org/static/pgp/server-3.4.asc [root@msdlva-dsnops0...