Archive for the ‘Arch Linux’ Category.

ArchLinux on VMware WorkStation on WinXP (Host)

I love my job, I really do.  However I hate that I have to run windows to administer unix/linux machines (just seem counter intuitive ya know ?).  Ah but in the corporate world, you have to bend to the will of the masters.  They are ok with running Linux in a vmware setting though (I know, I know, I know … ).  Enter vmware workstation.  I shelled out the money myself for vmware workstation so that I could run Linux on the desktop.

So far, it’s running very well…and I don’t have a powerhouse machine by todays standards by any means… only 2 gigs of ram in this machine.  For anyone thinking about running Arch on VmWare Workstation, I say go for it, it works great. The Arch Wiki has all the information you really need, albeit in perhaps a few places.   I tried various wm and desktop setups, settled with KDE.  I know, alot of the Arch peeps think “KDE” and snicker… but it works, and I have all the tools I need to get my work done :)  I’ve used Arch at home for about 5 years now, on servers and in a business enviroment.  I love using Arch with vmware center, in a server capacity. vmware center makes it simple to clone servers and with a few scripts, it’s great. Taking snapshots before “updating” makes updates painless and worry free, vmware workstation offers that same feature.  Cost for Vmware Workstation, $139.

Obligatory link: http://store.vmware.com/store/vmware/en_US/DisplayProductDetailsPage/ThemeID.2485600/productID.221027300/?SRC=EM_11Q3_CHRISTMASINJULY_WK_BUY&elq=e39f3a6b9a594c4ab6dc019650eda9fa   CODE: PREHOLSALE  Good through midnight Aug 4th.

My setup has dual monitors, and I have Archlinux spanning both monitors full screened, now, I can just pretend that M$ OS doesn’t really run on my machine… hey, I’m not proud.  :D

TIP: Ever get those strange characters in your console ?

Ever get those strange looking little buggers in your console after installing Arch and firing up the terminal ?
Something like this –
[crouse@archie ~]$ pstree
init─┬─6*[agetty]
├─crond
├─httpd───11*[httpd]
├─mysqld_safe───mysqld───9*[{mysqld}]
├─sshd─┬─sshd───sshd───bash───su───bash
│ └─sshd───sshd───bash───pstree
├─syslog-ng───syslog-ng
├─udevd───udevd
└─vmtoolsd

Simply add the following to your .bashrc and close your terminal window and open it up again, or source the .bashrc file again.
export LC_ALL=C

[crouse@archie ~]$ pstree
init-+-6*[agetty]
|-crond
|-httpd---11*[httpd]
|-mysqld_safe---mysqld---9*[{mysqld}]
|-sshd-+-sshd---sshd---bash---su---bash
| `-sshd---sshd---bash---pstree
|-syslog-ng---syslog-ng
|-udevd---udevd
`-vmtoolsd
[crouse@archie ~]$

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 ? :)