You are on page 1of 7

Installing RedHat 7.

OS install…
Put disk 1 into computer and boot up
Press enter to go into graphical installation mode
First Screen: select Language :English, press Next
Second Screen: Accept defaults for Keyboard…press next
Third Screen: For mouse, select “2 Button Mouse (PS/2), make sure that “Emulate 3
Buttons” is checked, select next.
4th Screen, select next
5th Screen, for the “Installation Type” select custom and click next.

There’s a couple of ways to handle this next session. If this is a fresh install on a new
machine, follow the instructions below. If it’s a re-install, you can edit each partition
and give each the same partiton name that it had before. To do that:
1. Select Manual Partition with disk druid
2. Select /dev/sda1 by left clicking on it
3. Click the “Edit” icon
4. This puts you into another window. The top line where the mount point goes is
blank. Just below that is what the partition was previous called. Enter that into
the blank area above.
5. Select “Fomat as” and once again, select the same file system type as before…
probably ext3.
6. Repeat for each partiton that you can edit…swap and extended partitions are
immune to this process.

Continue here if this is a first time installation, or you want to repartition the drive.

6th Screen, for the “Disk Partitioning Setup”, select “Manually Partition with Disk
Druid”,. press next.
7th Screen, you should see “Drive /dev/sda (Geom: 4442/254/63) (Model: ) or
something like that with “Free 34707 MB” indicating the free space. Remember,
when you set up your RAID 1, it mirrors the second drive. Don’t think you should
have 2 36gig drives for a total of 72 gig of storage.

In the lower half of that screen is the hard drive tree. Left click on the “Free” line to
highlite it and then click on the “New” button. A window pops up with slots for “Mount
Point”, “Filesystem Type”, Allowable Drives, Size …etc.

For Mount point, click on the drop down list and select “/”
For Filesystem Type, click the drop down and select “Ext3”
Allowable Drives should be filled in already\
Size (MB) you can type in 1000 which will equal 1 gig
Additional Size Options, make sure that “Fixed size” is checked. Leave other options
alone. Click OK
Next we do the swap partition: Click on “Free” and select “New”. Leave “Mount Point”
empty, for Filesystem Type, click the drop down list and select “swap”, for the “Size”
type in the equivalent of RAM on the system. In this example, 512. Leave other options
as is. Click next.

Next is the /usr partition. Click “Free”, “New”, /usr for “Mount Point”, ext3 for
Filesystem, 3000 for Size, leave other options as is, click next.

Lastly, we do the /local partition: Click on “Free”, “New”, type in /local for Mount point,
ext3 for filesystem, DON”T put a size in, rather, select the “Fill to maximum allowable
size” option. Click OK.

That’s it for the partitioning. Select next.

Next window is titled “Boot Loader Configuration”


Select “Use GRUB as the boot loader”.
For “Install Boot Loader record on:” select /dev/sda Master Boot Record (MBR)
For “Partition: /dev/sdaX (where X is one of the partitions) ” make sure “Default boot
image” is checked and boot label reads, “Red Hat Linux”.
Click next

Next Screen is for “Boot Loader Password Configuration”. DO NOT PUT IN A GRUB
PASSWORD! Click next.

Next Screen: “Network Configuration” ….depends on how the client network is setup. If
you want to assign and IP, uncheck “Configure using DHCP”. This will allow you to
input networking parameters.

Enter IP Address. As you do so, the Netmask will fill in automatically. Fill in the
network. Fill in the appropriate networking information to complete this page and click
next.

Select “No Firewall”, click next

Next screen is for “Additional Language Support. Up to the installer to choose if there is
the need for other language support. Default is English. Make selection and click next.

Next screen is the Time Zone Selection. You can move your mouse to the geographic
region and click the appropriate area, or scroll down the list and choose. Make selection
and click next.

Next screen is for Account Configuration. Put in a root password. Click “add” to add an
account. Click “add” and add a “mms” account. Repeat the process for “dispatch” and
“keypad”. Click next.

