Child pages
  • How to install DOMS-GUI for development on your machine

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Excerpt

How to install the DOMS GUI

Children Display
depth3
styleh3
excerpttrue

1 Prepare a clean environment for the GUI

If a DOMS-GUI is already running, kill it. Do this by first checking:

Code Block
borderColorgray
borderStyledashed
ps ax | grep omcat

then doing a kill on any GUI tomcat already running. (Identify a GUI one by the fact that it has a path to the GUI installation)

2 Acquire resources  

Download gui in your prefered folder

Code Block
borderColorgray
borderStyledashed
cd <prefered-location>
wget https://sbforge.org/nexus/content/repositories/releases/dk/statsbiblioteket/doms/testbed/guitestbed/0.1.0/guitestbed-0.1.0-testbed.zip

3 Deploy server

Extract and setup testbed:

Code Block
borderColorgray
borderStyledashed
cd <prefered-location>

then

Code Block
borderColorgray
borderStyledashed
unzip guitestbed-0.1.0-testbed.zip
rm guitestbed-0.1.0-testbed.zip
gedit guitestbed-0.1.0/bin/setenv.sh

In setenv.sh, configure port numbers and the port number of the fedora instance. I.e. set the right values for PORTRANGE, FEDORAPORTRANGE, and FEDORASERVERNAME. (Ranges are entered as the first two digits of the wanted four-digit port numbers)

Then pick the name you want for a directory containing the installation, and install:

Code Block
borderColorgray
borderStyledashed
guitestbed-0.1.0/bin/install.sh <install-dir-name>

4 Test DOMS-GUI

In a browser, open:

Code Block
borderColorgray
borderStyledashed
http://localhost:<PORTRANGE>80/DomsGui

If you get a white screen, wait for a while

5 Profit 

Use your new server setup for fame and profit.

Alternately achieve world domination.