0% found this document useful (0 votes)
190 views57 pages

Red Hat 80 Vmware

The document provides instructions for installing Red Hat 8.0 within a VMware virtual machine, including creating the virtual machine, installing Red Hat from CDs, and configuring options such as partitioning disks, software selection, and networking. The process takes over 4 hours and involves steps such as checking installation media, partitioning three virtual disks, selecting software packages, and setting passwords and time zone.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
190 views57 pages

Red Hat 80 Vmware

The document provides instructions for installing Red Hat 8.0 within a VMware virtual machine, including creating the virtual machine, installing Red Hat from CDs, and configuring options such as partitioning disks, software selection, and networking. The process takes over 4 hours and involves steps such as checking installation media, partitioning three virtual disks, selecting software packages, and setting passwords and time zone.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

Red Hat 8 Installation Under VMware 3.

1. Create Red Hat 8.0 Virtual Machine.......................................................................................... 1


2. Install Red Hat 8.0 from CDs .................................................................................................... 9
3. Boot New Red Hat 8.0 Virtual Machine.................................................................................. 32
4. Install VMware Tools Package in Virtual machine................................................................. 34
5. Modify XF86Config-4 To Control Max Windows Size of Virtual Machine .......................... 36
6. VMware Files........................................................................................................................... 40
7. Adding Sound to Virtual Machine........................................................................................... 40
8. Using FTP to Transfer Files from Old Virtual Linux Box Via “Network” ............................. 42
9. Installing Kylix ........................................................................................................................ 45
10. Simple Samba ........................................................................................................................ 54

1. Create Red Hat 8.0 Virtual Machine

Start | Programs | VMware | VMware Workstation

Click on New Virtual Machine, or Select: File | New | New Virtual Machine

RedHat80VMware.doc efg’s Computer Lab 1 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

Next

RedHat80VMware.doc efg’s Computer Lab 2 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

I use the virtual machine name and location as specified above instead of the VMware defaults.

Next

You may want to adjust the guest size depending on the amount of physical memory.

Next

RedHat80VMware.doc efg’s Computer Lab 3 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

If you are on a network with a DHCP server, bridged networking works nicely. I need to
experiment how to switch between bridged networking and “Use host-only networking”.

Next

RedHat80VMware.doc efg’s Computer Lab 4 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

Finish

RedHat80VMware.doc efg’s Computer Lab 5 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Let’s create an additional virtual disk drive:


Settings | Configuration Editor

Add

RedHat80VMware.doc efg’s Computer Lab 6 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

Next

RedHat80VMware.doc efg’s Computer Lab 7 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Specify 10 GB for second disk.

Next

Finish. Repeat the same steps to add a 10 GB “disk3”.

RedHat80VMware.doc efg’s Computer Lab 8 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

2. Install Red Hat 8.0 from CDs


Insert Red Hat 8.0 CD 1
Select Power On

RedHat80VMware.doc efg’s Computer Lab 9 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

I ignore these messages when the CD is inserted.

RedHat80VMware.doc efg’s Computer Lab 10 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Enter

About 5:00 to get to this point (on Dell Inspiron 7500)

RedHat80VMware.doc efg’s Computer Lab 11 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

Test

RedHat80VMware.doc efg’s Computer Lab 12 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Perform a media check on CD 1 and CD 2, and then returned to CD 1 to start the installation
process. The check for each CD takes about 5 minutes.

RedHat80VMware.doc efg’s Computer Lab 13 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Continue

[Mandrake seems to handle the VMware VESA drivers better than Red Hat.]

RedHat80VMware.doc efg’s Computer Lab 14 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK
About 11:00 to this point (assuming only one CD is checked above).

Select language of choice


OK

RedHat80VMware.doc efg’s Computer Lab 15 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Select keyboard of choice.


OK

The cause of the “Cannot open display” message is unclear.


OK

RedHat80VMware.doc efg’s Computer Lab 16 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

“Server” is probably a better selection here than “Personal Desktop”


OK

Autopartition

RedHat80VMware.doc efg’s Computer Lab 17 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

“sda” is Virtual Disk 1


Yes

“sdb” is Virtual Disk 2. A similar screen appears for disk 3.


