Installing RedHat Linux
  1. Turn computer OFF
  2. Insert Red Hat CD into CD_ROM
  3. Turn power ON. If errors are found, press <ESC> to continue
  4. At the boot: prompr, type linux text <Enter>
  5. WELCOME TO RED HAD LINUX: press <Space Bar> for OK and to continue
  6. Use the up and down arrow keys to select your language. Tab to OK and push the SPACE bar to continue.
  7. Select the keyborad using the arrow keys. Tab to OK and push the SPACE bar to continue.
  8. Select the mouse you are using. NOTE: During setup, Red Hat Linux will detect the type of peripherals ou are using). Tab to OK and push the SPACE bar to continue.
  9. INSTALLATION TYPE: Use arrows to select either SERVER of PERSONAL DESKTOP (client), depending on the installation you are working to accomplish. Tab to OK and push the SPACE bar to continue.
  10. DISK PARTITIONING SETUP: Select autopartition. Tab to OK and push the SPACE bar to continue. If you get an error message, IGNORE it.
  11. AUTOMATIC PARTITIONING: With the up and down arrow keys, choose "Remove all partitions on this sytem." Tab to OK and push the SPACE bar to continue.
  12. WARNING: You do want to remove all partitions, so select YES with the TAB key, and press the SPACE bar to continue.
  13. PARTITIONING: Approve default partitioning (the partitioning screen you see on the screen) by tabbing to OK and push the SPACE bar to continue.
  14. BOOT LOADER CONFIGURATION: Use the arrow key to select "use GRUB boot loader." Pressing the space bar puts an * and selects this option. Tab to OK and push the SPACE bar to continue.
  15. BOOT LOADER CONFIGURATION: Tab to OK (you do not want to send any special commands to the kernel when the system boots up).
  16. BOOT LOADER CONFIGURATION: Set a password if you wish, otherwise tab to OK and push the SPACE bar to continue.
  17. Choose Default Operating System. Since Red Hat is the only OS on our system tab to OK and push the SPACE bar to continue.
  18. Choose Boot Loader Installation Location. The Best location for the Boot Loader is the Master Boot Record, so choose to install it there. Tab to OK and push the SPACE bar to continue.
  19. If there is an Ethernet Adapter present, it will ask for your settings, If you know them then enter them in the appropriate fields, if not then choose BOTH the boot/dhtp and Activate on Startup. So, you tab to Activate on Startup and press the space bar to put an * in it.
  20. Firewall Configuration. Here you need to set the Security Level, you have 3 possible choices, I strongly recommend leaving it on medium and hitting ok. Tab to OK and push the SPACE bar to continue.
  21. Language Support. Type English (using up-down arrow keys). Tab to OK and push the SPACE bar to continue.
  22. Time Zone Selection. Choose your Time Zone. Tab to OK and push the SPACE bar to continue.
  23. Configure Root Password. Choose a Password for the root account. DO NOT LOSE THIS PASSWORD! When you are done, hit OK.
  24. Select based on the installation you are working on:
    • INSTALLING PERSONAL DESKTOP ONLY: Workstation Defaults should be "No Customization." Tab to OK and push the SPACE bar to continue. Click ON TO INSTALL
    • INSTALLING SERVER ONLY: Software Package Selection. The first rule is that if something is selected (with an *), LEAVE IT SELECTED. Then, you will want to also select the following:
      • DNS Name Server
      • FTP Server
      • Development Tools
      • GNOME Desktop Environment
      • Graphical Internet
      • Mail Server
      • Network Servers
      • News Server
      • XWindows System
  25. Installation to begin. Select OK and then press the space bar. FORMATTING, PARTITIONING AND INSTALLATION ENSUES.
  26. Insert the second disk when prompted.
  27. When asked, do not create a boot diskette.
  28. Leave video card configuration as is. Tab to OK and push the SPACE bar to continue.
  29. Leave monitor configuration as is. Tab to OK and push the SPACE bar to continue.
  30. Sev Xcustomization to GRAPHICS. Tab to OK and push the SPACE bar to continue.
  31. Tab to OK and push the SPACE bar to continue.
  32. Press ENTER to reboot.
  33. After rebooting you will come to a number of screens:
    • WELCOME: Click FORWARD
    • USER ACCOUNT: Enter the userID and password. Click FORWARD
    • SET DATE AND TIME: Do so (do not set Network Time Protocol). Click FORWARD
    • RED HAT NETWORK: Select NO. Click FORWARD
    • ADDITIONAL CDs: Click FORWARD
    • FINISH SETUP: Click FORWARD

Installing Tomcat
  1. Insert disk into CD_ROM drive.
  2. Click once on the Red Hat at the lower left of your monitor screen
  3. System -> Tools -> Terminal
  4. Then, have the following session. Note that the $ and # are prompts that will appear on the screen. You are to type the commands and press the enter key at the end of each line:
    	$su
    	#cp  /mnt/cdrom/*  /root
    	#cd  /root
    	#gunzip jakarta-tomcat-5.0.28.tar.gz
    	#tar  -xf  jakarta-tomcat-5.0.28.tar
    	#/root/jakarta-tomcat-5.0.28/bin/startup.sh
    
  5. After two error messages, you are ready to install Java:
    	#cd  /root  (if needed - should already be there)
    	#./jdk-1_5_0-linux-i586-rpm.bin
    
    Hold down the ENTER key to get to the bottom of the licensing agreement. Then type YES, followed by ENTER, and Java will be installed.
  6. Next, do the following:
    	#vi /root/.bashrc
    
    after the line: alias mv='mv -i' (line 8) add the following
    	export JAVA_HOME=/usr/java/jdk1.5.0
    
    To do this, use the down arrow key to move to the appropriate line in the code. Then, press the i key and type the line of code. Once this is done, hit the ESC key, followed by the command :wq (at the bottom of the screen, followed by the ENTER key.
  7. Restart the server
  8. When restarted:
    • Login as ROOT
    • Open the Terminal (RedHat -> Tools -> Terminal)
    • Enter the following command: $/sbin/ifconfig
    • The SERVER_IP_ADDRESS is the number after "inet addr:" - WRITE THIS DOWN!
    • Start Tomcat as follows:
      • $/root/jakarta-tomcat-5.0.28/bin/startup.sh
      (Note that you use shutdown.sh to stop Tomcat)
    • Write a webpage and save it, as index.html in
      	/root/jakarta-tomcat-5.0.28/webapps/ROOT
      	
  9. On the CLIENT:
    • Login
    • Open a browser
    • http://SERVER_IP_ADDRESS:8080/index.html and you will see the webpage.

Installing Tomcat (On Client)
  1. Copy Contents from CD to root directory: $ cp /mnt/cdrom/* /root
  2. Decompress Apache: $ gunzip httpd-2.0.52.tar.gz
  3. Extract Apache Server: $ tar -xf httpd-2.0.52.tar
  4. $ cd httpd-2.0.52
  5. $ ./configure
  6. $ make
  7. $ make install
  8. Start Apache: $ /usr/local/apache2/bin/apchectl start
  9. Create an HTML file and put into the folder /usr/local/apache2/bin/htdocs
  10. Surf to http://localhost