Setting up your environment

(expected time to completion:  between 1 minute and 5 hours):

1.    Make sure everyone has a Linux cluster login and can indeed log in.

2.    To determine the shell you are using execute:

        echo $SHELL

If you are using bash or ksh shell add  the following line to the end  of your .bashrc (or .kshrc) file

        .  /stage/classes/current/51024-1/scripts/cspp524.sh  (do not forget the dot)

If you are using csh or tcsh  add  the following line to the end  to your .cshrc (or .kshrc) file

    source  /stage/classes/current/51024-1/scripts/cspp524.csh

Make sure you are now using the new environment set by the modifications described above. For this you can either source your .bashrc (or .cshrc) or log out and then log in again.

Note: all programming you'll do for this class requires the environment set by these script files.  If something does not work first thing to check is your environment.

4. Apache Tomcat 4 setup. Cross your fingers and hope the file server does not crash :-)

cd
tar -xzvf /stage/classes/current/51024-1/packages/tomcat4.tgz

         Start your web server:

    ~/tomcat/bin/startup.sh

         Hit the webserver with a browser: open Netscape and go to http://<machine>.cs.uchicago.edu:8080

         Shutdown your webserver:

    ~/tomcat/bin/shutdown.sh


5.    VisiBroker  4.5.1 setup

         Create a visibroker directory and install examples:

    cd
    mkdir visibroker
    cd ~/visibroker
    tar xzvf /stage/classes/current/51024-1/packages/visibroker-4.5.1_examples.tgz

6.     WebLogic 7.0 setup. 

        cd
        sh /stage/classes/current/51024-1/scripts/wl_install.sh

         (might take a while  ...  5 min)

       To verify your install works well. Start the WebLogic server:

       cd ~/weblogic/weblogic700/samples/server/config/examples/
       startExamplesServer.sh

        Start an user interface in your browser:

   Stop the server (to cleanly sop it don't use Ctrl-C)

  7.      Subscribe to the class mailing list:

http://mailman.cs.uchicago.edu/mailman/listinfo/cspp51024/