February 12, 2010 – 10:41 am
If you are using an application that needs PostgreSQL connections on your LAN, don’t forget to add, or replace, in file postgresql.conf –
listen_addresses =’*’
Otherwise, postgres will bind only to ‘localhost’ and won’t be accessible from your network. You will just get Connection Refused errors until you add this parameter to enable listening to TCP [...]
January 30, 2010 – 9:49 am
By default, Mailman — which is installed by default in Virtualmin as your mailing list manager, exhibits some nasty behavior, being open to sending “backscatter” spam. This means that the Bad Guys send fraudulent messages “from” the email address they actually want to send spam to; Mailman rejects those messages, basically sending a bounce message [...]
January 29, 2010 – 4:01 pm
For setup of the Zonet ZPS2102:
The default IP is 192.168.0.10 … in the Add Printer dialogs, choose Network Printer, then enter the IP address, the queue (default is: LP1) and choose the model.
The Device URI, when you are done, looks like:
lpd://192.168.0.10/LP1
October 23, 2009 – 12:49 pm
For example, I needed to add the group execute (list directory) bit to every subdirectory in the tree below the currrent directory. Most of the simple ways get tripped up by filename quoting, or embedded spaces in directory names.
Here’s the command to use:
find . -type d -exec chmod g+x “{}” \;
October 9, 2009 – 11:01 am
If you like this, please consider donating to fund further development.
After years of frustration waiting for the Mozilla Thunderbird folks to add the ability to edit LDAP address-books, and years of frustration with the pigheadedness and brain-damagedness of LDAP server software, I decided to write my own little pseudo-LDAP server.
This is a proof of concept [...]
October 1, 2009 – 8:43 am
Here’s a little script you can add to your crontab, to periodically email the administrators of each mailman mailing list both the list of current members and the mailing-list’s full configuration. This gives you both an audit trail of membership and the ability to restore mailing lists from the backup files in case your [...]
September 7, 2009 – 5:02 pm
Following the instructions at:
https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6
Edit the apt sources, using your favorite editor:
$ sudo emacs /etc/apt/sources.list
Add these lines to the end of the file:
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main
The add the key signature:
$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 413576CB
where 413576CB is the Signing Key from the web page above… update the apt cache, and force [...]
August 6, 2009 – 11:07 am
Dramatically reduce memory footprint by changing the number of threads that spamassassin will execute at once from 5 down to 1.
Centos: In /etc/sysconfig/spamassassin –
change:
SPAMDOPTIONS=”-d -c -m5 -H”
to
SPAMDOPTIONS=”-d -c -m1 -H”
Debian: in /etc/default/spamassassin, change:
OPTIONS=”–create-prefs –max-children 5 –helper-home-dir”
to
OPTIONS=”–create-prefs –max-children 1 –helper-home-dir”
$ sudo yum install apcups*
…
—> Package apcupsd.x86_64 0:3.14.3-1.el5.rf set to be updated
…
$ sudo /sbin/chkconfig –list apcupsd
apcupsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Before you start the apcupsd service, edit /etc/apcupsd/apcupsd.conf and [...]
sudo -i
apt-get install lvm2
modprobe dm-mod
vgchange -a y
Also try –
pvdisplay
Displays physical volumes
vgdisplay
Displays volume groups
lvdisplay
Displays logical volumes
and: man lvm