Travel

Categories

Force Centos/Fedora login screen to ask for username rather than displaying a list of users

gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory –type Boolean –set /apps/gdm/simple-greeter/disable_user_list True

Create a Bridge interface under CentOS/RHEL/Fedora

ifcfg-eth0 :

DEVICE=eth0 ETHTOOL_OPTS=”autoneg off speed 100 duplex full” HWADDR=00:19:B9:1D:2A:AA ONBOOT=yes BRIDGE=br0

ifcfg-br0 :

DEVICE=br0 TYPE=Bridge BOOTPROTO=dhcp DELAY=0

Linux kernel 2.6/CentOS 4 & 5 ‘s clock source under a virtualized environment

Under Linux kernel 2.6, the default system timer is set to 1000Hz which will consumes lot of cpu cycle under a virtualized environment even it is in idle state. To run it under a virtualized environment, suitable kernel parameters should be passed to change the clock source and time divider :

for RHEL-4 32 bits: […]

CentOS 5.4 & VMware server 2 are incompabile

I have tried to install the latest CentOS 5.4 on a old Dell Precision 450 as a host for VMware server 2.0.x. However after the installation, I have found that the VMware server 2.0.x is very unstable, the already horrible web management interface crashed indefinitely, making the console interface nearly useless. I have another server […]