About Me

I am a Dutch Linux SysAdmin, recently changed jobs from being a full time freelance press photographer. Here i will describe my struggle for RHCE certification

Links

More RedHat

Search


Why you should read changelogs ..

By Mark | May 6, 2009

We were getting a new colleague at work. Always nice. Due to the fact we work on fedora machines and PC Maintenance only works with “the Other OS”, we maintain the babies ourselves. So by by, to fedora 8 and a fresh Fc 10 installation. Off course everything went very smoothly (waving to fedora maintainers and developers, a job well done!). But when I had to configure the xinerama screens I failed hopelessly. Always good to sit a moment and think off totally other things, like did Gaugain really cut of Vincent’s ear or is it just German propaganda.

And there it was “gnome-display-properties”! Without any xorg.conf hacking just clickertheclickclick dual screen setup.

<insert moment of silence>

I’m impressed works even with Ati drivers!

Topics: Uncategorized, config | 4 Comments »

CentOS 5.3 with Directory Server

By Mark | April 30, 2009

I used a fresh install of CebtOS 5.3

I used this Howto

The steps:

set FQDN
cd /etc/yum.repos.d/
wget -q http://dev.centos.org/centos/5/CentOS-Testing.repo
sed '/gpgkey/a exclude=java-1.7.0-icedtea \
priority=10' /etc/yum.repos.d/CentOS-Testing.repo
sed '/gpgkey/a exclude=jpackage-utils' /etc/yum.repos.d/CentOS-Base.repo
yum --enablerepo=c5-testing install centos-ds
yum install xorg-x11-xauth bitstream-vera-fonts dejavu-lgc-fonts urw-fonts
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
(set priority)
yum install java-1.6.0-openjdk
/usr/sbin/alternatives --config java
setup-ds-admin.pl
chkconfig dirsrv on
chkconfig dirsrv-admin on
centos-idm-console -a http://localhost:9830

Topics: Howto | 7 Comments »

Break out of your jail

By Mark | March 25, 2009

We all know the cumbersome situation behind a company firewall. Break out with “ssh -tX username@someaccessible_host -X username@notaccessible_host”. You can add another host inbetween as you like.

Topics: Howto, Struggle | No Comments »

A handy bastard

By Mark | March 24, 2009

^foo^bar runs the latest command and replaces foo with bar. That’s a smarty pants!

Topics: Struggle | No Comments »

route and virt-manager

By Mark | March 15, 2009

I basicly work all my testlabs with virt-manager (kvm). To make it possible to ssh direct into my VM i have to add a route to the VM-net. Goes like this:

route add -host 192.168.122.1 dev eth0

route add -net 192.168.122.0 netmask 255.255.255.0 gw 192.168.122.1

Topics: Perequisite Skills | No Comments »

command line tools [cp]

By Mark | June 20, 2008

Problem with cp was how to copy all hidden files and hidden directories from a directory without copying the toplevel directory ” ..” . This is achieved by forcing a alphanumeric sign behind the first dot. Like this : cp -a ./.[A-Z,0-9]*

Topics: Perequisite Skills | 1 Comment »

Command line tools [ls]

By Mark | June 15, 2008

Here I will describe usage of the basic Linux command line tools.

LS ls is off course a very basic tool. It will show you the listing in a directory. “ls -C” will show you the column version output. “ls -A” will show you all but the toplevel dir and cwd dir presented by the “.” and “..”. That keeps scripts from complaining they can’t work on cwd. For instance if you do a:”
for file in $(ls -a); do rm -rf $file ; done
You get a:
rm: cannot remove directory `.'
rm: cannot remove directory `..'.

When you exclude “.” and “..” with an “-A” all is well.

Topics: Perequisite Skills | No Comments »

Been there done that, failed it

By Mark | June 15, 2008

Last Friday (the 13 th) I failed my first try off the RHCE exam. I had no chance at all. The pressure was to much for me, and i had to use to much RTFM. There is no time for that in the exam.

That is why I created this page. To describe my own learning history, maybe its usefull for someone else.

Topics: RHCE | 1 Comment »