Dando continuidade ao último post, agora é a vez da configuração de timezone em sistemas baseados em Red Hat Linux. Em sistemas Red Hat / CentOS / Fedora temos o utilitário system-config-date que pode ser utilizado para automatizar todo o processo através de uma interface bem simples e amigável.
Para instalar e configurar o timezone através do utilitário, simplesmente prossiga com:
# yum install system-config-date
# system-config-date
Após finalizar as configurações de timezone elas entrarão em vigor imediatamente.
Além da configuração realizada através do utilitário também é possível utilizar o método genérico de configuração de timezone através do /etc/localtme, que assim que possível irei disponibilizar no próximo e último post da série de timezone.
Recently I was using a Red Hat guest on my notebook’s VirtualBox, but with the VM started I noticed that one of my 2 core processor was lost, getting 60% to 100% of CPU load with the guest system totally idle. While testing the same VirtualBox with a Debian and an ArchLinux guest (simultaneously), the processor usage didn’t beat 10% of processor use with the guests idle.
Looking for some information on VirtualBox forums and on CentOS bugtracker, I found some information that shows up how to solve this problem in a very simple way, just changing the default divider kernel parameter to 10 (adjusting the system clock rate to 100Hz) directly at boot time.
Note: Since Red Hat Enterprise Linux 5.1 / CentOS 5.1 the default system clock rate that is set to 1000Hz and can be changed at boot time, with no need to recompile you kernel, remember that Xen guests don’t need the system clock rate to be modified because they already have a 250Hz kernel.
For those that are not familiar changing kernel parameters, just edit your grub menu.lst file (usually /boot/grub/menu.lst), add divider=10 in the end of the kernel line and reboot your system.
Ps. Sorry for the long time without new posts… Now I’m back!
After some time fixing and updating the blog, let’s start posting again! ^^
Recently I needed to install VmWare Server on a dual AMD Opteron 64bits server running Centos 5 and after the install proccess (easily through RPM…), when running vmware-config.pl to build and install kernel modules some dependencies were not satisfied by default. After some research I found the two packages nedded to finish the setup proccess, they were libXtst-devel and libXrender-devel, both XOrg development packages.
Follows a simple install guide for both x86 and x86_64:
First we need to install full gcc compiler and development packages, xinetd, kernel headers and kernel devel.
Download VmWare server RPM and install package with a simple rpm -ivh…
Install the required libraries with:
# yum install libXtst-devel libXrender-devel
Now, run the vmware-config.pl script to finish the setup process, most of default answers are correct, but pay attention on the one that asks for the network interface to be used with bridged networking, this interface normally has the valid address on your machine… When asked, inform the vmware server serial you received when downloading the package and the installation is finished!
To manage your server remotelly use the vmware server console pointing to the right connection port (running inside xinetd), but remember, you can also use the great web interface to manage the virtual servers from other places. To install the web interface simply use the install script on the downloaded interface tarball.