3/09/2008

Installing CentOS 5.1 vis http

OS: Ubuntu 7.10 Desktop
HTTP server: Apache 2.2.4-3

#--------------------------------------------------
# Pre installation
#--------------------------------------------------
#Create boot disk. You can find the disk image in this folder CentOS-5.1-i386-bin-DVD.iso/images

This directory contains image files that can be used to create media capable of starting the CentOS installation process.

The boot.iso file is an ISO 9660 image of a bootable CD-ROM. It is useful in cases where the CD-ROM installation method is not desired, but the CD-ROM's boot speed would be an advantage.

To use this image file, burn the file onto CD-R (or CD-RW) media as you normally would.

The diskboot.img file is a VFAT filesystem image that can be written to a USB pendrive or other bootable media larger than a floppy. Note that booting via USB is dependent on your BIOS supporting this. It should be written to the device using dd.

#the iso image (CentOS-5.1-i386-bin-DVD.iso) should be mounted via loopback in the publicly available www directory
sudo mount -o loop /path_to_iso_image/CentOS-5.1-i386-bin-DVD/CentOS-5.1-i386-bin-DVD/CentOS-5.1-i386-bin-DVD.iso /var/www/centos/

#--------------------------------------------------
# Installation
#--------------------------------------------------
Using the CD that we just created, boot CentOS.

Enter the name or IP address of the HTTP site you are installing from, and the name of the directory containing the variant directory for your architecture.

Web Site name: name.domain.com
CentOS Directory: /centos













Then follow the normal procedure to install the OS

沒有留言: