Differences between revisions 15 and 17 (spanning 2 versions)
Revision 15 as of 2009-02-16 13:11:56
Size: 2003
Editor: jrg
Comment:
Revision 17 as of 2010-03-17 13:12:53
Size: 1370
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * iIn {{{miniDOMS/installed/fedora_install}}} do a {{{export FEDORA_HOME=$PWD}}}
 * In {{{miniDOMS/install_tool}}} do a {{{./minidoms_install.sh}}}
 * In {{{miniDOMS}}} do
{{{
mkdir
installed/fedora_install
cd
installed/fedora_install/
export FEDORA_HOME=$PWD
}}}
 * In {{{miniDOMS/install_tool/bin}}} do a {{{./minidoms_install.sh}}}
Line 17: Line 22:


miniDOMS/installed$ cd tomcat/bin/
miniDOMS/installed/tomcat/bin$./startup.sh
miniDOMS/installed/tomcat/bin$ cd ..
miniDOMS/installed/tomcat$ cd ..
miniDOMS/installed$ cd fedora_install
miniDOMS/installed/fedora_install$ export FEDORA_HOME=$PWD
miniDOMS/installed/fedora_install$ cd ..
miniDOMS/installed$ cd tomcat/bin/
miniDOMS/installed/tomcat/bin$ ./shutdown.sh
miniDOMS/installed/tomcat/bin$ ./startup.sh
miniDOMS/installed/tomcat/bin$ cd ..
miniDOMS/installed/tomcat cd logs/
miniDOMS/installed/tomcat/logs$ less catalina.out
miniDOMS/installed/tomcat/logs$ cd ../bin/
miniDOMS/installed/tomcat/bin$ less setenv.sh
miniDOMS/installed/tomcat/bin$ ./shutdown.sh
miniDOMS/installed/tomcat/bin$ ./startup.sh
cd ../../installed/tomcat/bin/
./startup.sh
Line 38: Line 26:
 * test with 'http://localhost:7900/fedora/search'  * Finally, test with 'http://localhost:7900/fedora/search'

To install miniDOMS locally, several steps need to be taken.

We assume you have the files and access them through IDEA.

  • Under IDEA, open Ant-build , run the 'release'-target (for minidoms). This creates a minidoms.tar.gz, most likely under  DOMS/legacy/minidoms/dist/ 

  • unpack this file somewhere, not in the directory where you intend for the miniDOMS to end up.

(eg.  miniDOMS/install_tool  )

  • Create the dir where you intend to have the miniDOMS end up. (eg.  miniDOMS/installed/  - this is your target dir

  • test for the presence of mySQL on your machine (This can be done simply using the  mysql  command. Leave mySQL using  \q ) - if mySQL is not present, install mySQL.

  • Within the dir where you unpacked the .gz file, in the 'config' dir, find the 'conf' file. Change the INSTALL_HOME to your target dir (can be found using 'pwd').
  • Make sure the variables JAVA_HOME and JRE_HOME are defined in your ~/.profile (point them both to $JDK_HOME)

  • Do a source ~/.profile

  • In miniDOMS do

mkdir installed/fedora_install
cd installed/fedora_install/
export FEDORA_HOME=$PWD
  • In miniDOMS/install_tool/bin do a ./minidoms_install.sh

Then

cd ../../installed/tomcat/bin/
./startup.sh

DDAReleaseTestInstallMini (last edited 2010-03-17 13:12:53 by localhost)