Difference between revisions of "MongoDB Installation and configuration"

From Gcube Wiki
Jump to: navigation, search
(Installation)
(configuration)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=== Installation ===
 
=== Installation ===
The  installation of the MongoDB backend servers in a linu based system, in this case ubuntu :  
+
The  installation of the MongoDB backend servers (version 2.0.1) in a linux based system, in this case ubuntu :  
 
# first, <pre>apt-get install mongodb-10gen=2.0.1</pre>
 
# first, <pre>apt-get install mongodb-10gen=2.0.1</pre>
# then,
+
# then, repeat this operation for every server that you want to use
  
 
=== configuration ===
 
=== configuration ===
  
After having [ downloaded the package], the following steps have to be performed for every server:
+
After having downloaded the package, the following steps have to be performed for every server:
  
 
* enter the following Java command in the shell command prompt:
 
* enter the following Java command in the shell command prompt:

Latest revision as of 12:30, 12 September 2013

Installation

The installation of the MongoDB backend servers (version 2.0.1) in a linux based system, in this case ubuntu :

  1. first,
    apt-get install mongodb-10gen=2.0.1
  2. then, repeat this operation for every server that you want to use

configuration

After having downloaded the package, the following steps have to be performed for every server:

  • enter the following Java command in the shell command prompt:
  <target folder> 
This will launch the installer using the specified target folder as destination. Simply follow the steps to complete the installation process;
  • configure the Collection DB to point to the target folder as follows:
export =<target folder>
the command above must be placed in the $HOME/.bashrc (if the bash shell is used) or any other script loaded at login time;
  • ensure that you have "write" permissions set for the /data directory located in .
  • copy in the $GLOBUS_LOCATION's library folder by typing: