Category Archives: Linux

Subversion 1.6 on Debian (Lenny)

See the instructions at http://backports.org/dokuwiki/doku.php?id=instructions

Editing PHP in Emacs – Debian, Ubuntu package

If it’s not already installed, for php-mode you can simply:
# aptitude install php-elisp

ABLEConf 2009

Free. Saturday, October 24, 2009… 10am to 4pm at the University of Advancing Technology in Phoenix (Baseline Rd. just west of I-10).
A full day of presentations and participation on free software.
More info: http://www.ableconf.com/
Update: A good time and a good place to meet like-minded folks and get up to speed on new technology, and even a [...]

Notes on Text File Handling

For printing multiple pages, mpage comes in handy. It produces 2-up or 4-up Postscript from plain text files. (Debian package: mpage)  Curiously, “mpage –help” or any of the standard pleas for help don’t work; use: mpage -x Example use:
mpage -H -f myfile.txt
Which enables headers (-H) and line folding (-f).

Adding Flash Player to Debian

1) Add the backports repository by editing  /etc/apt/sources.lst (must be root) and adding the following line:
deb http://www.backports.org/debian/ lenny-backports main contrib non-free
Run the following:
#aptitude update
#aptitude install debian-backports-keyring
(Ignore any warning that occur with the above 2 commands, the install will correct those)
If you run #aptitude update again the warnings should be gone
2) Install Adobe Flash
#aptitude install flashplugin-nonfree
3)You [...]

Gimp 2.6 Toolbox is always in the way

The biggest frustration with Gimp 2.6 has been that pesky toolbox window always in the way over what I’m working on. Turns out it’s easy to make it act sanely. Try this: Go to Edit; Preferences; click Window Management; and under Window Manager Hints, change “Hint for the Toolbox” from “Utility Window” to [...]

Virtualmin on a Debian Linode

See also my comments of installation of Virtualmin on a  Centos linode… these are just the additional issues.
GD under PHP not installed by default
Wordpress and other PHP systems were reporting errors about “imagecreatefromjpeg not defined” … that’s a PHP built-in function… what gives?  Somehow I didn’t have the GD image manipulation module loaded into PHP.  [...]

Installing VirtualBox on Centos 5.2

Full instructions, particularly for “headless” installation, are here.

First we download the RPM for RedHat Enterprise Linux 5 (RHEL 5) which is the equivalent to Centos from the virtualbox.org site
After downloading (and renaming the file to eliminate everything after the .rpm) we install as follows but get an error:

# rpm -ivh VirtualBox-2.1.0_(version).rpm

No precompiled module for this [...]

RPM Bits on Centos 5

To get gkrellm and other goodies:

# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

That’s for Centos 5.x (RHEL 5)… there may be updated instructions on Dag’s site.
On a 64-bit system, once you add rpmforge you may have problems like this, when you go to do an update:

Transaction Check Error:
file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.5.4-0.1.el5.rf conflicts with file from [...]

Thunderbird 2 on Centos 5.1

Found at tbox.myblogspot.com:

Download Thunderbird 2 from Mozilla (http://www.mozilla.com/en-US/thunderbird/) or other mirros like (http://mirror.oscc.org.my/mozilla/thunderbird/). I downloaded thunderbird-2.0.0.14.tar.gz to the directory /tmp.
Extract the files
Open a terminal and login as root to the directory /opt
su -
cd /opt
4. Copy the extracted forlders to /opt
cp -rf /tmp/thunderbird /opt
5. Install the older library of libstdc++.so.5 (5.1 comes with version libstdc++.so.6)
yum install [...]