Logo

Lyle Backenroth header image 4

How to change screen resolution on a EEE PC to pan-n-scan size on the fly.

September 22nd, 2009 · No Comments

I use this command to change the resolution of my EEE 1000HE from 1024×600 to 1024×1024 which allows me to work well with large web pages, though I must pan-n-scan the desktop (which runs past the borders of the monitor), it’s worth it.
Not every EEE PC is built the same, nor do they use the [...]

[Read more →]

Tags: Blogroll

A nice collection of shell scripts & misc

September 19th, 2009 · No Comments

This is a good Linux site and has a good collection of shell scripts. Enjoy.
They’re sorted newest-first, so click the <previous entries> at the bottom of the page to see the prior scripts.
Here’s also a few links on learning the basics of shell scripting:
IBM’s extensive site on the subject.
Linuxcommand.org

[Read more →]

Tags: Blogroll

How To Limit CPU Usage Of A Process With cpulimit

September 19th, 2009 · No Comments

For Debian-based distros, this utility (not related to the ‘nice‘ command) will limit the cpu usage of a program. It works with multiple cores as well.
Simply sudo apt-get install cpulimit. More info can be found here.

[Read more →]

Tags: Blogroll

Repairing damaged drives and boot records with Live-CD Linux boot CD’s.

September 3rd, 2009 · No Comments

Pretty straight forward stuff in this article, but it’s a good reference on how to use the most-excellent tools in an Ubuntu Live-CD to recover drives (whether they be Windows hard disks or Linux-flavored data) with damaged data or corrupted boot sectors and easily make it bootable and/or usable again.
I recently had to run a [...]

[Read more →]

Tags: Blogroll

How to run 32-bit code in 64-bit Linux.

August 20th, 2009 · No Comments

How to run 32-bit code in 64-bit Linux.

[Read more →]

Tags: Blogroll

Converting .m4a files to mp3 (batch scripting)

July 18th, 2009 · No Comments

Execute (3) scripts. I suppose this could be done all in one script, but sometimes one wants to examine the results after each phase. This will actually work (in principle) to do any command on all files in a directory that have a predictable pattern.
Don’t forget to chmod +x ./script-name on each.
Script 1
#!/bin/bash
#
# Dump m4a [...]

[Read more →]

Tags: Blogroll

Serve your current directory using a simple webserver & python

May 3rd, 2009 · No Comments

Simply type this in your Linux command line (assuming Python is installed, and it usually is on many Linux desktops).
python -m SimpleHTTPServer &
This will launch a very simple web server in the directory from which the command was run, and will establish that directory as root. You can then access it from your local machine [...]

[Read more →]

Tags: Blogroll

Screen Profiles available Ubuntu 9.04

April 28th, 2009 · No Comments

Interesting article about .screenrc profiles that offer some unique status bars with GNU Screen under Ubuntu 9.04
For any that are interested, this is my .screenrc
hardstatus alwayslastline
hardstatus string ‘%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]‘
#
# Default screens
# syntax: screen -t NameOfScreen ScreenNumber ShellCommand
screen -t “Work SSH” 0 /home/name/workssh
screen -t “Home 1″ 1
screen -t “Home 2″ [...]

[Read more →]

Tags: Blogroll

Run VirtualBox headless over an SSH session

April 9th, 2009 · No Comments

When SSH’ing into a linux box, you may want to run a VM headless (that is, not dependent on the console X session). TO RDP into your windows box (assuming you are running a Windows VM over Linux), you’ll want to be sure to engage your -L port:ip-address-of-VirtualBoxHost:port, port forwarding.
Assuming you have VirtualBox remote port [...]

[Read more →]

Tags: Blogroll

Howto Convert Vmware Image to Virtualbox Image or Import Vmware Image into Virtualbox

March 4th, 2009 · No Comments

