beacon4.star.le.ac.uk:8080 twmbarlwm.star.le.ac.uk:8084
Machine allocation :
beacon2.star.le.ac.uk public-registry
beacon3.star.le.ac.uk private-registry
beacon4.star.le.ac.uk workshop-filestore
beacon5.star.le.ac.uk workshop-filemanagerpublic
beacon6.star.le.ac.uk workshop-community
beacon7.star.le.ac.uk workshop-workflow
--------------------
#
# Initial install, including JDK and Tomcat
#
#
# Create the workshop directory.
mkdir /home/integration/LeicesterDay/workshop4
cd /home/integration/LeicesterDay/workshop4
#
# Create downloads directory
mkdir downloads
#
# Get the target java JDK.
pushd downloads
wget http://www.astrogrid.org/maven/java--downloads/j2sdk-1_4_2_11-linux-i586.rpm
popd
#
# Install the JDK (need to be root).
sudo rpm -i downloads/2sdk-1_4_2_11-linux-i586.rpm
#
# Set JAVA_HOME
export JAVA_HOME=/usr/java/j2sdk1.4.2_11
#
# Get the latest Tomcat distro.
# http://www.astrogrid.org/maven/tomcat/zips/
pushd downloads
wget http://www.astrogrid.org/maven/tomcat/zips/jakarta-tomcat-5.0.28.zip
popd
#
# Unpack the Tomcat distro
unzip downloads/jakarta-tomcat-5.0.28.zip
#
# Tweak the control scripts.
chmod a+x jakarta-tomcat-5.0.28/bin/*.sh
#
# Tweak the user accounts.
vi jakarta-tomcat-5.0.28/conf/tomcat-users.xml
+
+
+
#
# Start Tomcat ...
jakarta-tomcat-5.0.28/bin/startup.sh
#
# Check Tomcat running.
# http://twmbarlwm.star.le.ac.uk:8084/
#
# Check admin login
# http://twmbarlwm.star.le.ac.uk:8084/admin
#
# Check manager login
# http://twmbarlwm.star.le.ac.uk:8084/manager/html
--------
#
# Create our filestore webapp directory.
mkdir filestore
mkdir filestore/webapp
#
# Get the filestore webapp.
# http://www.astrogrid.org/maven/org.astrogrid/wars/?C=M&O=D&P=astrogrid-filestore-*.war
pushd filestore/webapp
wget http://www.astrogrid.org/maven/org.astrogrid/wars/astrogrid-filestore-2006.3fs.war
popd
#
# Create the filestore data directory.
mkdir filestore/data
#
# Create our context file.
vi jakarta-tomcat-5.0.28/conf/Catalina/localhost/workshop-filestore.xml
#
# Check the filestore home page.
# http://twmbarlwm.star.le.ac.uk:8084/workshop-filestore/
#
# Check the filestore admin page.
# http://twmbarlwm.star.le.ac.uk:8084/workshop-filestore/admin/
#
# Setup the apache proxy on external machine.
vi /xx/yy/zz/httpd.conf
#
# Proxy for workshop filestore.
ProxyPass /workshop-filestore/ http://twmbarlwm.star.le.ac.uk:8084/workshop-filestore/
ProxyPassReverse /workshop-filestore/ http://twmbarlwm.star.le.ac.uk:8084/workshop-filestore/
#
# Check the external filestore page.
# http://www.astrogrid.org/workshop-filestore/
#
# Self register page.
# http://twmbarlwm.star.le.ac.uk:8084/workshop-filestore/admin/selfRegisterForm.jsp
ContactName xxxx
ContactEmail xxxx
#
# Fix the endpoint URL to use external address.
....
http://www.astrogrid.org/workshop-filestore/services/FileStore
#
# Check the public registry.
# http://twmbarlwm.star.le.ac.uk:8082/public-registry/browse.jsp?IvornPart=org.astrogrid.workshop.public