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


Struggle

Why you should read changelogs ..

Wednesday, May 6th, 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 [...]

CentOS 5.3 with Directory Server

Thursday, April 30th, 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

Break out of your jail

Wednesday, March 25th, 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.

A handy bastard

Tuesday, March 24th, 2009

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

route and virt-manager

Sunday, March 15th, 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

command line tools [cp]

Friday, June 20th, 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]*

Command line tools [ls]

Sunday, June 15th, 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 “.” [...]