Changes

From SME Server
Jump to navigationJump to search
2 bytes added ,  17:47, 20 August 2019
Line 10: Line 10:  
                 Visible no \
 
                 Visible no \
 
                 status disabled
 
                 status disabled
 +
 
  signal-event yum-modify
 
  signal-event yum-modify
 +
 
  yum install mongodb-org --enablerepo=mongodb
 
  yum install mongodb-org --enablerepo=mongodb
if refuses to install because o GPG Key you can change '''GPGCheck''' above from '''Yes''' to '''No''' and try '''yum install...'''  again or
+
 
 +
If refuses to install because o GPG Key you can change '''GPGCheck''' above from '''Yes''' to '''No''' and try '''yum install...'''  again or
 
  yum install mongodb-org --enablerepo=mongodb --nogpgcheck
 
  yum install mongodb-org --enablerepo=mongodb --nogpgcheck
   Line 18: Line 21:  
  /etc/init.d/mongod start
 
  /etc/init.d/mongod start
   −
and add the symlinks to start automatically:
+
Add the symlinks to start automatically:
 +
 
 
  ln -s /etc/init.d/mongod /etc/rc.d/rc6.d/K03mongodb
 
  ln -s /etc/init.d/mongod /etc/rc.d/rc6.d/K03mongodb
 
  ln -s /etc/init.d/mongod /etc/rc.d/rc7.d/S57mongodb
 
  ln -s /etc/init.d/mongod /etc/rc.d/rc7.d/S57mongodb
optional: create symlink to use mongo or mongodb as service name
+
 
 +
Optional: create symlink to use mongo or mongodb as service name
 +
 
 
  ln /etc/init.d/mongod /etc/init.d/mongodb
 
  ln /etc/init.d/mongod /etc/init.d/mongodb
  

Navigation menu