Installing RedHat Linux
- Turn computer OFF
- Insert Red Hat CD into CD_ROM
- Turn power ON. If errors are found, press <ESC> to continue
- At the boot: prompr, type linux text <Enter>
- WELCOME TO RED HAD LINUX: press <Space Bar> for OK and to continue
- Use the up and down arrow keys to select your language.
Tab to OK and push the SPACE bar to continue.
- Select the keyborad using the arrow keys.
Tab to OK and push the SPACE bar to continue.
- 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.
- 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.
- DISK PARTITIONING SETUP: Select autopartition.
Tab to OK and push the SPACE bar to continue. If you get
an error message, IGNORE it.
- 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.
- WARNING: You do want to remove all partitions, so select YES with
the TAB key, and press the SPACE bar to continue.
- PARTITIONING: Approve default partitioning (the partitioning screen you
see on the screen) by
tabbing to OK and push the SPACE bar to continue.
- 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.
- BOOT LOADER CONFIGURATION: Tab to OK (you do not want to send any
special commands to the kernel when the system boots up).
- BOOT LOADER CONFIGURATION: Set a password if you wish, otherwise
tab to OK and push the SPACE bar to continue.
- Choose Default Operating System. Since Red Hat is the only OS on our
system tab to OK and push the SPACE bar to continue.
- 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.
- 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.
- 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.
- Language Support. Type English (using up-down arrow keys).
Tab to OK and push the SPACE bar to continue.
- Time Zone Selection. Choose your Time Zone.
Tab to OK and push the SPACE bar to continue.
- Configure Root Password. Choose a Password for the root account. DO
NOT LOSE THIS PASSWORD! When you are done, hit OK.
- 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
- Installation to begin. Select OK and then press the space bar.
FORMATTING, PARTITIONING AND INSTALLATION ENSUES.
- Insert the second disk when prompted.
- When asked, do not create a boot diskette.
- Leave video card configuration as is.
Tab to OK and push the SPACE bar to continue.
- Leave monitor configuration as is.
Tab to OK and push the SPACE bar to continue.
- Sev Xcustomization to GRAPHICS.
Tab to OK and push the SPACE bar to continue.
- Tab to OK and push the SPACE bar to continue.
- Press ENTER to reboot.
- 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
- Insert disk into CD_ROM drive.
- Click once on the Red Hat at the lower left of your monitor screen
- System -> Tools -> Terminal
- 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
- 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.
- 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.
- Restart the server
- When restarted:
- On the CLIENT:
- Login
- Open a browser
- http://SERVER_IP_ADDRESS:8080/index.html and you will see the webpage.
Installing Tomcat (On Client)
- Copy Contents from CD to root directory:
$ cp /mnt/cdrom/* /root
- Decompress Apache: $ gunzip httpd-2.0.52.tar.gz
- Extract Apache Server: $ tar -xf httpd-2.0.52.tar
- $ cd httpd-2.0.52
- $ ./configure
- $ make
- $ make install
- Start Apache: $ /usr/local/apache2/bin/apchectl start
- Create an HTML file and put into the folder
/usr/local/apache2/bin/htdocs
- Surf to http://localhost
|