Yes

RedHat80VMware.doc efg’s Computer Lab 18 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

About 12:20 to this point


Yes

RedHat80VMware.doc efg’s Computer Lab 19 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Note that /usr and /home are on virtual drive 2 (sdb). I hope this allows easier migration of /usr
and /home in the future to new virtual systems.
OK

I’ve used LILO in the past but I’ll go with the default GRUB here.
OK

RedHat80VMware.doc efg’s Computer Lab 20 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

I don’t bother with a GRUB Password.


OK

RedHat80VMware.doc efg’s Computer Lab 21 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

OK

RedHat80VMware.doc efg’s Computer Lab 22 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

I use DHCP at home provided by a LinkSys Etherfast Cable / DSL Router.


OK

No security for faster VMware virtual machine? What does this selection do? Linux still reports
“High “ for Red Hat Start Icon | System Settings | Security Level

RedHat80VMware.doc efg’s Computer Lab 23 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Select a language
OK

Pick your time zone.


OK

RedHat80VMware.doc efg’s Computer Lab 24 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

“root” Linux superuser password


OK

“normal” Linux user and password


OK

RedHat80VMware.doc efg’s Computer Lab 25 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

I don’t select everything, but almost:


Administrative Tools
Authoring and Publishing

RedHat80VMware.doc efg’s Computer Lab 26 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Development Tools
Editors
Engineering and Scientific
FTP Server
GNOME Desktop Environment
Graphical Internet
Graphics
KDE Desktop Environment
KDE Software Development
Network Servers
Office/Productivity
Printing Support
SQL Database Server
Server Configuration Tools
Sound and Video
System Tools
Web Server
Windows File Server
X Window System

About 16:20 to this point.

OK

RedHat80VMware.doc efg’s Computer Lab 27 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

18:10 to this point

RedHat80VMware.doc efg’s Computer Lab 28 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Prompt for second disk about 49:00 after starting. The estimated times on the screen are not all
that accurate and keep growing during the installation process.

RedHat80VMware.doc efg’s Computer Lab 29 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

1:12:25 to this point

Yes (But often I don’t bother with a boot disk for a VMware machine)

RedHat80VMware.doc efg’s Computer Lab 30 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Make Boot Disk

Skip X Configuration until after VMware tools are installed with VMware video drivers.

RedHat80VMware.doc efg’s Computer Lab 31 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

3. Boot New Red Hat 8.0 Virtual Machine

RedHat80VMware.doc efg’s Computer Lab 32 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Login as “root”

RedHat80VMware.doc efg’s Computer Lab 33 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

4. Install VMware Tools Package in Virtual machine


Ctrl-Alt to exit virtual machine so Windows controls the mouse cursor.
Click on “Click on this text to install” at the bottom of the VMware Window.

Install

Install VMware Tools:

mount –t iso9660 /dev/cdrom /mnt


cp /mnt/vmware-linux-tools.tar.gz /tmp
umount /dev/cdrom
cd /tmp
tar zxf vmware-linux-tools.tar.gz
cd vmware-linux-tools
./install.pl

RedHat80VMware.doc efg’s Computer Lab 34 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

yes

RedHat80VMware.doc efg’s Computer Lab 35 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

5. Modify XF86Config-4 To Control Max Windows Size of Virtual Machine


If you want to use the X-server full screen, the following changes are not needed. I like to
control the maximum size of the VMware window so I can go back and forth between Windows
and Linux a little easier.

In /etc/X11 VMware sets up this link:

XF86Config-4 -> /etc/X11/XF86Config-4.vm

First make a backup copy of /etc/X11/XF86Config-4.vm:

cd /etc/X11
cp XF86Config-4.vm XF86Config-4.vm.original

I don't understand the default contents of the file XF86Config-4.vm set by VMware. The default
settings take over my entire screen when I prefer to have Linux work just like another "Window"
under Windows.

Edit /etc/X11/XF86Config-4.vm

Chop out all the "ModeLine" statements above for resolutions that are larger than your physical
monitor. I usually keep the largest as 1152x900 when my physical screen is 1280x1024 or
1400x1050.

RedHat80VMware.doc efg’s Computer Lab 36 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

