Completed the Server Move

Finally completed the server move.

All blogs have been moved that were in use.
Now everything is running on wordpress 3.x multisite enabled.

VI RULES

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

http://www.ozerov.de/bigdump.php

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

:%s/INSERT INTO/INSERT IGNORE INTO/g

–on a 4.4 million line file — vi rules

test

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.

http://wiki.archlinux.org/index.php?title=The_Arch_Way&oldid=31

has “evolved” and turned into this

http://wiki.archlinux.org/index.php/The_Arch_Way

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

http://wiki.archlinux.org/index.php/The_Arch_Way_v2.0

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
to:${sendto}
from:${from}
reply-to:${replyto}
subject: ${subject}
content-type: text/plain
${emailthis}
EOF
}

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


sento="someone@someemail.com"
from="sentfrom@someemail.com"
replyto="sentfrom@someemail.com"
subject="This is the email subject"
emailthis=`cat <<EOF
This is is the text
that is sent
in the body of the email.

Thanks,
Crouse
EOF`

mailit

Screenshot

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………..it just works……… Arch Rulz :)

Archlinux.mobi – The mobile login for archlinux.us email users.

archlinuxmobi

Seems like alot of people don’t know about archlinux.mobi. When I setup archlinux.us to give away 500 email accounts, I also setup archlinux.mobi for those same users. So if you have a mobile phone and want to access your @archlinux.us email account, just browse over to http://archlinux.mobi The archlinux.us email accounts are gmail based and google offers a mobile interface to those emails, and archlinux.mobi 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. Archlinux.me 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.

Archlinux.me running on kernel26 2.6.32.8-1

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