Next screen is “Authentication Configuration”. Leave as is and click next.


Next screen is the Package Group Selection. We want to make sure the following are
selected:

Printing Support
Classic X Window System
X Window System
Gnome
Sound and Multimedia Support
Network Support
Smb
Sql database server
Network managed work station
Utilities
Software Development

(make sure that only the above packages are checked).

Also, we need to check the “Select Individual packages” box. Click Next

The next screen is the “Individual Package Selection” area.


Expand the “Applications” tree by clicking on the arrow pointing to the right.
Left click on “Communications”. Click on the “mgetty” box.
Left click on “Databases”. Select “mysql” and “mysql-server”
Left click on “System”. Select “samba-common”.
Expand the “Development” tree.
Left click on “Languages”. Select “cpp” and “gcc” “gcc-c++”
Left click on “Tools”. Select “cvs”.
Left click on “Documentation”. Select “man-pages”.
Expand “System Environment”
Left click on “Daemons”. Select “openssh-server” “samba”.
Expand “User Interface”
Left Click on “Desktops”. Select “vnc”.
Left Click on “X”. Select “vnc-server”.

(it’s left up to the installer to select the man pages in the above list)

Click Next.

The next window that you get will probably be “Unresolved Dependencies”. Make sure
that the “Install packages to satisfy dependencies” is checked. Click next.

Next screen is the “Graphical Interface (X) Configuration window. You video card will
be detected. Right now, the IBM’s come with a S3 Savage4 chipset. Click next.
Click next to begin the RedHat installation…..go have a cup o’ joe and come back in 10
minutes. Put in disc 2 when prompted then disk 3

Next screen is the “Boot Disk Creation”. Check the “Skip boot disk creation” box and
click next.

Next screen is the “Monitor Configuration” screen. Your monitor should be probed. If
not, you will have to select an appropriate monitor from the list. So far, all monitors
tested have probed correctly. Click next after verifying that correct monitor has been
probed. (make sure that graphical log on is selected).

Next screen is “Customize Graphics Configuration”. For the IBM G97 crt monitor,
select 16bit color depth and 1280x1024 screen resolution. You can test this resolution by
clicking the “Test Settings” button. Click next.

Next Screen is the “Congratulations” screen saying what a wonderful person you are and
that your system is complete. Click “exit” the machine will pop cd2 out and reboot.

********** END OF OPERATING SYSTEM INSTALLATION ******************

********* BEGIN DISPATCH SOFTWARE INSTALLTION ********************

Two ways to do this.. manually, like below or with gui.


Gui way:
1. Log in as mms or root
2. Left click the menu foot on the gnome tool bar, select programs, system and select
User manager (you will have to supply the root password if you logged in as
mms).
3. Select the “create new group” icon
4. enter the name of “modular”
5. select the GID box and enter 110 You’ll be given a warning about entering
anything under gid of 500…ignore it.
6. Now we need to set the primary group for our 3 accounts
7. Highlight the first and select the “Properties” icon.
8. Select the Groups tab
9. Scroll until you see “modular” and then check the box
10. modify the “Primary Group” line with “modular”.
11. do that for each account
12. finally, you will need to change ownership of each home directory by following
step 2 below.
1. Log in as either mms or root. In /etc, vi the group file and add “modular:x:110”
to the end of the file.
2. cd to /home and do a recursive chown for mms, dispatch and keypad. Example:

# chown –R mms:modular mms


# chown –R keypad:modular keypad
# chown –R dispatch:modular dispatch

3. cd /local, create a directory called mms. chown mms:modular mms


4. cd / and create a symbolic link to /local/mms called mms

CVS checkout for Modular Software:

The following assumes that the user has access to the cvs repository on sweng. If you do
NOT have access to check out from the repository, please contact infotech.

As root user:
#cd /local
#mkdir mms
# chown mms:modular mms
# cd /
# ln –s /local/mms mms

Export you CVSROOT and CVS_RSH environment variables:

Example:

export CVSROOT=:ext:hallr@broadway:/mms/release
export CVS_RSH=ssh

