Java, CVS, and documentation

Last few days were pretty active. First of all, I was playing with apache, JBoss and resin setup. I managed to get them to work together, although failed to make resin handle web apps from the /.

I also spent a fair amount of time on CVS, mutt+gnupg, CA with openssl and some other stuff. CVS makes me happy. I’ve read about some BSD application called arch, which is supposed to be even better then CVS, though the port for Linux is not complete yet, so be it :) Mutt was pretty easy to set up with gnupg. Actually, it happened so, that I had pgp support compiled in for ages, and gpg.rc configuration file was kindly provided with the distribution of mutt package.

Now I am about to write several technical documents for our company internal use, so I was looking for the right way to do it. Office suits were not even thought of, after I remembered my Final Year Project preparation in MS Office. Yuck, that was a pain in the … Hmm.. Mkay. So, I went off to the direction of XML and SGML, but that land is a bit confusing. DocBook followed with recomendations from Linux Documentaion Project (aka LDP). All roads lead to Rome, though and I ended up with TeX idea in my head. I will live it through over the weekend and I will decide finally what to use.

Slay – user process killer and CVS

Came over a nice program called Slay which does the following:

Slay sends given signal (KILL by default) to all processes belonging to user(s) given on the command line.

I was also playing a bit with CVS GUIs today. There are some programs out there. WinCVS.org was particularly helpful. For CVS itself, I found www.cvshome.org to be the most helpful resource.

OpenOffice.org

OpenOffice.orgPlayed with OpenOffice.org most of the day. Funny, after a lot of trying and braking, I have read about /net (or -n) option, which is used for OpenOffice.org installations for multiuser environments. Otherwise, .sversion file is not created in the proper place and nasty things happen :)
OpenOffice.org has nice configuration scheme through xml files. Easy to use for scripting and automative user setups. Bravo.

Back from Malta

Happy New Year and Merry Christmas to all of you reading this! I just came back from my vacations which I’ve spent on Malta (small island not far from Italy). Nice place. Lots of castles, fortified walls, musiums with knights and all that staff. Plenty of places to see. Some pictures from the trip are here.
Unbeleivable, but I haven’t touch a computer for 10 days. Have seen plenty of Internet caffees though. Basically, every place where you can eat or drink has a sticker with “Internet inside” and at least 1 computer. Expensive though.
Came back to a huge mailbox and a long todo list, so had to sort out some priorities. Found out a new policy on backup tapes and offsite storage: now everything is in a really secure place with water-, air-proof bags used for transportation. Excellent!

Christmas updates

Long time no updates again. I have put the reminder in my ical, so now updates should really be more often.
Meanwhile, I have been busy with few things and here we go:

  • OpenOffice.org office suite appeared to be VERY much like StarOffice – same code base, help and printing available, etc. Good alternative if you want to stay free and open.
  • Running different online game servers may be fun. In particular Quake III Arena servers with Rocket Arena and/or OSP mods. For those, seeking log analyzer’s for games.log – the only one I managed to force to work was Q3LA (Quake 3 Log Analyzer). My samples are http://games.thunderworx.net/q3osp/ (OSP) and http://games.thunderworx.net/q3ra/ (RA).
  • I spent some time with perl/tk programming. Tk appeared not bad at all for something more advanced than xmessage type of things. Clear, object-oriented, readable code, especially when done for Tk perl module (check out CPAN for more information).
  • Coming to surprises: it was a big one for me to find out that xsnow actually has a manual page and a handful of options. Thanks to certain someone I can now nostalgie about real winter with winter background and xsnow with -notrees and -nosanta options on.
  • It looks like finally one of my old dreams will come true and I will be working during the night time, being additionally a techical support guy during that time. Nice anyway.

That looks like all. Last thing I wanted to mention is that I will be out of the island for the first time in several years – Christmas holidays is a good time to visit my mom and bro in Malta (another small island in the same sea…hehe). I will be out from 24th of December until 3rd of January, so I guess there will be no updates during that period.

Linux, Quake III, and Nvidia

Long time no updates. That is because I wa busy with Quake III ;). Actually, making it run was much easier then I thought it will be. What I did was downloading of NVidia drivers from NVidia site and installing them. For those, running Red Hat-based distributions, drivers are available in rpm format. Everything works fine after changing driver from “nv” to “nvidia” in /etc/X11/XF86Config-4 (video card: Riva TNT 64 for the record).

MP3 broadcasts

I have spent few hours today trying to implement another crazy idea of mine :) This time I want to have an mp3 broadcast continiously coming out of my home server. I was not sure where to start, so I have played with Icecast, Shoutcast, and Apache::MP3. The latest didn’t work yet because I forgot to add mod_perl to my web server, which I planning to do today/tomorrow. Apache::MP3 looks very nice on their example site, although I am not sure it is quiet what I need. If you are interested, you can find Apache::MP3 at CPAN. And Icecast I beleive is somewhere near NullSoft and WinAmp.
Some documentation on setting up things can be found at LDP and with the help of Google.

Microsoft LDAP

LDAP saga continues… Finally I have found something that Microsoft did actually good. I have found out that ldifde.exe -f myfile.ldf will export the whole Active Directory structure into myfile.ldf file in LDIF file format (human readable). That is extremely usefull when migrating I have also found Exchange-HOWTO an interesting read.

First LDAP encounter

I have started to learn LDAP today. Here is how I did it:

  • Install new Red Hat Linux 7.2 server.
  • During install
    • Specify to authenticate through LDAP which is located at 127.0.0.1
    • I forgot to permit SSH connection during firewall configuration
    • In boot manager configuration, I have specified to use GRUB with which I don’t have any experience yet.

When I did all this, I have found myself in situation where machine refused any connections via secure shell, refused any logins locally, Result:

  1. Unusable machine
  2. Frozen butt (a/c in the server room)
  3. Complete reinstall
  4. Linux LDAP Tutorial