A few lines farther down, there are multiple "Display" sections. I delete all the high resolution
ones, and modify the last one to be the resolution I'd like to use when running Linux under
VMware: 1152x900 with Depth 24.

RedHat80VMware.doc efg’s Computer Lab 37 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Save the modified XF86Config-4.vm file.

logout from root and login as "normal" user

Start the X-Server: startx

When X is started, in a terminal session: vmware-toolbox &

RedHat80VMware.doc efg’s Computer Lab 38 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Note above the 1152-by-900 Linux “Window” on 1400-by-1050 Windows Screen on Dell
Inspiron 7500. My Windows toolbars can still be easily accessed at the right and bottom.

Logout as “normal” user. [Click on the Red Hat, and select Logout. In the command window,
enter logout.]

Login as “root”

Another change I make as “root” is to remove the passwords on both root and my “normal” user.
Since I don’t need much security on these machines on private networks.

Do this as root to shutdown Linux cleanly: shutdown -h now

RedHat80VMware.doc efg’s Computer Lab 39 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

6. VMware Files

The above is a list of the files that were created in Windows for the RedHat 8.0 virtual machine.
These files can be stored in two ZIPs since a single ZIP would be too large to fit on a single CD.
The largest file, disk2.vmdk, was stored inRedHat80B, while the other files were stored in
RedHat80A.ZIP.

Each of these ZIP files will fit on a CD. These files can then be used to re-create a new RedHat
8.0 box as it exists after installation.

7. Adding Sound to Virtual Machine

A VMware quirk is that the audio driver is not automatically installed. In VMware, select the
RedHat 8 virtual machine, then Settings and Configuration Editor. Select the Add button.

RedHat80VMware.doc efg’s Computer Lab 40 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Select a sound adapter


Next

On my Dell Inspiron 7500 the “ESS Maestro” sound adapter is the correct one.
Finish

RedHat80VMware.doc efg’s Computer Lab 41 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

8. Using FTP to Transfer Files from Old Virtual Linux Box Via “Network”
Multiple virtual Red Hat Linux machines can be run on the same host PC. These machines can
communicate via the network and files files can be transferred between these machines. Before
doing this, the virtual machines may need to be reconfigured to fit within available memory. In
VMware, select

Settings | Configuration Editor

The Red Hat 8.0 machine and Red Hat 7.2 machines were temporarily reduced to 128 MB so
they both could run. (Note the limit of all virtual machines is 288 MB with only 384 MB of
physical memory on my machine.)

On the “old” Red Hat 7.2 virtual machine I create .tar.gz files to prepare them for the transfer to
the new virtrual machine:

