Disabled service on Runlevel 3 and 5 
Tuesday, February 28, 2006, 01:48 - Desktop
apmd - I am not running on notebook
bluetooth - I don''t have a bluetooth devices
isdn - My network running on LAN 10/100 MB
mdmonitor - I am not installing my Fedora using RAID Harddisk
pcmcia - My Fedora in on PC not notebook

Click on "Desktop" > "System Settings" > "Server Settings" > "Services" and deselect system services that you will not immediately use. When you click on each of them you will see a description as to what they are for. If you''re not sure, leave them in there. (I deselected above services.) Click the "save" icon. You should also select "Edit Runlevel" on the menu, select "Runlevel 3", deselect the same system services as you just did for run level 5, and save them as well by clicking the "save" icon. Then close the service configuration screen. (Run level 3 is for text mode only without X windows and we will use this run level later when configuring the ATI driver.)


[ add comment ]   |  permalink  |   ( 3.1 / 268 )
Installing with Kickstart  
Tuesday, February 28, 2006, 01:45 - Desktop
To save time installing the same configuration for most PC with Fedora Core,
I have created a kickstart file based my ananconda-ks.cfg file.

Below is my ks.cfg after modified. To use this kickstart file, I am copying the file into Floppy disk
and boot user PC with CD which contain Fedora Core 4 boot iso for Install/Upgrade.

After the linux install prompt appear I type,

boot: linux ks=floppy

then it will start seeking floppy disk for file named ks.cfg

Please note: you should have a DHCP server running to provide the PC with IP address and a FC4 repository

#Generated by Kickstart Configurator
#platform=x86, AMD64, or Intel EM64T
#date 27 Feb 2006

#System language
lang en_US
#Language modules to install
langsupport --default=en_US.UTF-8
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone Asia/Jakarta
#Root password
rootpw --iscrypted $1$XSRac/ou$sRJijao6VWEsVGS4RDuI01
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://10.10.105.105/software/fedora/os
#System bootloader configuration
bootloader --location=mbr --append="rhgb quiet"
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext3 --size 100
part swap --size 512
part / --fstype ext3 --size 5000
part /home --fstype ext3 --size 1 --grow
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#SELinux configuration
selinux --disabled
#XWindows configuration information
xconfig --depth=24 --resolution=800x600 --defaultdesktop=GNOME --startxonboot
#Run the Setup Agent on first boot
firstboot --enable
#Package install information
%packages
@ office
@ editors
@ text-internet
@ gnome-desktop
@ dialup
@ games
@ base-x
@ graphics
@ printing
@ admin-tools
@ sound-and-video
@ graphical-internet
kernel-smp
grub
e2fsprogs
dosfstools

%post
wget http://10.10.105.105/software/fedora/ex ... datefc4.sh -O /root/updatefc4.sh
chmod +x /root/updatefc4.sh

[ add comment ]   |  permalink  |   ( 3.1 / 233 )
Simplify Update Fedora Core 4 System 
Tuesday, February 28, 2006, 01:43 - Desktop
To simplify Fedora Core 4 system update, I have created a scripts to check current runlevel, id and update the yum configuration file before updating the system. Below is the scripts.

Below is the scripts

#!/bin/bash
#filename: updatefc4.sh
#scripts for updating FC4 system
#
currentinit=`runlevel | awk '{ print $2 }'`
correctinit='3'
currentid=`whoami`
correctid='root'
echo "Current RunLevel = " $currentinit
echo "Correct RunLevel = " $correctinit
echo "Current ID = " $currentid
echo "Correct ID = " $correctid
if [ $currentinit == $correctinit ]
then
echo "Current runlevel is 3, preparing to updating your Fedora Core 4"
if [ $currentid == $correctid ]
then
echo "Update is lauched"

echo "Downloading Fedora Update Repository Configuration Files"
mkdir fcupdate
cd fcupdate
wget http://10.10.105.105/software/fedora/ex ... epo.tar.gz
tar -xzvf fedora-rpx.repo.tar.gz

echo "Updating Update Configuration Files"
cp --reply=yes *.repo /etc/yum.repos.d/

echo "Updating the system, Please wait a while..."
yum -y update

echo "Update complete!"
echo "You should reboot your system!!!"
else
echo "Update need root id to run update program"
echo "Update is cancel"
fi
else
echo "This update can't be run on runlevel 5"
echo "Only on runlevel 3"
echo "Please go to runlevel 3, by typing:"
echo "init 3"
fi


[ add comment ]   |  permalink  |   ( 3 / 232 )
Fedora Core Updates 
Tuesday, February 28, 2006, 01:42 - Desktop
I have already downloaded Fedora Core 4 repository for Core and Updates and for the Extras I didn't so I disabled the option

Here the contents of files below /etc/yum.repos.d folder

#vi /etc/yum.repos.d/fedora.repo
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=http://10.10.105.105/software/fedora/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

#vi /etc/yum.repos.d/fedora-updates.repo
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
baseurl=http://10.10.105.105/software/fedora/updates/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

#vi /etc/yum.repos.d/fedora-extras.repo
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

go to init 3
#init 3

then type
#yum -y update


[ add comment ]   |  permalink  |   ( 3 / 198 )
Install Log 
Tuesday, February 28, 2006, 01:38 - Desktop
Installation of FC4, I am using Personal Computer packages. For detailed you can see the kickstart file which generated by anaconda automatically

# Kickstart file automatically generated by anaconda.

install
url --url http://10.10.105.105/software/fedora/os
lang en_US.UTF-8
langsupport --default=en_US.UTF-8
keyboard us
xconfig --card "ATI Radeon 9100 IGP" --videoram 131072 --hsync 30-70 --vsync 50-
160 --resolution 800x600 --depth 16 --startxonboot --defaultdesktop gnome
network --device eth0 --bootproto static --ip 10.10.105.181 --netmask 255.255.25
5.0 --gateway 10.10.105.2 --nameserver 10.10.105.6 --hostname am3n
rootpw --iscrypted $1$sAIbEDRK$s77UeokuDlA3lzCkY3H2V.
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone Asia/Jakarta
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux
#part / --fstype ext3 --size=30000
#part /home --fstype ext3 --size=20000
#part /data --fstype vfat --size=20000
#part swap --size=2000

%packages
@ office
@ editors
@ text-internet
@ gnome-desktop
@ dialup
@ games
@ base-x
@ graphics
@ printing
@ admin-tools
@ sound-and-video
@ graphical-internet
kernel-smp
grub
e2fsprogs
dosfstools

%post


[ add comment ]   |  permalink  |   ( 2.9 / 195 )

Back Next

Free Webhosting By Profusehost.net