Tuesday, March 23, 2010

Cross Compiling

Cross Compiling: Compiling for a Different Chip Architecture.

For anyone who has ever considered compiling applications for arm/mipsel/mips/etc but never knew where to start. Take a look this site contains some decent tutorials and also some prebuilt tools per OS.

http://kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html#all

TECH DEAL: 99$ HP Dual Xeon 3.06GHz 1U Server

HP SERVER DL140 DEAL:

http://www.pacificgeek.com/product.asp?ID=856143

Tuesday, March 16, 2010

The Snow Cone!

Since this blog is about Liquor and Linux >.> Ya, us nerds love our Liquor!

I thought it would be a great time to take a break from tech and do small Liquor segment! I dont know how many of my readers have ever been to Dave and Busters, but I just found the recipe for one of my favorite drinks there!

Taken from the booklet of D&B recipes:

Snow Cone
Specialty of Dave & Buster’s
Created by D & B Mixologists in Houston, TX
House specialty glass, chilled
Build in glass
Step 1
3/4 oz. DeKuyper Pucker Watermelon Schnapps
Splash pomegranate syrup
Pour the schnapps and pomegranate syrup
into the empty, chilled house specialty glass
Fill with crushed ice
Step 2
Pour the following ingredients into an empty blender canister:
3/4 oz. Malibu Rum
3/4 oz. Blue Curaçao
1/2 oz. Three Olives Cherry Vodka
Splash sweet ‘n’ sour
2 oz. Sprite
Flash blend and pour over the crushed ice filled, house specialty glass Garnish with a marachino cherry


Step 1. Pour the watermelon schnapps and pomegranate syrup into the empty, chilled house specialty glass, then fill with crushed ice.
Step 2. Flash blend the remaining ingredients in an empty blender canister. Pour over the crushed ice. Garnish with a marachino cherry.


-Mel

Monday, March 15, 2010

Domain Keys or Dkim

Funny enough a few years back I looked at DKIM and laughed about the implementation of domain keys. Not so much now since alot of major isp's require Dkim compliant, closed relayed mail servers. Essentially Dkim facilitates an exchange between the DNS record and the mail delivery agent on the system weather it is postfix or sendmail.

Dkim@sourceforge

Some useful links:
Dkim on Centos5
Dkim on Debian

Friday, March 12, 2010

Apt on Centos!

I have recently had a chat with a vendor whom as a newbie to linux, but had a fairly great grasp on Ubuntu. He was set to acquire a few centos boxes and needed assistance with keeping them up too date. I tried teaching him Yum but it really didnt work so well so :) I came up with a cool script:


#!/bin/bash

### Apt Control ###
#
# Written by Mel to reduce the suffering of a Centos5 install for a friend.
#

# installs coreutils
yum install coreutils -y;
# sets the redhat release to a variable - maybe later they will change the location of this file?
rh_file="/etc/redhat-release"
# acquiring the Architecture
plat_arch=`uname -i`
# determines OS
plat_os=`cat $rh_file | cut -d" " -f1`
if [ $plat_os == CentOS ] ;
then plat_type=el ;
else plat_type=fc ;
fi;
# Creates the release for the link - ie centos 5 = el5
plat_release=$plat_type`cat $rh_file | cut -d"." -f1 | cut -d' ' -f3`
# All variables get pulled into the link and then we request the file & install it
rpm -Uhv http://apt.sw.be/redhat/$plat_release/en/$plat_arch/rpmforge/RPMS/rpmforge-release-0.3.6-1.$plat_release.rf.$plat_arch.rpm
# we clean current repo's of potentially crappy data
yum clean all;
# we now do a fresh install of Apt-get
yum install apt -y;
# we echo commands into the os.list file to provide repos
echo 'repomd http://mirror.centos.org centos/$(VERSION)/os/$(ARCH)' > /etc/apt/sources.list.d/os.list &&
echo 'repomd http://mirror.centos.org centos/$(VERSION)/updates/$(ARCH)' >> /etc/apt/sources.list.d/os.list &&
echo 'repomd http://mirror.centos.org centos/$(VERSION)/extras/$(ARCH)' >> /etc/apt/sources.list.d/os.list &&
echo 'repomd http://mirror.centos.org centos/$(VERSION)/fasttrack/$(ARCH)' >> /etc/apt/sources.list.d/os.list ;
# we now update our package list
apt-get update;

