Changes

Jump to navigation Jump to search
28 bytes removed ,  13:17, 1 November 2021
Line 85: Line 85:     
WIP
 
WIP
  −
We have to disable GPGCheck as they don't appear to have a repo key that I can find :-(
      
  db yum_repositories set mongodb42 repository \
 
  db yum_repositories set mongodb42 repository \
 
               BaseURL [https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/4.2/$basearch/ https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/4.2/\$basearch/] \
 
               BaseURL [https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/4.2/$basearch/ https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/4.2/\$basearch/] \
 
               EnableGroups no \
 
               EnableGroups no \
               GPGCheck no \
+
               GPGCheck yes \
 
               Name "MongoDB" \
 
               Name "MongoDB" \
 
               GPGKey https://www.mongodb.org/static/pgp/server-4.2.asc \
 
               GPGKey https://www.mongodb.org/static/pgp/server-4.2.asc \
Line 108: Line 106:  
We will need a file  
 
We will need a file  
   −
/usr/lib/systemd/system/mongod.service/50koozali.conf
+
mkdir -p /usr/lib/systemd/system/mongod.service.d
 +
 
 +
nano /usr/lib/systemd/system/mongod.service.d/50koozali.conf
    
Something like:
 
Something like:

Navigation menu