debuggers.hg

view tools/control/doc/INSTALL-web @ 644:5e169da77286

bitkeeper revision 1.339 (3f0d6d60VROcPVK9573_fpTcuFCUXg)

Rename domctl.xml to xenctl.xml
author rac61@labyrinth.cl.cam.ac.uk
date Thu Jul 10 13:42:56 2003 +0000 (2003-07-10)
parents 4515f4d0701f
children
line source
2 some notes on configuring xenctl web interface...
4 to build:
6 export PATH=/usr/groups/xeno/build_tools/bin:${PATH}
7 # this next step has already been done.
8 # cp $CATALINA_HOME/server/lib/catalina-ant.jar $ANT_HOME/lib
9 cd xeno.bk/tools/control
10 make web
11 # You only need to make/install internal if you haven't already
12 # it's also needed by the cmdline tool
13 cd xeno.bk/tools/internal
14 make
16 to setup:
18 ## expand the jakarta (aka catalina) tree somewhere accessible by dom0
19 export ROOTDIR=/anfs/scratch/<somewhere>
20 cd $ROOTDIR
21 tar zxf /usr/groups/xeno/archive/tomcat-4.1.24.tar.gz
22 export CATALINA_HOME=$ROOTDIR/jakarta-tomcat-4.1.24
23 export JAVA_HOME=/usr/groups/xeno/build_tools/java-1.4.1
25 ## edit $CATALINA_HOME/conf/server.xml, change port 8080 to port 80
26 cp $CATALINA_HOME/conf/server.xml $CATALINA_HOME/conf/server.orig
27 sed 's/8080/80/g' $CATALINA_HOME/conf/server.orig > $CATALINA_HOME/conf/server.xml
29 ## install the xenctl web archive
30 cp xeno.bk/tools/control/dist/xenctl-0.1-dev.war $CATALINA_HOME/webapps/xenctl.war
31 # Only if you have not already copied this file for the command line tool
32 cp xeno.bk/tools/control/xenctl.xml /etc
33 # If it doesn't exist:
34 mkdir /var/lib/xen
36 ## either edit xi_tools_dir in xenctl.xml or copy the binaries
37 ## unless already installed for the command line tool
38 # find xeno.bk/tools/internal -perm +111 -type f -exec cp {} /usr/local/bin \;
40 to run:
41 $CATALINA_HOME/bin/startup.sh
42 # point your browser at hostname-0.xeno.cl.cam.ac.uk:80/xenctl
45 for development:
46 ## edit xeno.bk/tools/control/build.properties
47 # change manger.url to your xenoserver: mousetrap-0.xeno.cl.cam.ac.uk
48 ## to "make install-web" in xeno.bk/tools/control instead of copying the war file
49 cp $CATALINA_HOME/conf/tomcat-users.xml $CATALINA_HOME/conf/tomcat-users.orig
50 sed -e 's/<tomcat-users>/<tomcat-users>\
51 <role rolename="standard"\/>\
52 <role rolename="manager"\/>\
53 <user username="hobbes" password="tiger" roles="standard,manager"\/>/' $CATALINA_HOME/conf/tomcat-users.orig > $CATALINA_HOME/conf/tomcat-users.xml