Size: 1642
Comment:
|
Size: 1933
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
* 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. | |
Line 11: | Line 12: |
Line 13: | Line 15: |
miniDOMS/installed$ ~/.profile | miniDOMS/installed$ source ~/.profile |
Line 18: | Line 20: |
}}} * test for the presence of mySQL on your machine (TODO: HOW?) - if mySQL is not present, install mySQL. * move into your unpacking dir - enter 'bin'. * run the install script - simply type './install.sh' * In the target dir, move to 'fedore_install/' * 'export FEDORA_HOME=$PWD' * target dir: './bin/startup.sh' thus {{{ miniDOMS/install_tool$ cd bin miniDOMS/install_tool/bin$ ./install.sh miniDOMS/install_tool/bin$ cd .. miniDOMS/install_tool$ cd .. miniDOMS/$ cd installed |
miniDOMS/install_toll$ cd .. miniDOMS$ cd installed miniDOMS/installed$ cd tomcat/bin/ miniDOMS/installed/tomcat/bin$./startup.sh miniDOMS/installed/tomcat/bin$ cd .. miniDOMS/installed/tomcat$ cd .. |
Line 35: | Line 29: |
miniDOMS/installed$ ./bin/startup.sh | 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 |
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. 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').
miniDOMS/installed$ pwd miniDOMS/installed miniDOMS/installed$ source ~/.profile miniDOMS/installed$ cd .. miniDOMS/$ cd install_tool miniDOMS/install_tool$ cd config miniDOMS/install_tool$ gedit conf miniDOMS/install_toll$ cd .. miniDOMS$ cd installed 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
test with 'http://localhost:7900/fedora/search'