5 - infinit.e-db-instance
Introduction
The infinit.e-db-instance RPM performs the following steps to configure the MongoDB server installed previously:
- Creates the infdb script used to start and stop MongoDB;
- Create the cron jobs that trigger database backups;
- Setup sharding (if applicable);
- Insert Infinit.e administrative and test user accounts;
- and Insert feature.geo collection;
Installing infinit.e-db-instance
To install from the Ikanow repo, simply run:
yum install infinit.e-db-instance
For offline installs:
Within terminal navigate to the directory that contains the infint.e-db-instance RPM and type the following command to start the installation process:
yum --disablerepo=* localinstall infinit.e-db-instance-*.rpm --nogpgcheck
Note: Starting the MongoDB server can take a long time due to the need to replicate existing data sources or simply allocating new data file space on the server. Be patient.
Uninstalling infinit.e-db-instance
(For example, if problems occur and you need to re-install)
Note that uninstalling the RPM does not remove the DB store itself, only the configuration and binaries. To remove the database entirely (make sure this is what you actually want to do!), also "rm -rf /opt/db-home/data".
Copyright © 2012 IKANOW, All Rights Reserved | Licensed under Creative Commons