Script to get a localhost’s IP address in Linux
I’ll keep this snippet really short: [text] $ ifconfig eth0 | grep "inet addr:" | cut -d: -f2 | awk ‘{ print $1 }’ [/text] Which results in: [text] 10.X.X.X [/text]
I’ll keep this snippet really short: [text] $ ifconfig eth0 | grep "inet addr:" | cut -d: -f2 | awk ‘{ print $1 }’ [/text] Which results in: [text] 10.X.X.X [/text]
I’ve been trying to get DB2 Express-C working on Ubuntu but I get an error when trying to start DB2: [text] ashlux@SERVER:~/java/db2exc$ db2 (c) Copyright IBM Corporation 1993,2007 Command Line Processor for DB2 Client 9.7.2 db2 => db2start SQL1220N The database manager shared memory set cannot be allocated. [/text] After some searching I discovered that… Read More »
Earlier this week I put together a new computer for myself with parts bought from newegg. Building a computer really isn’t that difficult. As Jeff Atwood explains, “If you can put together a LEGO kit, you can put together a PC from parts.” Choosing the parts that will fit into your budget can be time… Read More »
While trying to get IEs4Linux installed (Why not call it ie4linux instead?), I ran into some issues with the latest Ubuntu 9.10 Karmic Koala. The program ‘ies4linux-gtk.py’ received an X Window System error. This probably reflects a bug in the program. The error was ‘RenderBadPicture (invalid Picture parameter)’. (Details: serial 5546 error_code 158 request_code 148… Read More »
IntelliJ 9 (codenamed Maia) looks promising with lots and lots of great features. There seems to be an endless list of newly supported technologies, tweaks, and usability features. Maia has been superb in Mac OSX Snow Leopard. Unfortunately, my Ubuntu 9.04 desktop is an entirely different story. A big feature of Maia that I’m looking… Read More »
We all know that backing up critical data is very important. Unfortunately, it’s not always very clear how to go about doing that. Luckily, making back ups of MySQL databases is easy by using mysqldump. Backing up all databases Backing up all databases is as easy as as this: mysqldump -u username -p password –all-databases… Read More »
Let this be a warning to all: SSH knows what you’re doing and SSH is not pleased. Innuendos aside, I got this nice little error trying to SSH into my brand new server at home. And by “brand new”, I mean it’s my wife’s old desktop that is now running Ubuntu Server 9.04. [text] $… Read More »