Instructions for installing a Fedora 8 CONTROL server
Boot from the "new store quick install" DVD:
At the boot screen, type
knoppix 2
This will boot up knoppix in text mode and leave you with 4 terminals.
Partition the hard drive with fdisk to create the following partitions:
/ (root) 4-8 Gig depending on size of drive, format as EXT3.
swap 1-2 Gig depending on size of system memory.
/u with rest of available space, format as EXT3.
The following example is for a 8 Gig / partition. Don't forget to change partition 2 to type 82 (linux swap) and to make partition 1 bootable. The default (83) should be fine for partition 1 and 3.
#fdisk /dev/hda The number of cylinders for this disk is set to 9729. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help):n Command action e extended p primary partition (1-4) p Partition number (1-4):1 First cylinder (1-9729, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (6619-9729, default 9729):+8192M Command (m for help):
Formatting the partitions:
#mkfs.ext3 -L / /dev/hda1 #mkfs.ext3 -L /u /dev/hda3 #mkswap -L SWAP-sda2 /dev/hda2
Mount the partitions:
If the /mnt/hda1 was not auto created, manually create it.
#mount /dev/hda1 /mnt/hda1 #mkdir /mnt/hda1/u #mount /dev/hda3 /mnt/hda1/u
Untar the fedora 8 image to the new partition
#cd /mnt/hda1 #xvzf /u/blankf8forcontrol.tgz
after 10-15 minutes the whole image should now be on the new drive.
Boot Loader setup:
First get out of the knoppix environment:
#shutdown -r now
The disk will eject, insert the Fedora 8 Rescue CD. You can use the Fedora 8 installer and select "Rescue installed system". Accept all the defaults, except you do not need to enable networking. Once you get to the prompt, you need to create a new initial ramdisk and then reinstall grub:
#chroot /mnt/sysimage #rm /boot/initrd-2.6.26.5-28.fc8.img #mkinitrd /boot/initrd-2.6.26.5-28.fc8.img 2.6.26.5-28.fc8 #grub-install /dev/sda #exit #exit
Now Eject the disc. Your system should now boot up.
Network configuration:
This will be dependant on the machine's connection to the internet. DHCP is configured by default. If a DHCP server is unavailable, configure a static IP address, Netmask, gateway, and nameserver. For example:
- IP address: 192.168.1.85
- Netmask: 255.255.255.0
- Gateway: 192.168.1.1
- Nameserver: 192.168.1.1
This can be changed by logging in as root and running "system-config-network". Where this machine is on an internal network, you should ensure that SSH (port 22) is forwarded to it from the router to allow Creative Computing to access the machine remotely.
Hostname configuration:
This should be a shortened version of the company name for a head office server (6-12 characters, no spaces or dots), or a similarly shortened location name for a store server. Configure this into /etc/sysconfig/network
hostname=compname
TimeZone selection:
Select "Hardware Clock is GMT" to ensure correct operation across daylight savings changes. Select the appropriate timezone for the server location (e.g. Australia/Sydney). Use "system-config-date" to change this setting.
The server should now be ready to install CONTROL programs and set up the user environment. InstallingControl