(make sure that you’re user mms when doing the cvs checkout)

cd /mms
cvs checkout –r release_3_0_003 OMS_linux MEOS DISPATCH

You will be prompted for your password.

cd /mms/sh and type ./INSTALL You will be prompted for the root password.
Once the initial ./INSTALL is done, you’ll need to install the some other services that
the script, for whatever reason, no longer prompts for:

$ ./install_service Dbmsd (supply root password when prompted)


$ ./install_service OMS (supply root password when prompted)
$. ./install_service Masterlink (supply root password when prompted)
Next is to get your client. There is a script in /mms/sh called “getclient”. cd to /dsp/cli
and run “/mms/sh/getclient xxx” (where xxx is the client’s initials IN THE CVS
REPOSITORY).

(make sure to create the client link:


cd /dsp
ln –s /dsp/cli/xxx client )

export your path to include /dsp/bin (so that “mms” is in your path.
export PATH=/dsp/bin:$PATH
cd /dsp/cli/ and type “make CLI=xxx”

You now have the DISPATCH/MEOS code installed. Next we need to get the icewm
desktop running. Since icewm is not a part of the RedHat installation (don’t ask me
why), we’ll need to get 2 rpm files and install those. You can sftp as follows:
sftp userid@sweng
1. cd /prod/dsp/sh/install/IBM_setup
2. get icewm-common-1.0.8-5.noarch.rpm
3. get icewm-default-1.0.8-5.i386.rpm.
4. as root rpm –ivh icewmfilename.rpm , installing the “common” first.

Next, cd /etc/X11. vi the file called prefdm. At line 19, there is a line as follows:
preferred= after the equal sign, type in xdm. This will force the window manager
from gdm (gnome desktop to xdm).

cd /usr and create a symbolic link of /usr/X11R6 to X11 eg: # ln –s X11R6 X11

Getting Home Dirs Set on Dispatch

1. cd /home/mms
2. cp /dsp/sh/home/mms/.* .
3. tar cf - -C /dsp/sh/home/mms .icewm | tar xvfp –
4. ln –s .Xsession .xsession

edit your .bash_profile to export PITDAT, OMSDOMAIN, PSWD DSP_OPNS.


(for OMSDOMAIN and PSWD, you can export those to the IP address of the machine
you’re installing..i.e:
export OMSDOMAIN=192.168.2.21
export PSWD=192.168.2.21

“Add ons”

Dual monitors

If the client has ordered a dual monitor setup, install the video card prior to installing the
OS. Redhat will detect the card. You will need to get the modified XF86Config-4 file
for the dual head setup. You’ll need to edit the “monitor” section, making sure that both
monitors are named correctly. Usually, when we sell the client new hardware, they’ll
order 2 of the same kind of monitors, so modifying this file won’t be a problem. Copy
down the file from /dsp/sh/install/IBM_setup/XF86Config-4 to your /etc/X11 directory.
You’ll also need to get the mgadrivers-2.0.tgz from /dsp/sh/install/IBM_setup.
unzip/untar that file and cd into the newly created directory. Run the install.sh as root.

Sound Cards

Install the sound card prior to installing the OS. RedHat will detect the sound card and
install the driver support. You will need a utility for playing sounds. Ftp the following
file /dsp/sh/install/IBM_setup/wavplay-1.4-5.i386.rpm to the mms home dir and install
as root:

#rpm –ivh wavplay-1.4-5.i386.rpm

that will install the binary for use. The dispatch code will be modified to make use of this
sound player instead of the old audiotool that was used under Solaris.

Also, at /dsp/sh/install/IBM_setup/sounds are all the old .au files converted to .wav.

Tape Drive

Internal DDS4. You’ll have to install the drive. The operating system will see the drive.
You’ll want to get the /dsp/sh/install/IBM_setup/Backup_Full script and place it in
/dsp/sh/.

Next, you’ll want to get the Masterlink Tracking system installed. There is a separate
document for that.

You might also like