26 May 2011

linux 2.6.39 installation on Fedora Core 15

1. Install Fedora core 15.
2. Download Linux 2.6.39 source code from here.
3. Download the config file for 2.6.39 from here.
4. Remove all the arch related files other than x86 from here.
cd /usr/src/kernels
tar xjvf linux-2.6.39.tar.bz2
cp config.39 .config
make oldconfig
make
make modules_install
make install
timeout=10
#hiddenmenu
kernel .... rdshell rdinitdebug
kernel .... #rhgb quiet

Reference:
Fedora Core 14 Intallation
Fedora Core 15 Intallation

Linux 2.6.36 + Fedora 14
Linux 2.6.37 + Fedora 14
Linux 2.6.38 + Fedora 14
Linux 2.6.39 + Fedora 15

Fedora Core 15 installation on VmWare 2.0.2

1. login using Administrator account
2. Virtual Machine --> Create Virtual Machine
3. Name and Location --> "FC14-minimal"
4. Guest Operating System --> "Linux 2.6"
5. Memory and Processors --> "768MB"
6. Hard Disk --> "Create New Virtual Disk"
7. Hard Disk Properties --> "40GB"
8. Network Adapter --> "NAT"
9. CD Drive --> "Use a Physical Drive"
10. Floppy Drive --> "Don't Add a Floppy Drive"
11. USB Controller --> "Don't Add a USB Controller"
12. Ready to Complete --> "Finished"

13. Summary --> "CD/DVD Drice" --> "[] c:\Fedora-15-i386-DVD.iso"
1. Skip media test
2. Select "Basic Storage Devices"
("Yes, discard any data")
3. Select "Create Custom Layout"
>> "Free" -> "Create" -> "Standard Partition" -> 1536MB swap
>> "Free" -> "Create" -> "Standard Partition"
Mount point --> "/boot"
File system --> "EXT4"
Size --> 500MB
>> "Free" -> "Create" -> "Standard Partition"
Mount point --> "/"
File system --> "EXT4"
Fill to maximum allowed size
>> "format" and "write changes to disk"
4. Select "minimal" installation
5. A total of 188 packages will get installed.
vi /etc/syscofig/network-scripts/ifcfg-p3p1
>> DEVICE="p3p1"
>> ONBOOT="yes"
>> BOOTPROTO="dhcp"
mkdir /mnt/cdrom
vi /etc/fstab
>> /dev/cdrom /mnt/cdrom iso9660 defaults 0 0
mount -a
cd /etc/yum.repos.d/
vi fedora.repo >> enabled=0
vi fedora-updates.repo
>> baseurl=file:///mnt/cdrom
>> #baseurl
>> #mirrorlist
>> enabled=1
>> gpgcheck=0
yum install ftp make vim gcc gcc-c++ ctags ncur*
yum install man-db man-pages kernel-devel mlocate bind-utils
yum install ntsysv gpm strace plymouth-theme* openssh-clients...

yum install Xorg xorg-x11-drv-*
yum groupinstall 'GNOME Desktop Environment'
vi ~/.bashrc
>> alias vi=vim
vi ~/.vimrc
>> set is
>> set hls
>> set sw=4
>> set ts=4

>> set cindent shiftwidth=2
>> set fo+=or
>> syntax enable

>> set expandtab
>> set tabstop=4
vi /boot/grub/grub.conf
>> timeout=10
>> #hiddenmenu
>> kernel .... rdshell rdinitdebug
>> kernel .... #rhgb quiet
ntsysv --> only select "network", "sshd"


Reference:
Fedora Core 14 installation on VmWare 2.0.2
How To: Setup SSH/SCP without a password
linux 2.6.39 installation on Fedora Core 15