Syslog server on Lenny

So, I installed VMWare Server on my Windows Server 2003 box the other day. Downloaded a Debian Lenny image and got it running. Never dealt with VMWare Server so it's pretty neat to configure virtual machines from a convenient web interface. The web interface was having issues at first, of which I tracked down to IIS. The web UI runs on port 8333 and IIS runs on port 80 of course. Disabled IIS and the web UI was up and running.


After that it was all down hill. Set the network adapter on the VM to bridged. Got the virtual machine running and started installing packages and such. At first, it couldn't resolve names so I had to correct /etc/resolv.conf and point it to my DNS servers. 

Anyway, I decided I'd set up a syslog server. Lenny now uses rsyslog but I went back with sysklog. Edit your /etc/default/syslogd, and change SYSLOGD="" to SYSLOGD="-r" for remote logging. Still on the syslog server, I edited /etc/syslog.conf and added *.* /logs/file.log to make sure everything was working.

On the clients, or nodes, I edited /etc/syslog.conf and added *.* @ (or whatever your IP is). After reboots of sysklogd on the servers and the nodes, it's finally working. Going to get lighttpd working with the logs, perhaps set up a little PHP script to read the logs.

I do really like this VMWare Server, it lets me utilize this server more. I might get it running on my other servers on that note. Plus, it's free. Can't argue with that ;)

As usual, comments are welcome.


Monitor your Linux boxen with iStat for the iPhone

So I came upon an app the other day while browsing on my iPhone. iStat. It monitors your uptime, network I/O, RAM usage, etc.. There was another app that just needed SSH access but that was another $2. Anyways, iStat has a Mac OS X, Linux, FreeBSD and Solaris port of the agent. Just simply install the agent on your boxen and done!


It's pretty simple to get it working, I'll go over the steps that I used on Lenny.

Grab the latest release here (at this time, 0.5.4), and extract it somewhere. For me to get it working in Debian, I had to install the libxml2-dev package first. Go ahead and type 




make && make install

I found it's easier to get a script to start it up which you can later get to run on boot. Download this file, save it something as '' and chmod it to 0755 (or 0777 if that doesn't work). I received an error about a user on using the script, but the agent still runs. Go ahead and run './ start' .

Start up iStat on your iPod Touch/iPhone and add the server running the agent. That's it! If you're monitoring something Mac, you're going to get more detailed information than other OS's.  This app is well worth the $0.99 I spent on it.


Feel free to comment if you need help and/or have suggestions.



Photo by vfowler

I've come to realize that no one reads a blog where people (such as me) babbles on about their life. Know why? No one cares. People dig tutorials on the internet, if they wanted to read stories they'd pick up a book.


I'm in the process of upgrading my Hackintosh from 10.5.2 to 10.6. Shouldn't be too much of a pain in the ass, but oh well.


I've gotten a serial terminal working on my Thinkpad. I can know get a [virtual] terminal, via serial to one of my servers which is great. I could SSH into them, but plugging shit in is much more fun. I'd suggest those who want a quick terminal to check this out.

Here's a funny story today. So, I was in computer class (whoa!) and one of the kids forgot/didn't know the password to a recently installed Windows 7 box. First thing that came to my mind is Ophcrack. I downloaded the Vista version (which I don't even know if it'll work on Win7) of it (LiveCD) which is 400~MB's (takes forever at school). So, it finished downloading and I followed this tutorial on getting to boot on a thumbdrive. No big deal.

Teacher comes around, rages to some extent, and tells us to get rid of it. Pourquoi, you ask? Well since our school uses XP, it can crack XP passwords using rainbow tables (even though we had the Vista version of Ophcrack). I guess the teacher thought it was probable cause that we were going to 'do something malicious'.

Anyway, thats the end of my rant.

It's nearing 00:00 here, time to play with electronics.


Последний Раз

Photo by psilver
I'll skip the whole 'I haven't posted for two weeks' intro. 

It's only October and it already snowed, a couple of inches and it's still here. Mornings are sure colder.

I finally put together my new fileserver, and up  from my one harddrive server before. I was going to do a RAID1 configuration, but instead went back to a normal partitioning setup (XFS on the secondary HDD for the files). Recieved another computer the other day, so I'm at a total of 7 servers.

I was planning on installing Darwin (hehe) on one of the faster ones, but I can't get this damn DVD is fried (for whatever reason). I'm hoping that it has CPU instructions for SSE2/3.

ICT (tech) class has been upped a bit for me, I ended up telling the teacher that I'm a Linux zealot. I guess he had never got "a peer to peer network" working (as in SMB shares), so he handed me an Ubuntu 7.10 CD.  Everything was working fine until something messed up with the first computer. It was complaining about libc6 (which was installed), and it couldn't install anything via dpkg or apt-get. I'll have to find my 9.04 compact diiiiiisc.