cd ~
tar cpvf - lab/* | gzip > transfer_lab.tar.gz

The files could be transferred directly between machines but I like creating these .gz files since I
also back them up at the time of transfer.

RedHat80VMware.doc efg’s Computer Lab 42 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

The above screen shows the Red Hat 7.2 machine. Run /sbin/ifconfig to get the IP
address of this Red Hat 7.2 machine, which is 192.168.1.14 in the example above.

Now start the Red Hat 8.0 machine.

RedHat80VMware.doc efg’s Computer Lab 43 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Windows 2000 host with Red Hat 7.2 and Red Hat 8.0 virtual machines running

Use command line FTP to copy files to the Red Hat 8.0 box from the Red Hat 7.2 box:

ftp 192.168.1.114
<userid>
<password>
prompt off
mget *.gz
quit

To extract the files from the tar files:

gunzip < transfer_archive.tar.gz | tar xvf –

After extracting these transferred files, remember to reconfigure the Red Hat 8.0 machine back to
having 256 MB of virtual memory.

RedHat80VMware.doc efg’s Computer Lab 44 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

9. Installing Kylix
Login as a “normal” user and start the X-server (“startx”) if necessary.

Open a terminal window. In Red Hat 8: Red Hat Icon | System Tools | Terminal

Start VMtools: vmware-toolbox &

“su” to root in this terminal window

Insert Kylix 3 CD

If contents of the CD are not automatically displayed: mount /mnt/cdrom

cd /mnt/cdrom
sh setup.sh –m (for Kylix 3)
sh.setup.sh (other versions of Kylix)

RedHat80VMware.doc efg’s Computer Lab 45 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Press enter many times to view the Kylix license. [Unlike the Mandrake installation, Red Hat
does not seem to recognize the correct graphics environment and uses a text-only installation
scheme.]

RedHat80VMware.doc efg’s Computer Lab 46 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Red Hat | Logout

Log Out

OK

RedHat80VMware.doc efg’s Computer Lab 47 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Use startx tore- restart X Windows.

Create a terminal window and run Kylix (I’m not sure why Kylix is not added to the Red Hat
start menu, like it was with Mandrake 9.0).

Use startdelphi to start the Delphi version of Kylix.


Registration must take place the first time kylix is started with startdephi:

Register Now

RedHat80VMware.doc efg’s Computer Lab 48 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

Enter the Serial Number and Authorization Key from the CD Case.
Next

RedHat80VMware.doc efg’s Computer Lab 49 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

If you’ve already registered your copy of Kylix, you can avoid the following by selecting
“Register Later” and never registering this copy. Other, enter:

Next

RedHat80VMware.doc efg’s Computer Lab 50 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next

Enter your Borland Community info.


Next

RedHat80VMware.doc efg’s Computer Lab 51 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Next (at work I need a proxy, but not at home)

Private information blanked out above.


Next

RedHat80VMware.doc efg’s Computer Lab 52 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Private information blanked out above


Finish

Wait while fonts are generated. This can take several minutes.

The first time Kylix is launched it still shows as “Unregistered”. In subsequent launches, the
splash screen will show the product is registered.

RedHat80VMware.doc efg’s Computer Lab 53 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

A blank Kylix form.

10. Simple Samba

Samba can make the transfer of files between the VMware virtual machine and the Windows
host machine quite easy. Samba is usually installed as part of the RedHat installation. The
following assumes that Samba is installed.

I want to share /home/earl and /home/data from my Red Hat 8.0 virtual machine with the
machines in my GLYNN workgroup. Anyone can read or write to the “data” directory, while
read-only access is granted to the “earl” directory by setting permissions (using the Linux chmod
command):

As “root” create a separate password file for Samba:

cat /etc/passwd |mksmbpasswd.sh > /etc/samba/smbpasswd

RedHat80VMware.doc efg’s Computer Lab 54 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

chmod 600 /etc/samba/smbpasswd

In my personal Windows network I often connect PCs using a “GLYNN” workgroup with
minimal security considerations (since the network is private). The VMware virtual machine can
share files with this workgroup by configuring the file /etc/samba/smb.conf. First make
a copy the original smb.conf file:
cd /etc/samba
cp smb.conf smb.conf.original

Then edit the /etc/samba/smb.conf file to be like this:

=>cat smb.conf
[global]
netbios name = RH80
workgroup = GLYNN
log level = 2
log file = /etc/samba/samba.log
security = share

[data]
path = /home/data
browseable = yes
guest ok = yes
read only = no

[earl]
path = /home/earl
browseable = yes
guest ok = yes
read only = no

At this point the Samba server needs to be stated. Select

RedHat80VMware.doc efg’s Computer Lab 55 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

Red Hat button | Server Settings | Services

Check smb box


Save
Start

RedHat80VMware.doc efg’s Computer Lab 56 of 57


8 December 2002 www.efg2.com/Lab
Red Hat 8 Installation Under VMware 3.2

OK

On the Windows 2000 host machine using Windows Explorer, look for “Computers Near Me”

The contents of the RH8 (Red Hat 8) directories are visible from Windows. Files can be
transferred between Windows and Linux quite easily using the Windows Explorer. Some useful
Samba links include:

Configuring Samba
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-samba-
configuring.html

Samba Installation With a Windows 2000 PDC Server


http://www.data-based-systems.com/downloadables/LinuxSambaWithWindows2000.htm

The Unofficial Samba HOWTO


http://hr.uoregon.edu/davidrl/samba.html

Using Samba to Mount Windows 95


http://www.linuxgazette.com/issue19/micro.html

RedHat80VMware.doc efg’s Computer Lab 57 of 57


8 December 2002 www.efg2.com/Lab

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy