kernal panic – not syncing: I0-apic + timer doesn’t work!

Problem Description: kernal panic – not syncing: I0-apic + timer doesn’t work! boot with apic=debug and send a report. then try booting with the ‘noapic’ option

Solution: When booting, press downkey to free the Grub interface, press “e” to modify the bootline, and at the end of the line that begins with “kernel”, add in, without quotes, “noapic”, then save the file and reboot.

CentOS 5下配置vnc服务器(远程桌面)

1、检查vnc服务器端是否已经安装?

rpm -q vnc-server

2、将用户名成加入到vnc中

vim /etc/sysconfig/vncservers

添加如下两行

VNCSERVERS=”1:root”

VNCSERVERARGS[1]=”-geometry 1024×768″

3、设置vnc密码

vncpasswd

输入密码

4、启动vnc服务

/etc/init.d/vncserver start

应该可以启动成功了~

5、更改vnc的-window配置

cd ~/.vnc/

vim xstartup

注释掉一下行

#xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &

#startkde & #kde desktop

#twm & #Text interface

添加:

gnome-session & #set starting GNOME desktop

重启vnc服务。

/etc/init.d/vncserver restart

6、浏览器中访问

客户端安装不是必须的,浏览器即可访问~

web方式的vnc: http://hostname:port,默认port是5800。

port对比

VNC WEB-VNC

0 5800

1 5801

2 5802

Installing Hyper-V Linux Integration Components and Mouse Driver On CentOS 5

Microsoft has introduced together with Windows 2008 a new Hypervisor called Hyper-V. Initially Microsoft only supported Microsoft products and Novell Suse, but recently they added support for Red Hat Enterprise Linux. With this support it is also possible to install the components on CentOS.

1. Download Latest Linux Integration Components

You can download the exe file here. Extract it and copy the linuxic.iso somewhere you can mount it as a cdrom on your Virtual Machine.

2. Installation

To install the drivers we need the development tools. Easiest method to install those is via Yum.

yum groupinstall “Development Tools”

Next we will copy the contents of the cdrom to the server

mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp -rp /mnt/cdrom /opt/linux_ic
umount /mnt/cdrom

Let’s create a new initrd image with the nessecary drivers.

cd /opt/linux_ic
make

make install

When this is finished you can safely shutdown the virtual machine and add the synthetic adapters (Network, SCSI, …). Once the machine is booted and logged in in you can verify the installation of the drivers with following command:

lsmod | grp vsc

netvsc 73704 0
storvsc 66824 0
blkvsc 70440 3
vmbus 86120 3 netvsc,storvsc,blkvsc
scsi_mod 196569 6 scsi_dh,sg,storvsc,blkvsc,libata,sd_mod

If you installed a synthetic Network Adapter you can verify with ifconfig -a and check if there is seth0.

3. Download the Mouse Driver

http://www.xen.org/files/Satori/inputvsc.iso

4. Installing Mouse Driver

mount /dev/cdrom /mnt/cdrom
cp -rp /mnt/cdrom /opt/linux_ic
umount /mnt/cdrom

cd /opt/linux_ic
./setup.pl