Originally Published: Thursday, 28 June 2001 Author: IRC Staff
Published to: interact_articles_irc_recap/IRC Recap Page: 1/1 - [Std View]

Linux101: Installing RedHat 7.1

Monday kicked off our new series of Daily Live! Events, with a basic class covering installing RedHat 7.1 on your computer. Matt Michie, one of our volunteers, ran the event and we had several other of our volunteers there to answer any questions that the audience had. If you missed the event, then we've got the log here for you.

<Wintersun> Okay, welcome to our latest Linux.com Live! Event
<Wintersun> We're starting to kick off what we call Daily Live! Events and this is the first one of many.
<Wintersun> Every Monday, we're going to start covering a basic Linux topic in this channel and then open up the channel for any basic Linux questions
<Wintersun> Today, influx is going to be running through the installation of RedHat 7.1
<Wintersun> If you have any questions, please /msg influx and we'll address it as we go through the installation
* influx smiles
<influx> okay, first do we have anyone that is going to be stepping through the install while we are doing it? if so, /msg me, otherwise we'll be making a log of the event available later
<influx> felix asks why we choose redhat... basically it is a common linux and is simple for people to install
<influx> plus #linuxhlep gets many questions about it :)
<influx> okay off we go
<influx> we are going to assume a basic knowledge... if you have any questions feel free to ask at any time
<influx> if you are starting out with Windows, a good first step is to go into your control panel and write down your hardware components
<influx> this gives you a good idea of what you have, in case you run into trouble later
<influx> to do an average client install of red hat 7.1 takes about 1.5 to 2 gigs of hard drive
<influx> redhat 7.1 can do a partionless install, but it is way faster to have a native linux partition
<influx> redhat 7.1 is very similar to installing 7.0
<influx> if you have 7.0, check out our linux.com install guide at http://www.linux.com/learn/installguide/redhat/
<influx> ZeeblebroX asked about the install space.. i am saying average here as gnome client install plus all the other goodies rhat puts in
<influx> one second, i think we are going to get a question moderator
<influx> i'm getting overflowed :)
<Wintersun> Okay, LinuxWolf has offered to moderate the questions, so please /msg LinuxWolf with your questions
<Wintersun> Thanks!
<influx> do we want to just go straight to question and answer first? seems like many of you have questions already
<wolf_fire> i'd suggest keep going, maybe some will be answered during
<influx> okay
<influx> onwars
<influx> to start, place your cd-rom one into your drive and reboot
<influx> most modern computers will by default allow you to boot from cd-rom
<influx> if you have trouble, check your bios settings
<influx> for this install we are going to use the GUI interface, though there is a text one available
<influx> GUI means graphical user interface
<influx> which will allow you to use your mouse in an easy way
<influx> once you boot, you'll have options to go into text or gui mode... if you do not take any action by default it will try to go into gui
<wolf_fire> ugh, thanks alot lilo
<influx> let me give everyone a second here to sync up
<influx> hrrm where'd LinuxWolf go?
<influx> okay onward
<wolf_fire> nickserve kill
<influx> once the installation starts up, you'll have a chance to select which language you want the install to use
<influx> select whichever one makes you comfortable :)
<influx> then click next
<[MbM]> assuming you've understood this event, choose 'english'
<influx> right :)
<influx> the next screen is keyboard selection
<influx> good ole irc :)
<influx> okay, as i was saying, generic 101 key should work for most keyboards... if you have USB, make sure you specify it
<influx> after you've made your selection, you'll have a chance to test it in the lower portion of the install GUI
<influx> once you've completed this, click next
<influx> here you are presented with mouse selection
<influx> once again, if you don't know what you have the generic usually works
<influx> the only thing to watch for is if you have ps/2 or usb
<influx> you can tell ps/2 because the connector is round
<influx> usb is flat and rectangular
<influx> if possible, select the exact mouse you have... later redhat will setup stuff like the scroll wheel if you do
<influx> click next to move on
<influx> if you make a mistake, you can always back up, or later after the install you can change the settinjgs
<influx> click next again and you should be at the install screen
<LinuxWolf> ? from a guest can setting your refresh rates to high actually damage your monitor, and if you use Xconfigurator will it still do that if you choose wrong.
<LinuxWolf> sorry I lost all the names of the guests when the spilt happened
<influx> the latest Xconfigurator is pretty good about detecting settings, especially with modern video and monitors
<influx> you really don't have to calculate modelines anymore :)
<wolf_fire> only if you have a REALLY ancient monitor
<influx> right
<LinuxWolf> what about clockchip settings or will autoprobe suffice and not harm your system
<influx> i've used autoprobe on every system, and have yet to have problems
<wolf_fire> most modern cards tell you not to use clockchip settings
* influx nods
<influx> at the install scren you have the choice between upgrading or installing one of client, server, laptop, or custom
<LinuxWolf> thank you I will ask another ? when I get some more
<influx> excuse me, client is called workstation
<influx> for our purposes, we'll choose this
<influx> for those of you who've heard about past security problems with redhat workstation installs, they've actually done a pretty good job about not starting up a million services... makes the machines a little more secure by default
<influx> upgrade is only used when you have a previous version of redhat already installed
<influx> once you've made the selection, click next
<influx> now we move to partitioning
<influx> this is usually a spot beginners have problems with, so make sure to ask questions if you have any
<LinuxWolf> ANYONE has ?'s /msg me them and I will post them as we go along
<influx> 7.1 has a new option called automatic partitioning
<influx> here's what they have to say about it:
<influx> Automatic partitioning allows you to perform an installation without having to partition your drive(s) yourself. If you do not feel comfortable with partitioning your system, it is recommended that do not choose to partition manually and instead let the installation program partition for you.
<LinuxWolf> hax> if you only have a fat32 partition... how do you make freespace? is fips still the best way?
<influx> i've yet to run into trouble doing partitioning, but its usually a good idea to make backups before making major modifications to your hard drive
<influx> fips is still my favorite way... that and partition magic
<influx> but fips is free :)
<influx> our linux.com install guides start with a good tutorial on fips by Mark Stone
<LinuxWolf> Also i would add GNUparted is also very good
<LinuxWolf> and is also a free alternative
<influx> however, give the automatic partitioning a shot if the install gives you the option
<influx> if you do a manual, keep in mind you need at least a root and a swap partition
<influx> i'd say at least 2 gigs for root and your RAMx2 for swap
<influx> (as a rule of thumb)
<LinuxWolf> If i have 512mbs of ram do i still need a swap partition? sorry lost guests name that asked
<wolf_fire> (you can get away with alot less swap in linux if you must... tight on disk space for example)
<influx> yes, you need a swap partition, but you probably don't need 1024 megs worth
<influx> it depends on your needs really
<wolf_fire> i usually set mine at 250 generically
<influx> linux can also do a swap file, but its slower than a dedicated partition
<LinuxWolf> from Spontz I'm trying to set up a dual-boot system, Linux and WinME. The Red Hat installation program tells me it can't partition automatically, and I should use Disk Druid. But Disk Druid says it can't make the /boot partition, because it is "larger than 1024 cylinders". I heard that I need to put /boot in the first partition on the dis
<LinuxWolf> but if I do this, WinME will get petulant and refuse to run (it wants to be in the first partition too!). I'd greatly appreciate any help with this, or if you'd cover it when you reach partitioning. Thanks!
<influx> if you are short on diskspace you can probably get by with less
<wolf_fire> that's generally a good idea to be < 1024 cyls on a PC, Spontz, not all motherboards can boot beyond 1024 cylinder
<[MbM]> old versions of lilo had issues with 1024 cyl. new versions of lilo handle it just fine using the lba32 setting
<LinuxWolf> So everyone knows there is a limit to how long your ? can be or it will get cut off
<wolf_fire> assuming you can use lba32
<wolf_fire> tho i've not personally run into that glitch
<LinuxWolf> <influx> with older versions of lilo i've made a boot partition right above the windows without trouble
<influx> you may have to break up the windows partition into sub partitions depending on the drive
<LinuxWolf> I will save the GRUB and such ?'s till after Influx has got us through setting up the partitions I think is best then he can addesse the different boot options
<influx> so you can have a small c: with just the \windows, a small /boot above that and then the rest split between linux and windows
<influx> okay
<influx> anything more on partitioning?
<wolf_fire> might mention that a /boot partition isn't essential
<LinuxWolf> just about GRUB
<LinuxWolf> hax> what about 'grub'? can does rh have that during the install? i hear that goes above 1024 cylinders
<influx> right /boot is only needed on rare instances
<influx> rhat doesn't yet use grub
<influx> but grub does go above 1024 and is quite nifty
<influx> i'm sure it will eventually replace lilo
<LinuxWolf> no more questions at present, thanks Influx
<influx> probably a redhat 8.0 thing :)
<influx> okay once you've done the partitioning, it will format the linux parts ext2
<wolf_fire> influx, SGI also has a patch installer for RH 7.1 that allows XFS as well
<wolf_fire> (side note for those that don't like ext2fs)
<influx> smooth
<influx> XFS is a journaled file system
<LinuxWolf> <influx> yeah, if it complains about the 1024 cylinder limit, you'll have to make a boot
<influx> otherwise you should be okay
<LinuxWolf> <influx> lewq makes the suggestion that it is better to make a 10mb /boot then put the c:\windows after that
<influx> since windows is much more likely to swell :)
<lewq> thankyou :)
<influx> Spontz: in the commercial realm, partition magic does linux and vfat (windows)
<wolf_fire> Spontz: best to use dos programs to make dos partitions... native partition makers don't miss subtlties that 3rd parties might
<LinuxWolf> I also would like at this time to say Hello to Tom who is a staff member of redhat.com
<lewq> in general, let an operating system make it's own partitions. let fdisk sort out your vfat/fat32 partitions and cfdisk or your local friendly linux distro's front end handle ext2/3/whatever.
<lewq> hi tom :)
<influx> okay unless we have more i'll move on :)
<LinuxWolf> move along no more questions right now
<influx> we move into LILO
<influx> this is the linux loader, allowing you to dual-boot between OS's and kernels if you so choose
<influx> i generally install it on the MBR (master boot record)
<influx> and redhat does a good job of detecting windows and such for it
<lewq> LInux LOader. it does the job of loading the kernel into memory and allowing it to execute, or booting of other partitions containing other operating systems. it's installed on the mbr :)
<lewq> i'll just shut up and answer questions.
<influx> now we click next and move to network configuration
<influx> if you don't have a network, leave it alone, if you do you probably already know what settings you need
<influx> redhat can do DHCP, which if you are on a network that supports it, makes things pretty simple
<influx> once you click next you'll move into the firewall setup
<influx> this is something new in 7.1
<LinuxWolf> BB1> a note on DHCP the client doesnt seem to work "out of the box" for most cable connections
<influx> for the purpose of this install we'll leave the security at high and the default rules
<influx> right, check with your ISP or network admin for the proper settings... if your ISP doesn't support linux, search the web for instructions, usually someone has figured it out and written a nice howto
<LinuxWolf> <LinuxWolf> influx: I do appologize for late ?'s just i think ppl have to type to me first and they maybe a bit behind us
<influx> linux will do pppoe, unfrotunately i haven't had a chance to play with it, no DSL or other cool stuff here :)
<influx> LinuxWolf: thats okay
<influx> the questions have been really good :)
<influx> bitwize suggests checking out the CABLE Howto for help with pppoe and other issues
<influx> on the firewall section, the default set gives you reasonable security
<influx> however, don't let your guard down just because you have a firewall
<influx> its important to check for updates and keep up to date on them
<influx> there have been bugs in the firewall code itself and other programs
<influx> once you are done here, click next
<influx> this screen alolws you to select your default timezone
<influx> just click on the one you live in and click next
<influx> language selection is also new in 7.1
<influx> if you only intend to use english, just check that box and click next
<influx> the next screen is default root password and account configuration
<influx> client died :)
<influx> okay
<influx> to choose a root password, there are some simple rules you should follow
<influx> the length should be at least 6 chars, use combinations of letters, caps, and punctionation and be something you can remember without writing it down
<influx> linux passwords are case sensitive
<wolf_fire> and not easily guessable
<influx> right
<influx> don't use your name, birthday, social, girlfriends, name, maiden name, etc, etc
<LinuxWolf> a example of a poor password may19th
<wolf_fire> like your dog's name + your bday
<LinuxWolf> or your ATM cards pin number
<LinuxWolf> they are all poor passwords
<[MbM]> in other words don't set your root password to r00t
<influx> even if you put words backwards or have small permutations, they can still be cracked
<influx> yes, and password is a bad password :)
<LinuxWolf> a good password would be Ka1XLpm9sP
<influx> at this point, its a good idea to add at least one user
<[MbM]> any password can be guessed given enough time, the idea is just to make it obscure enough not to be guessed
<influx> since linux is multi-user, you should only use root when necessary and otherwise use a normal account
<wolf_fire> ditto what [MbM] mentioned
<influx> once finished, move to the authentication config
<influx> i recommend that you enable MD5 passwords and shadow passwords, this will give you increased security
<influx> NIS, LDAP and Kerberos are beyond our scope today
<influx> if you don't know what they are, don't mess with it :)
<LinuxWolf> <influx> the only reason i could think not to enable them are if you already have a passwd file from a previous install
<wolf_fire> btw: your personal account and your root password should not be the same even on a single user workstation
<[MbM]> it can break compatibility with older software that read /etc/passwd directly, although imho you shouldn't be running such software
<wolf_fire> one reason not to install them is when you have software that can't handle md5 or shadow, but are dependant on the passwd file for access restrictions
<influx> everything in 7.1 should use PAM
<wolf_fire> older versions of kde for example
<influx> next, you'll be allowe dto chosee which packages you wish to install
<LinuxWolf> what are yellow pages, some distro's have the option of yellow pages, does redhat and if so should it also be checked
<influx> NIS is yellow pages
<influx> they had to change the name because of copyright issues
<wolf_fire> long time ago :)
<influx> so the answer is yes, redhat supports it :)
<LinuxWolf> I have no more questions about passwords
<influx> k
<wolf_fire> (all modern unices do)
<influx> in the packages screen, you can drill down and select/deselect individual programs or do it by functionality
<influx> you can probably leave the defaults
<influx> you can always install or uninstall later if you find you need something
<influx> rpm makes it fairly simple
<influx> click next and we come to X configuration
<influx> X is the foundation for putting a GUI onto your screen
<influx> GNOME and KDE are desktop environments which run on top of X
<influx> gernally let the installer probe your hardware automatically
<influx> like we said earlier, if you have modern hardware, you won't have a problem
<influx> click next, and you can setup your monitor and resolution
<influx> i recommend setting text login instead of graphical
<influx> if you run into trouble a text login will at least let you easily get in and fix it
<influx> graphical can be a bit of a pain
<influx> you can always change it later, if you so desire :0
<influx> once this is done, it will begin to put the packages onto your hard drive
<influx> after this, you should be able to reboot into your new linux machine :)
<influx> questions?
<LinuxWolf> none so far
<lewq> sorry, i didn't say i'd left. i'm back now.
<Wintersun> Great! How about we go ahead and open the channel up and people can ask any questions that they might have.
<LinuxWolf> I think you covered it pretty deeply
<influx> sounds good Wintersun
<Wintersun> If you have questions, please feel free to ask!
<Wintersun> Oh and really quickly, Thank you influx for doing the tutorial!
<LinuxWolf> channel is now open to general questions no need to /msg me
<influx> thanks everyone for the help and suggestions
<hax> good tutorial
<hax> :)
<wolf_fire> yeah, now let's wait for the complaints about RH
<Spontz> I have two hard drives in my computer, one for operating systems and applications and such, the other for my important data. I assume Linux can handle this. Is that correct?
* wolf_fire ducks
<LinuxWolf> If anyone has questions on a specific thing you can just ask in channel now
<influx> Spontz: sure
<Spontz> Also, can Linux read data from Windows partitions, or do I need to split my data drive in half?
<hax> question tho: what services does the normal user normally need to run? i know i need identd for IRC... but other than that, is anything vital?
<LinuxWolf> also I would like to say that Tom has agreed to stick around and in conjunction with influx answer your questions
* spot waves
<wolf_fire> Spontz: yeah, if you need compatibility tho, leave the second drive as fat32, that way both OSes can read/write to it
<hax> wolf_fire: isnt there a win32 prog to read ext2 now?
<wolf_fire> hax: if there is, i wouldn't trust it...
<LinuxWolf> great walk-thru influx
<hax> heh
<influx> thanks LinuxWolf
<wolf_fire> hax: i've actually only seen one for NT, but it was "commercial"
<Spontz> Thanks, that was a great tutorial. I really appreciate the help! :)
<Rias> surely not an easy topic to cover, but this was a well done job
<spot> there are apps to mount ext2 in windows, but they're not very good
<LinuxWolf> there is a programe to read ext2 partitions yes, but 10-1 it wont stay running any longer then windows would heheh
<lewq> influx, nice job :) were you working through an install as you talked us through it?
<hax> heheh
<influx> yeah, vmware is sweet :)
<wolf_fire> windows just does not do well when it's not king of the hill...
<lewq> ah :)
<hax> LOFL
<lewq> influx, you had any experience dual booting win2k and linux?
<wolf_fire> which is why you have to install it before anything else, no matter the second OS
<influx> haven't tried win2k yet
<hax> influx: btw, whats the easiest way to upgrade software on rhat? i have used apt-get in debian...
<wolf_fire> lord help you when you have 2 MS OSes on the same computer as well
<influx> red-carpet is what i use
<influx> its a gui that does some of the same things apt-get does
<influx> www.ximian.com
* spot recommends up2date
<hax> cool
<lewq> i installed debian on a friend's box, it broke the win2k install but debian runs fine. i think he hates me :) INACCESSIBLE_BOOT_DEVICE is what 2k bsods on..
<hax> lewq: i'd say debian did its job
<wolf_fire> lewq: did you make sure that 2k's partition was active before trying to boot it?
<influx> also check out www.rpmfind.net
<lewq> wolf_fire, "active"?
<lewq> hax, :)
<wolf_fire> yeah... tagged as "active"... NT used to have a problem with that... 2k might still insist
<lewq> ah..
<lewq> how do i do that?
<wolf_fire> lewq: fdisk
<lewq> dos fdisk?
<wolf_fire> just a suggestion, i don't know if it will fix it or not
<wolf_fire> yeah, dos fdisk
<lewq> hm.. ok, i'll suggest it to him
<wolf_fire> by spec a PC can't boot normally if there are 2 active partitions either
<[MbM]> you can have a partition set as active yet use a boot manager on the master boot record to select another partition
<LinuxWolf> there any plans to add Grub as a choice instead of lilo to redhat?
<wolf_fire> yes, you can, but older versions of NT and before like NT4 SP3 insisted that it be the only one set active to boot *shrug*
<wolf_fire> i tossed it out because 2k might do the same
<wolf_fire> lewq: btw, you might try using 2k's boot manager instead of lilo and see if that fixes things as well
<wolf_fire> woopsie
<wolf_fire> laters all, back to house work
<influx> k, unless anyone has some final questions for me, i think i'm going to go get some lemonade :)
* spot also sneaks back to his home in #redhat