RHEL 6 Kernel Upgrade
RHEL 6 Kernel Building Procedures
(using RHEL 6 and 2.6.38.3 kernel):
Ensure the following packages are installed and up to date:
autoconf
automake
bison
byacc
flex
gcc
gcc-c++
gettext
libpciaccess
libpciaccess-devel (this by default is not installed)
libstdc++ (for x86_64 systems)
libtool
make
ncurses-devel
patch
rpm-build
1. Get the latest kernel source from www.kernel.org
I used 2.6.38.3
2. Unpack:
# bunzip2 linux-2.6.38*.tar.bz2
# tar xvf linux-2.6.38*.tar
3 Go to to its directory:
# cd linux-2.6.38*
4 configure:
# make menuconfig
Select requred device drivers:
Example:
Device Drivers -> Network device support -> Ethernet (10000 Mbit)
Intel(R) 10GbE PCI Express adapters support
5. Save the new kernel configuration
6. Compile (-j 8 for 4 core CPU):
make -j 8 && make -j 8 modules_install && make install
7. Reboot system to new the kernel
openSUSE 11.4 VNC
Configure VNC feature in openSUSE 11.4
Enable VNC in openSUSE host system:
1. Run Yast
2. Go to “Network Services”
In the right column select “Remote Administration (VNC)”
3. In “Remote Administration Settings”
Select “(x) Allow Remote Administration”
4. Select OK and then Quit Yast
VNC from a Windows system:
1. Download RealVNC client from http://www.realvnc.com
VNC Free Edition 4.1
2. Lauch RealVNC client
Enter the openSUSE Host’s ip address and use port 5901
<hostname>:5901
LHOSTS
LMHOSTS (LAN Manager Hosts) is used in conjunction with workgroups and domains, it enable domain name resolution under Windows.
The lmhosts needs to be configure in Windows and Linux if you’re using Samba file server in a network with no domain controller.
In Windows 7, the LMHOSTS file is located in:
“C:\Windows\system32\drivers\etc\”
Here’s the default configuration:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Add the Linux Samba server ip address and hostname.
In Linux (openSUSE), the lmhosts file is located in: “/etc/samba/”
Add the Windows client’s ip address and its computer name.


