Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

The Windows Administrator's 10-Minute Guide to Installing Red Hat Linux : Page 2

Linux has become increasingly attractive, not only as a low-cost platform for hosting Web servers, but also as a target for desktop development efforts. If you would like to run Linux, but you're only familiar with Windows, you can follow this step-by-step guide to get Red Hat Linux installed and configured on a machine running Windows.


advertisement
Start the Installation
Reboot the server and insert the first CD-ROM. To start the installation in GUI-mode, press Enter at the CD-ROM boot prompt. You'll get a chance to verify that the CD-ROMs you created are OK. We recommend that you follow the steps on the screen and check them out—just in case. When all the CD-ROMs are tested, reinsert the first CD-ROM and continue the installation.

You'll see a CD-ROM check, then the GUI loads and you'll see the Red Hat information page. You'll see several options, already set to the defaults. To save time, you can just press "Next" after selecting each of these setup options:

  • Language
  • Keyboard
  • Mouse type
  • Installation type (choose "Install on System and Server").
Partition the Hard Drive
Now it's time to partition the hard-drive. We strongly suggest that you do this using Disk Druid—which comes installed with the Red Hat disks—but you can also do this "manually" using the "fdisk" command. Caution: Using the Linux command "fdisk" isn't as easy as using the "fdisk" in DOS, so you may want to refer to our book for some help, or go to the command's manpage, or search the Internet for more help.
Note: For newcomers to UNIX, the "manpage" is the UNIX equivalent of the classic DOS question mark (?) command-line parameter—it shows you information about the command. To see the manpage for a command, type the command name, and then enter a space followed by a question mark.

From the main Disk Druid menu:


  1. Remove any partitions currently on the hard-drive by selecting each one and pressing the "Remove" button. Repeat the process until all the logical and primary partitions are gone.
  2. Press "New" to create the first partition. This partition will be the root (system) partition, so the mount point (partition address) should be "/". You can find examples of other mount points in the drop down menu.
  3. Make sure that the "File System Type" is set to "ext3". Allocate at least 3GB for this root partition.
  4. Check the "Force to be a primary partition" checkbox and press OK
  5. Create another partition using "/var" as the mount point. Allocate at least 2GB to the new partition. The system will use the /var partition to store log, cache, and temporary files.
  6. Create a "swap" partition, which the system will use for virtual memory. To do this, create a new partition and change the "File System Type" to "Swap". Note that you will not be able to select a mount point for a swap partition. Set the swap partition size to at least 50% more than the amount of RAM that's presently on the server (or what you assume it will be in the near future… no fun having a swap file that's too small after only six weeks). For example, if your server has 256MB of RAM, you would create a swap partition of at least 384MB.
  7. Finally, create the last partition and use "/home" as the mount point. This partition will be used by all the other users on the system. Allocate the rest of the drive's free space to this partition by selecting the "Fill to maximum allowable size" button.
You've finished partitioning the hard-drive. You can now continue with the next series of steps. At this point you'll be asked to select which boot loader you want to use. "GRUB" is the default used for Red Hat 8.0. Just make sure that the device "/dev/hda1" (the root partition) is included in the system list and then continue. If what you're seeing on the system list doesn't match this description, you've set a wrong mount point name somewhere. You'll have to re-run Disk Druid and repeat the partition procedure.


Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date