Fedora Install Generation I
From ATLASWARES
(Redirected from Fedora Install)
| This information is related to an older server model. Click here to view the current model. |
Contents |
[edit]
Partitioning drives during Installation
- Boot from the Fedora Core x86_64 DVD (get the DVD here)
- At CD Found, select Skip to skip the media test
- Choose an installation language (English)
- Choose a keyboard layout ( U.S. English)
- Choose to manually setup partitions on /dev/sda:
| Location | File System | Mount Point | Size (Mb) |
|---|---|---|---|
| sda1 | ext3 | /boot | 110 |
| sda2 | ext3 | / | 26843 |
| sda3 | ext3 | /backup | 26843 |
| sda4 | ----- | ----- | ----- |
| sda5 | ext3 | /home | 10237 |
| sda6 | ext3 | /var | 10237 |
| sda7 | swap | SWAP | 2047 |
- Select [RAID]
- Select "Clone Drive Partitions"
- Using RAID 1 (mirroring), create RAID arrays of each partition
The RAID partitions should be setup like this:
| Location | File System | Mount Point | Size (Mb) |
|---|---|---|---|
| md0 | ext3 | / | 26843 |
| md1 | ext3 | /backup | 26843 |
| md2 | ext3 | /home | 10237 |
| md3 | ext3 | /var | 10237 |
| md4 | swap | SWAP | 2047 |
| md5 | ext3 | /boot | 110 |
[edit]
Selecting System Software Components
- Set the root password (____________________)
- Choose the following base packages for installation
| Package Name | Components |
|---|---|
| Gnome Desktop User Interface | ALL |
| KDE Desktop User Interface | ALL |
| X Windows System | ALL |
| OpenOffice.org productivity suite | ALL |
| Network Servers (for future compatibility) | ALL |
| Basic Image Software | |
| Firefox web browser | ALL |
| Thunderbird e-mail program | ALL |
| System Administration Utilities | ALL |
| Legacy Software Support | ALL |
- Complete the OS installation
- Remove the Fedora DVD, and restart the server
[edit]
Additional Packages and Applications
- Login to the server as root using a KDE session
- Open the (Firefox) web browser and browse the internet
- Open a terminal session
- Change to the thumb drive Install folder
cd /media/WARESPE/install/
- Execute the custom install script
./install.sh
The following script installs AbiWord, GnuMeric, NXServer, NX Client, Adobe Reader, Webmin, Java, Shorewall, Flash Player, and LTSP. It also creates users USER00 - USER99, and downloads the ssh key for NX. (We keep this and other scripts on a USB thumb drive.)
#!/bin/sh #install.sh #yum installs yum -y update yum -y install gnumeric yum -y install abiword yum -y install shorewall #rpm installs rpm -ivh ./rpms/*.rpm #create skeleton directory cp -r skel /etc #copy backup scripts cp -r backup /etc cp -a crontab /etc #create users sh ./users.sh #setup dhcp cp -a dhcpd.conf /etc #setup firewall cp -a -r shorewall /etc service shorewall restart #setup nxserver sh ./nxsetup.sh #setup folders mkdir /home/global chmod 777 /home/global chown ServiceLogOn /home/global mkdir /var/opt/arev chmod 777 /var/opt/arev chown ServiceLogOn /var/opt/arev mkdir /var/opt/openinsight chmod 777 /var/opt/openinsight chown ServiceLogOn /var/opt/openinsight
[edit]
Interactive system administration
- Using a KDE session, login as Username=root, password (____________________).
- Start Firefox, go to location http://WaresServer:10000. Webmin will display.
- If requested, enter your Webmin Username=root, password (____________________).
- Goto System + SysV Init Configuration
- Create a new init process (used for backup process)
- ID: y
- Runlevel: 2
- Action: Once time at level
- Process: /etc/backup/backup-timer.sh
- Click Apply init configuration
- Goto Servers + Samba Windows File Sharing
- Click on Create a new FileShare to create application shares
WARES Server Application File Shares
| Share Name | Directory to Share | Create with Owner | Radio Button Choices |
|---|---|---|---|
| arev | /var/opt/arev | ServiceLogOn | Yes/Yes/Yes |
| oinsight | /var/opt/openinsight | ServiceLogOn | Yes/Yes/Yes |
| public | /home/global | ServiceLogOn | Yes/Yes/Yes |
- Change Security Settings on each new share to
- Writeable: Yes
- Guest Access: Yes
- Guest User: ServiceLogOn
[edit]
Cloning disk drives
[edit]
Booting into Rescue Mode
- Replace the lower drive, SATA2, with a drive to be written
- Very important! Make sure SATA2 is connected to the lower drive!
- Insert the Fedora Core 5 DVD and boot the system
- At the boot: prompt, type linux rescue <Enter>
- At Choose a Language, press <Enter>; at Keyboard Type, press <Enter>
- At Setup Networking, choose No <Enter>
- At Rescue, choose Skip <Enter> to go to the shell prompt
[edit]
Copying Drives at the shell prompt
- At sh-3.1#, type dd if=/dev/sda of=/dev/sdb bs=4k
- During the 40 minutess of copying, the drive activity light will be on solid
- When informed that the copy is finished, remove the DVD and type exit <Enter>
- The system will reboot
[edit]
Reestablishing Mirroring
- Boot the system, and login as username (__root__), password (____________________)
- Launch the browser, and go to address http://127.0.0.1:10000/
- Login to Webmin, username (__root__), password (____________________)
- Go to menu selection Hardware + Linux RAID
- Click each RAID device, select the corresponding SCSI device B partition, and add it to the array
- When finished, go to menu selection Hardware + Partitions on Local Disks
- Verify that the disk partitions have been associated correctly
- The system will resynchronize the arrays in approximately an hour
Generation I
Server Construction
Installation
Remote Access
