Archive for 2010


First off……. thank god for this guy…….

That led me to use this line on the sql dumped file opened up in VI.


–on a 4.4 million line file — vi rules


ignore :)

VirtualBox – Running Arch Linux as a guest

Note to self… after upgrading the kernel on an Arch Linux guest running in virtualbox..

# pacman -S virtualbox-ose-additions

Rant: The wiki telephone game

Ever play the old “telephone” game…tell the person to your right a secret and they
pass it along to the next guy, and so on and so forth until at the end of the line… the secret
doesn’t resemble what it started out to be.

I wonder how close too Judd’s vision Arch is now, and how close to his original philosophies this wiki page is now.
I’m sure they are both pretty close, but sometimes … I wonder about the validity of wiki’s being editable by everyone.

has “evolved” and turned into this

Personally, I like the first one. KISS. Doesn’t “sugar coat” things, or add layers of confusion.

Apparently the multitude of edits to the first one were not enough either, so now we have

really???? C’mon. At what point does this just seem a bit silly.

mailit function

mailit function

Here is a generic mail function I use with cron jobs or scripts that need to email information.
TIP: the context-type can be switched to sent html instead of plain text as well ;)

mailit ()
cat <<EOF | /usr/sbin/sendmail -f noreply -t
subject: ${subject}
content-type: text/plain

To use, set the variables first, then call the function ;) IE:

subject="This is the email subject"
emailthis=`cat <<EOF
This is is the text
that is sent
in the body of the email.




Just installed Arch on a laptop I’d had for quite awhile… worked great. Not that I expected anything less :)

Dell D610, 2 Gigs Ram, 60 Gig Hard Drive

Shown running KDE/Konsole/Screen/Wicd

I love it……… just works……… Arch Rulz :) – The mobile login for email users.


Seems like alot of people don’t know about When I setup to give away 500 email accounts, I also setup for those same users. So if you have a mobile phone and want to access your email account, just browse over to The email accounts are gmail based and google offers a mobile interface to those emails, and takes you directly to that interface. Convenient isn’t it ? :)

Creating a stable Arch server.

This is how I prefer to deal with stabilty issues for my Arch Server, ymmv, and you may do it differently.
I prefer not to rewrite/redo the entire system just to create a stable server.

1. Mirror Current Repo to a Local Repo
2. Use local Repo on test servers
3. If no issues, push local Repo to Stable Repo
4. Upgrade servers from Stable Repo
5. Pull Current Repo to local repo and start over with testing again.

| Current Internet Repos |
| Local Repo-Testing | —– Test Servers
| New Repo – Stable | –>>->>- Stable Servers

I haven’t ignored any packages for my setups, I upgrade kernels and do all upgrades, I just test them locally on 3 test server machines before I do my remote production server upgrades.
Has worked pretty well for me. You could ignore kernel upgrades I suppose and make the thing even more painless to do, but for me the whole point of running Arch is to be as close to the newest releases on all software. I don’t have time to create my own packages, and I never saw the need to duplicate the stuff that has already been done. For me, creating my own “stable” Arch server, has been 99% testing before updating the production server. So basically I create my own stable server repo through testing.

My setup works for me, but I’m really only tracking/working with (sshd openntpd mysqld httpd postfix proftpd) for the most part. As long as those are stable and issues dealt with/figured out, then the production server is usually happy. downtime has been 100% hardware related, and not due to any problems with Arch itself. A very brief downtime while converting to php 5.3, but that was pretty minor.
I honestly haven’t looked at kernel26-lts ……. probably should I suppose, but the regular kernel has always worked pretty well.

Anyway, just thought I’d share how I do this for myself. running on kernel26

Yes boys and girls, the kernel update went smooth as glass.
You just gotta love Arch. The server was updated to the newest everything today, FEB 15, 2010.

edit: just edited post to reflect current kernel