Preparação para a prova RHCE

A partir do dia 30/03, iniciei a preparação para a prova RHCE. Sempre tive vontade de fazer essa prova, mas até então os custos eram impeditivos: viagem para São Paulo (R$ 700,00) + Estadia (R$ 300,00) + Prova (R$ 1290,00).

rhce logo

Felizmente consegui convencer o corpo gerencial a aprovar essa certificação (e diga-se de passagem que estão preparando investindo bem em treinamentos). Por isso, não gostaria de reprovar nessa prova, assim como foi na LPI 303 (tirei 460 de 500, mínimo).

Os materiais que irei usar como base são: RH300 RHCE “Rapid Track” Course e RHCE Red Hat Certified Engineer Linux Study Guide Exam RH302 5th Edition.

Tentei fazer uma equivalência entre os dois conteúdos, montando um roteiro a ser seguido. O cronograma será o abaixo:

Guia de Estudos RHCE
Data RH300 Study Guide
30/03/09 1. Essentials 1. RHCE Prerequisites
31/03/09 2. Kernel Services 8. Kernel Services and Configuration
01/04/09 3. Filesystem Management 4. Linux Filesystem Administration
02/04/09 4. User Administration 5. User Administration
03/04/09 5. Local Security (?) 14. X Window System
04/04/09 6. Advanced Partitioning (?)
05/04/09 7. Installation 2. Hardware and Installation
06/04/09 8. System Initialization 3. The Boot Process
07/04/09 9. RPM, YUM, RHN 5. Package Management
08/04/09 10. System Administration 7. System Administration Tools
09/04/09 11. Network Configuration 13. Other Networking Services
10/04/09 12. Network Security 15. Securing Services
11/04/09 13. Network File Sharing 10. Network File Sharing Services
12/04/09 14. Network Infrastructure 11. Domain Name Service
13/04/09 15. HTTP Service 9. Apache and Squid
14/04/09 16. Mail Service 12. Electronic Mail
15/04/09 17. Troubleshooting 16. Troubleshooting
16/04/09 Revisão e viagem
17/04/09 Prova

Como mostra no planejamento, tentei fechar o assunto do Study Guide com o do RH300. Aparentemente, o Study Guide está mais organizado que o RH300, pois parte desde o momento da instalação até investigação de problemas. Se no final ficar ruim, provavelmente eu altero.

VMware Server no Fedora Core 9

Agora foi a vez de instalar o VMware Server no Fedora Core 9. Após rodar o vmware-config.pl, o seguinte erro foi exibido no console:

Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.26.3-29.fc9.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.26.3-29.fc9.i686'
CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
/tmp/vmware-config0/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage' specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage' specified in initializer /tmp/vmware-config0/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26.3-29.fc9.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon moduleFor more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.

Após baixar o vmware-any-any-update117-itpsycho.tar.bz2 de http://www.it-psycho.de/downloads/vmware-any-any-update117-itpsycho.tar.bz2 e descompactá-lo, basta executar o runme.pl:

[[email protected] vmware-any-any-update117-itpsycho]# ./runme.pl
 Updating /usr/bin/vmware-config.pl ... now patched
 The file /usr/lib/vmware/modules/source/vmmon.tar that this script was about to
 install already exists. Overwrite? [yes]
The file /usr/lib/vmware/modules/source/vmnet.tar that this script was about to
 install already exists. Overwrite? [yes]
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Depois disso, o vmware-config.pl será executado novamente, e a configuração deve terminar normalmente.

Fonte: Fedora List

introdução ao git

O git, sistema de controle de versões de código aberto, é utilizado por vários projetos de grande porte, tais como: Linux Kernel, Ruby on Rails, WINE e X.org.

git logo

Ao invés de dificultar o aprendizado através de detalhes que as vezes não são necessários num primeiro contato com a ferramenta, o git magic apresenta conceitos de maneira simples, passo-a-passo, facilitando o entendimento sobre controle de versões e também do uso da ferramenta.

Apesar de ser em inglês, é um documento recomendado a todos que precisem de alguma maneira gerenciar ou trabalhar com o git.

Fonte: LWN.net

lançado kernel 2.6.26.1

O kernel 2.6.26.1 foi lançado, e quem usa a última versão estável (mas talvez não tão estável assim), deve atualizar. Segue um trecho da mensagem na íntegra:

tux

We (the -stable team) are announcing the release of the 2.6.26.1
kernel.

It contains lots of bugfixes, all over the map. Any users of the 2.6.26
kernel series should upgrade to this version. For details on the fixes,
see the changelog entries and the diffstat below.

I’ll also be replying to this message with a copy of the patch between
2.6.26 and 2.6.26.1

The updated 2.6.26.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=summary

thanks,

greg k-h

vmware server no ubuntu 8.04

Hoje precisei instalar o VMWare Server na minha estação de trabalho, e, pra quem já instalou o VMware em kernels recentes, conhece o famoso vmware-any-any. O erro que retornava ao tentar rodar o config:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-12-generic'
CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M]  /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** module_/tmp/vmware-config2/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

Entretanto, a versão do vmware-any-any disponível no site http://knihovny.cvut.cz/ftp/pub/vmware/ , é a 115 e ela não funcionou.

Pesquisando um pouco, achei referência a http://groups.google.com/group/vmkernelnewbies/files?hl=en onde existe a versão 116, que funcionou perfeitamente. Finalizando:

vmware-any-any-update116$ sudo ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
[...]

Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/vmware-config5/vmmon-only/vmmon.mod.o
LD [M]  /tmp/vmware-config5/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
The module loads perfectly in the running kernel.