About a week ago a friend of mine that was hosting his company web site in my server asked me if I could migrate it to a server of their own. He presented me with a Cobalt RaQ 4 for me to do the job.
This is a very old machine. And Sun as long droped any form of support for the software there. After some hard starts i found Jeff Walter’s nice Gentoo on Raq pages that gave me all the info needed.
The machine is very nice, the web led blinks when someone accesses apache and I have a way to write to the lcd, I just wanted a way to send the services that are starting to the lcd…. But that is easy now
Tópicos (RSS)
Well, some ideas for that LCD:
Write the last hostname/ip that visited the site;
Show the last log line;
Show random fortunes;
Show some ascii art, kitt-like;
Port mplayer -vo aa for the lcd;
Make the world’s smallest snake game;
Make a web page that lets people around the world send a message, and get a webcam and display it 24/7 (well, that might work for a private server – probably not the best idea for a corporate one)…
TMPFILE=\"/tmp/lcd-$RANDOM\"while true
do
fortune -n 32 -s -a > $TMPFILE
lcd-write \"`cut -c 1-16 $TMPFILE`\" \"`cut -c 17-32 $TMPFILE`\"
sleep 10
done
The security risk and the unclean file\’s that are not removed is left as an exercise to the reader.