TCP is back up on the Torrentino tracker, since it was UDP only for a while. I checked about two weeks ago, and there was approximately 2000 concurrent connections, w00t! I ended up using opentracker, which is quite light on resources. The tracker runs at an amazing 450Mhz with 128MB's of RAM and runs incredibly well.


With the faster of the three servers used for other purposes, I'm stuck with two spare servers. What to do? If I recieved a lot of hits to Torrentino, I could set up a web server load-balancing scheme but it's not needed at the moment. The old fileserver is now a database server :)

Come to think of it, I have an old Pentium I that could be used as a syslog/notifications server. Management is key.



I have the urge to play Fallout 3.

Comments are appreciated ;)



I've been profoundly confused on what to do with two new servers. At the moment, I have a total of three servers; a BitTorrent tracker, web server and NAS (NFS server). Now, what I was thinking was setting up a load balancing scheme using VS via NAT. Essentially, build one of the servers as a load balancer and turn the other one into a http node. The only problem with that is redundancy. Say if the load balancer fails for whatever reason, I'm screwed.


Same as my NAS, no RAID so if the HDD fails, I'm screwed again. Still, it would be a cool journey on getting a load balancing scheme set up...and working. That, and I just want to use all the ports on my 24 port switch. Then, depending on the load on the NFS server, I could run MySQL/Postgres on it for use with the web servers.


Gah I was trying to set up Liferay yesterday. Ugh, what a clusterfuck. Java make me want to shoot my self in the foot numerous times over. Though it might be worth it to run a wiki on the web servers, but the only problem with that (or indeed the whole server situation) is who's going to use it? Sure I'll be using it, but I'd only need one server in that case, not two. Oh well, I'll think of something.


I'm off to go watch a movie or something, I've been to unmotivated to code lately. I made a script that lets users upload a picture then send that URL to Twitter. Ugh I hate Twitter.

Google Chrome dev on Linux

Google officially released Chrome for Mac and Linux.

Grab the x86 .deb package here, and run dpkg -i google-chrome-unstable_current_i386.deb 

Got around to installing Chrome on my Thinkpad running Xubuntu. I can say for sure that it uses less resources compared to Firefox. For the most part, it works. Google stresses that it's not suitable for general use, there are many privacy features that just aren't there yet. I haven't had it crash...yet.


In other news, I'm still sketching out the plans for Sysode. One thing that might be a pain, is automation. I dreamt of it being similar to Dropbox, but I make web shit not software. I'm also looking for a graphic designer to make a logo for it, so if you have any offers leave a comment ;)


Dual booting Debian

Getting Debian set up to dual boot with XP is extemely easy. I installed it to a second harddrive, installed GRUB to the MBR of the first drive and auto detected XP! The only thing now that's pissing me off is trying to get the NVIDIA drivers to work, so I can have triple monitors under Debian. Gah! I've tried everythimg but it's not working.

I built a Twitter PHP bot (sorta) the other day. It updates itself if one of the servers are down. I'll release the source or something.

Anyway, I'm off to go watch TV or something....mmmm TV...........

Log server/firewall

Flippy, my webserver which died back in December/November-ish has been sitting my desk, lifeless. So, I decided to turn it into a log server and firewall (running Debian, of course). I'll post some pics and specs later on. I was looking into getting a switch (over a hub, which I have now). I think it would greatly improve my network performance (A D-Link DES-1024D 24 port 10/100). Anyway, I haven't made any money with AdSense or PayPal donations, so that sorta sucks....


This is probably going to be a boring and pointless post. I got a rack for all my computers (except my main quad-monitor one). So, I got my server plus 2 other computers & 3 monitors...add the router and switch on the rack (I also have another computer but with no case). Surprisingly, my server is running quite cool @ 26C (CPU) and 27C (Mobo). I installed Fedora 9 'The Spin' version last night on an old Dell. Quite slow (only 128MB RAM in the system) so now I'm installing Easys, a Slackware based distro (Running KDE (which isn't old-computer friendly)). Furthermore, I installed Xubuntu 8.04 (8.10 on the 30th!) on an old Thinkpad (which I love). I got it running pretty good, considering I was using Fluxbuntu 7.10 before. I also got another computer up and running, because of the stupid PSU. I guess not enough power was going to the core, so thats wasn't getting anything when booting up. I'm not too sure what I want to install on that. I was sorta leaning toward a mail server or even a FTP server of somesort. I'm not too sure what I want to do....but my router(s) only accept one DMZ'd connection...which sucks. I'm off to go eat or something.......