SLCentral - Your logical choice for computing and technology
Latest Deals   
Navigation
  • Home
  • Search
  • Forums
  • Hardware
  • Games
  • Tech News
  • Deals
  • Prices
  • A Guru's World
  • CPU/Memory Watch
  • Site Info
  • SL Newsletter
    Recieve bi-weekly updates on news, new articles, and more


    Forum home My SLBoards (Control Panel)View the calendar View the members list Read the FAQ Search the forums

    Go Back   SLCentral Forum > Technology > Software / Operating Systems
    User Name
    Password


    Reply
     
    Thread Tools Search this Thread Display Modes
      #1  
    Old 07-24-01, 05:24 AM
    Dave's Avatar
    Dave Dave is offline
    ActiveTuning Partner
     
    Join Date: Dec 2000
    Location: University Of Maryland
    Posts: 1,873
    Dave is on a distinguished road
    Send a message via AIM to Dave
    Default My Newbie Journey To A Tri-Boot Redhat System

    I'm going to try and setup a redhat server over here, my main goal is to have the system boot WinME, Win2K, and Redhat. Now I have never really used Linux before (Tried Mandrake once) so I have absolutely no idea what I'm doing....and since I don't know much about programming, apparently it may be a little harder for me.

    So I just felt that I would take you guys on the journey with me, let you know what I'm doing, and if at that step there are any tips/hints you can give me, that'd be awesome!

    So anyways, where I'm at right now, I'm actually downloading the ISO's for Redhat 7.1. CD 1 finished last night, CD 2 should be finished sometime today around 2:30PM EST or so. Once I'm done that I'll throw em onto 2 CD's and try for the install.

    Now one thing, if anybody has actually installed Linux to run with Windows, I would appreciate your help as to how to get everything running. I already know now not to do the auto partition (I will be installing in server mode.....or should I do custom mode?) otherwise it will override the MBR. So what do you recommend?

    Also, in terms of partitions.....Right now there are 2 (one for Win2k, one for WinME), how do you recommend setting that up, and how much space to set aside?

    Remember, I'm trying to build a webserver here.

    Any help from you Linux guru's would be one step beyond awesome
    __________________
    ActiveTuning - Partner & Director Of Sales & Marketing

    Reply With Quote
      #2  
    Old 07-24-01, 10:17 AM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default

    I've done this plenty of times before, Dave. The easiest setup I've found is to use NT's bootloader to manage the whole mess. The only problems that really come into play are potential 1024 cylinder limitations, but depending on how Red Hat reads your disk, this might not be a problem.

    First off, FAT32 will need to be your first partition. You'll prolly want to make your Linux partitions after this point, and then make Win2K last. You can have up to four primary partitions on one disk, or three primary and one extended with numerous logical partitions on it. WinME *MUST* be the on the active primary partition, or it'll complain.

    You'll also need this special program I have at home. I downloaded it following a chain of links from the FreeBSD FAQ, but the author's page seems to have been swept away, as was the file. It read/writes the MBR or the boot sector of a disk to/from a file. You can use this to write the Linux bootloader (NOT LILO!) to a 512 byte file, and then add that to the boot.ini file that Win2K will create. Just add another line under the boot options like this :

    C:\mbr.dat = "Red Hat Linux"

    I'll post more details once I can get the file uploaded.
    __________________
    "And knowing is half the battle!"
    Reply With Quote
      #3  
    Old 07-24-01, 10:20 AM
    Paul's Avatar
    Paul Paul is offline
    Student-for-life
     
    Join Date: Dec 2000
    Location: College Park, Maryland
    Posts: 1,294
    Paul is off the scale
    Send a message via ICQ to Paul Send a message via AIM to Paul
    Default

    I believe the newest versions of LILO no longer have the 1024 limit.
    __________________
    paul@pleaseohpleasedontspamme.slcentral.com
    A mathematician is a device for turning coffee into theorems -- P. Erdos
    Reply With Quote
      #4  
    Old 07-24-01, 10:33 AM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default

    That's true...but if I remember correctly (And I'm too lazy to go do some fact checking), none of the recent distros include the newest LILO, so that's great news, but it's only important after the fact, or if someone includes it in their new distribution. Red Hat 7.1, to my knowledge, has the older LILO that doesn't support cylinders >1023. RH 8 should.
    __________________
    "And knowing is half the battle!"
    Reply With Quote
      #5  
    Old 07-24-01, 10:49 AM
    Dave's Avatar
    Dave Dave is offline
    ActiveTuning Partner
     
    Join Date: Dec 2000
    Location: University Of Maryland
    Posts: 1,873
    Dave is on a distinguished road
    Send a message via AIM to Dave
    Default

    Just one issue.....like I said before, Win2K and WinME are already installed......
    __________________
    ActiveTuning - Partner & Director Of Sales & Marketing

    Reply With Quote
      #6  
    Old 07-24-01, 10:51 AM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Question

    Quote:
    Originally posted by Dave
    Just one issue.....like I said before, Win2K and WinME are already installed......
    Do you by any chance have a second hard disk to put in there? That'd make things a CINCH.
    Reply With Quote
      #7  
    Old 07-24-01, 02:46 PM
    rstarr's Avatar
    rstarr rstarr is offline
    Senior Member
     
    Join Date: May 2001
    Location: Fort Knox, KY
    Posts: 541
    rstarr is off the scale
    Default

    Will Linus boot off a second hard drive?
    __________________
    Serious Soldier

    Reply With Quote
      #8  
    Old 07-24-01, 06:36 PM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default

    Quote:
    Originally posted by rstarr
    Will Linus boot off a second hard drive?
    Heh...Linus might not, but Linux will. I'm not sure about grub or lilo, but since he's already got Win2K and ME installed, he can just install Linux on the third disk, put the MBR bootloader on that disk, and then use the BOOT utility I have to extract it and copy it to the hard disk. It should work. And even if it didn't, I'm pretty sure grub supports that.
    __________________
    "And knowing is half the battle!"
    Reply With Quote
      #9  
    Old 07-25-01, 09:10 AM
    Devnut's Avatar
    Devnut Devnut is offline
    Developer
     
    Join Date: Dec 2000
    Location: Port Angeles, WA
    Posts: 230
    Devnut is off the scale
    Send a message via ICQ to Devnut
    Default

    Heh.. I remember back when I was trying to setup a dualboot with 2k server + linux.. god.. it was a nightmare..

    Ryan
    Reply With Quote
      #10  
    Old 07-25-01, 09:24 AM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default

    Here is that MBR extractor I was talking about. Just run it as
    BOOT /?
    and it will give you the command line options. For most of you, you'll be using it as BOOT /R /DRIVE:0 MBR A:\MBR.DAT or something like that. I'll elaborate more on its operation in a few minutes.
    __________________
    "And knowing is half the battle!"

    Last edited by Cutriss : 07-25-01 at 10:03 AM.
    Reply With Quote
      #11  
    Old 07-25-01, 09:33 AM
    Dave's Avatar
    Dave Dave is offline
    ActiveTuning Partner
     
    Join Date: Dec 2000
    Location: University Of Maryland
    Posts: 1,873
    Dave is on a distinguished road
    Send a message via AIM to Dave
    Default

    Well....I ended up just wiping everything and installing dedicated red hat.

    I set it up in a server config.

    Now, does anybody have any tips as to setting up a web server with Apache/PHP/MySQL?

    I believe Apache is already on there as I did see some config files for it, although I couldn't find the program.

    I thought that maybe it runs automatically but opening up Netscape and going to http://localhost or http://127.0.0.1 or my IP address don't bring anything up.

    Any tips or resources would be appreciated.

    BTW, for anybody interested in installing Redhat, wow, installation is a breeze, they really made it so much better, and I love the graphical interface in the install.
    __________________
    ActiveTuning - Partner & Director Of Sales & Marketing

    Reply With Quote
      #12  
    Old 07-25-01, 09:40 AM
    Devnut's Avatar
    Devnut Devnut is offline
    Developer
     
    Join Date: Dec 2000
    Location: Port Angeles, WA
    Posts: 230
    Devnut is off the scale
    Send a message via ICQ to Devnut
    Default

    Yup.. they've definitely improved it..

    In terms of going to the local site.. if I remember right it was just running by default after I installed.. however if it isn't.. try running "/etc/rc.d/init.d/httpd start" to make sure it's running. If not.. it will start it. If it gives you errors.. check the httpd.conf file for misconfig.. (I can help you through that if you like as well.. )

    Ryan
    Reply With Quote
      #13  
    Old 07-25-01, 10:43 AM
    Tom's Avatar
    Tom Tom is offline
    SLCentral.com Staff
     
    Join Date: Dec 2000
    Location: New York, USA
    Posts: 354
    Tom is off the scale
    Send a message via ICQ to Tom Send a message via AIM to Tom Send a message via Yahoo to Tom
    Default

    isn't apache usually installed in the /usr/local/apache directory? At least that's where it installs default on the server I'm using. php should also be in /usr/local/lib/php, and mysql in /usr/local/mysql, at least that's how mine setup. If i'm not mistaken i think php is included in the apache release as a module, but mysql I'm not sure about. If it's not there, it's easy enough to download the latest rpm and install it. the command ps -alf will pretty much display a list of all the current running processes so you can see what you've got setup. You should kill any non essential process or things you don't want running like mail, telnet or things like that if you're not using them.
    __________________
    SystemLogic.net - Editor

    2 Pentium III 1 Ghz 2 Alpha HeatSinks with 38 CFM Delta Fan | Abit VP6 | 512 MB PC-166 | Antec SX1030B with 4 High Output 80mm Sunon Fans | 2 30 GB IBm 75 Drives in RAID 0 | Plextor PlexWriter 16/10/40A | Mitsumi 40x CD-ROM | Generic 3.5" Floppy Drive | VisionTek Geforce 2 GTS 32 MB | Sound Blaster Live! Value | 3com NIC | Diamond Supra Modem | 19" Sony Monitor | Klipsch Promedia V.2-400 Speakers | PcMods.com Sound Sensitive Blue

    "No more yankie my wankie. The Donger need food!"

    More people are killed annually by donkeys than die in air crashes.
    Reply With Quote
      #14  
    Old 07-25-01, 10:49 AM
    Devnut's Avatar
    Devnut Devnut is offline
    Developer
     
    Join Date: Dec 2000
    Location: Port Angeles, WA
    Posts: 230
    Devnut is off the scale
    Send a message via ICQ to Devnut
    Default

    Well.. the location of apache varies through each installation.. (the file I mentioned to use to restart apache is one of the common things throughout almost all distros..)

    Quote:
    You should kill any non essential process or things you don't want running like mail, telnet or things like that if you're not using them


    Umm.. that might not be what you're looking to do.. as that's only a one time fix. If you actually disable the service from starting up at boottime, that will keep the services from starting. In RH you can do this by running "setup" and then the option that talks about services (forget how it's worded..).. it's a nice console interface to managing the services.

    Enjoy

    Ryan
    Reply With Quote
      #15  
    Old 07-25-01, 10:54 AM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default

    Quote:
    Originally posted by Devnut You should kill any non essential process or things you don't want running like mail, telnet or things like that if you're not using them.[B][QUOTE]Originally posted by Devnut [B]Umm.. that might not be what you're looking to do.. as that's only a one time fix. If you actually disable the service from starting up at boottime, that will keep the services from starting. In RH you can do this by running "setup" and then the option that talks about services (forget how it's worded..).. it's a nice console interface to managing the services.
    What about in Linux in general? Aren't startup processes supposed to be in /etc/rc.conf? I can't remember offhand.
    Reply With Quote
    Reply


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    vB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump



    All times are GMT -8. The time now is 02:21 AM.

    Archive - Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Top
    Browse the various sections of the site
    Hardware
    Reviews, Articles, News, All Reviews...
    Gaming
    Reviews, Articles, News...
    Regular Sections
    A Guru's World, CPU/Memory Watch, SLDeals...
    SLBoards
    Forums, Register(Free), Todays Discussions...
    Site Info
    Search, About Us, Advertise...
    Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Legal | Advertising | Site Info