Note:- Before Converting make a backup copy of your vmware image
Solution 1
We are going to use qemu-img tool to this.QEMU disk image utility
First Install qemu  qemu-img is included with qemu package using the following command
sudo apt-get install qemu
Convert a VMWare Image to VirtualBox Image
Convert VMWare image called whatever.vmdk to /tmp/debian.bin (or a path of your [...]

[Read more →]

Tags: Blogroll

Force an unmount of busy drives that won’t dismount

March 2nd, 2009 · No Comments

You are probably all too familiar with the situation – you are trying to unmount a drive, but keep getting told by your system that it’s busy. But what application is tying it up? A quick one-liner will tell you:
lsof +D /media/disk1
This will return the command and process ID of any tasks currently accessing the [...]

[Read more →]

Tags: Blogroll

How to set up dual-NIC bonding in Ubuntu

February 13th, 2009 · No Comments

REPOST: Source: Only Ubuntu Linux:
Bonding is creation of a single bonded interface by combining 2 or more ethernet interfaces. This helps in high availability and performance improvement.
How to setup dual-dual bonding (two bonds of two interfaces each) on Ubuntu as quickly as possible.
1. Add two lines to /etc/modules
bonding bond0 -o bond0 mode=1 miimon=100
bonding bond1 -o [...]

[Read more →]

Tags: Blogroll

SSH: On the fly port forwarding.

January 26th, 2009 · No Comments

Once inside an SSH session, you may realize that you need to reach another box via the local port redirect (-L 1234:192.168.0.5:23 for example).
Most people think you need to kill your SSH session to add a new -L option, then reinitiate the SSH session; this is NOT true.
You can open an internal SSH shell within [...]

[Read more →]

Tags: Blogroll

How to clone a Linux system using CloneZilla Server Edition (CloneZilla SE)

January 21st, 2009 · No Comments

An excellent how-to on the subject, complete with screenshots.
Here’s a link to Clonezilla SE (Server Edition).

[Read more →]

Tags: Blogroll

Awesome improvements in Linux kernel 2.6.28

January 10th, 2009 · No Comments

The kernel was released by Linus on Dec. 24th, Among the enhancements:
Ext4 which has now been declared stable, and no longer experimental, will be the successor to the long-standing ext3. It can support a file system up to 1 exabyte in size (that’s 1,048,576 terabytes to everyone else) and single files up to 16TiB.
Ext4 is [...]

[Read more →]

Tags: Blogroll

Linux 2.6 kernel ported to iPhone

December 5th, 2008 · No Comments

I was never a big fan of the iPhone, but the Linux 2.6 kernel has finally been ported to it. It doesn’t yet interact with the touchscreen, but if this eventually leads to an iPhone-Ubuntu distro being created, you can bet I’ll be putting the iPhone on my wish list – just for use as [...]

[Read more →]

Tags: Blogroll

OpenGoo: Host your own “Google Docs” web based collaborative center

December 4th, 2008 · No Comments

From their site:
It is a complete solution for every organization to create, collaborate, share and publish all its internal and external documents.
You and your team can create and collaborate on:

Text documents
Spreadsheets (coming soon)
Presentations
Task Lists
E-mails
Calendars
Web Links

All it requires is an xampp server (essentially a Linux server). I am going to test this with some colleagues and [...]

[Read more →]

Tags: Blogroll

A good HowTo on creating virtual hosts in Apache2 & the Linux Basement podcast.

November 30th, 2008 · No Comments

A good article from the Linux Basement.
The Linux Basement also hosts a podcast worth checking out which centers around web hosting and network management, but is overall an informative show. They do about 2 episodes per month.
They also have a fairly active user submitted article area, as well as a forum.

[Read more →]

Tags: Blogroll

Top 10 mistakes new Linux admins make:

November 30th, 2008 · No Comments

From Tech Republic, worth reading if you’re new to Linux system administration.
One of the most common mistakes is not checking log files (reason #10). I often find it hard to keep up and sometimes parse the variety of system logs on a system. A great tool for managing this is called LogWatch. While not a [...]

[Read more →]

Tags: Blogroll

GroundWork Monitor Community Edition

October 27th, 2008 · No Comments

From the site:
GroundWork Monitor Community Edition provides a essential IT monitoring solution that enables you to maintain network visibility and control.
This is a single server deployment that leverages the strengths of 15 other open source projects such as Nagios, rrdtool and nmap. It combines the results of these projects in to a system that evaluates [...]

[Read more →]

Tags: Blogroll

9 OpenOffice extensions that are quite helpful

October 27th, 2008 · No Comments

Click here for details.

[Read more →]

Tags: Blogroll

Virtualbox port forwarding on a Linux Host

October 17th, 2008 · No Comments

An excellent article on the subject: Source.
Run these 3 commands from shell. SUDO not required.
VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort” 2222
VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort” 22
VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol” TCP
Where…

“name of vm” is your virtual machine name
ssh is the name of the service. This is _required_ to be unique among the three [...]

[Read more →]

Tags: Blogroll

Certificate Authority (CA) with OpenSSL

October 13th, 2008 · No Comments

When you need to run a website (https), mail (ssl/tls) or similar over an encrypted link – you need an SSL certificate. This article will explain some of the choices involved, and how to run your own certificate authority (CA). You don’t need to spend any money to generate your own certificates, and they’re no [...]

[Read more →]

Tags: Blogroll

Using DD to backup your partitions, or Clonezilla.

October 5th, 2008 · No Comments

A well-written article on how to backup an entire partition using DD.
Another way to do this is to use CloneZilla.

[Read more →]

Tags: Blogroll

Places to buy systems with Linux pre-installed

October 5th, 2008 · No Comments

Places to buy systems with Linux pre-installed (which means the hardware is Linux compatible!). There may be others, this is just a short reference.
1) Dell: Dell is currently selling four laptop systems starting from $549 to $1049; the linux desktop system available starts at $448. All these system are pre-installed with Ubuntu 8.04. here:
2) system76: [...]

[Read more →]

Tags: Blogroll