Website: Old Packages?! Where can I get them!

Where I work we have a few ancient and out-of-date Ubuntu systems (We're talking 6.06 and such). The repo's have disappeared taking the packages with them and we needed a good/reliable source for old packages.

Site: http://old-releases.ubuntu.com/ubuntu/

Iso Inventory
package Inventory

Howto: Install and update

$OS = your desired vintage Ubuntu release (ie. warty, hardy )

The replacement method should be as simple as editing your /etc/apt/sources.list

deb http://old-releases.ubuntu.com/ubuntu/ $OS main multiverse restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ $OS main multiverse restricted universe
deb http://old-releases.ubuntu.com/ubuntu/ $OS-updates main multiverse restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ $OS-updates main multiverse restricted universe
deb http://old-releases.ubuntu.com/ubuntu/ $OS-proposed main multiverse restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ $OS-proposed main multiverse restricted universe
deb http://old-releases.ubuntu.com/ubuntu/ $OS-backports main multiverse restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ $OS-backports main multiverse restricted universe

then update apt-get and apt-get upgrade if needed. :)

Hope this helped anyone whom might have been curious if there is life after a distro has seen EOL Cycle come and go.

Thursday, March 11, 2010

Website: A Great site for RPM's!

If you use Centos/Fedora/RHEL or any Redhat knock off you should check this site out.

http://rpm.pbone.net

I know with vps/vds vendors i've actually had to rebuild yum from scratch. This site is a god send and if you have an address for an RPM repo you can look through a real time saver!

-Mel

Opening Blog up to public!

Just putting the final touches on this blog, and getting it linked with a facebook/twitter account :) Im so excited ! I cant wait to start this thing and get it rolling!li

Featured Website : http://www.lowendbox.com/

Where I work we have outsourced a lot of our headless unix/linux infrastructure, and often have to switch from VPS vendor to VPS vendor to maintain a low price and cost effective solution. I have found an awesome , I mean outrageously awesome site with great deals www.lowendbox.com. I give this site a great review because they tend to shoot for the lowest price but highest performance!

Give it a gander, I even run some of my own personal sites on them!

-Mel

Linux: Fedora/Centos - Highlight "EPEL"

I cant say how much of a fan I am of EPEL made for Fedora but can be used for Centos - It essentially makes Centos usable when building more cutting edge systems in house but still needing Centos's dependability. I know mixing and matching is evil, but this and Dag make great extra's repo's for Centos

EPEL - Repo information
DAG repos

Give them a shot! I'd like to mention dag is great for older linux Versions too :) take a look!

-Mel

Wednesday, March 10, 2010

Submissions to WineHQ

A few games i've submitted Tests on WineHQ:

Final Fantasy XI:Linux
Dungeons & Dragons Online:Linux

Cleaning the blog up a little

As many or none of you might know I tend to get a bit ranty here and there, I have taken the steps to slowly remove possible "offensive" content or anything that would not bode well for my image. That being said this is a blog, and I do freely blast my opinions between code blocks and such so :) Hang on and enjoy the ride, and while you do that you might want to consider looking over some of my last posts.

This blog officially catalog's my attempts at successful liquor infusions and provide cool nifty tools to needy sysadmins!

-Mel


Revamp of my site.

So I spent a little time yesterday working on this site, and reviewing stuff :) Signed up for Google Adsense/Analytics.

As with always I have found something new and interesting in linux :) Final Fantasy XI for Linux :) I have posted the whole howto here: FFXI@WineHQ

So take a look :) Im also looking for suggestions for articles so please feel free to email me @ melinko2003@gmail.com with them. :)