Wed 1 Jul 2009
Fri 24 Apr 2009
During a domain transfer, while DNS was still propogating I needed to retrieve mail from the old server to the new.
I did so thusly…
# yum install fetchmail
$ touch .fetchmailrc
$ chmod 600 .fetchmailc
I then added the following lines to .fetchmailrc
poll with proto POP3
user there with password "" is "" here
Then once ensuring you can POP3 out of the server (port 110) through the firewall, you can just run ‘fetchmail’ from the command line to grab the mail.
Topping it off with a cronjob for the duration of DNS propogation would probably be a sensible finish.
References:
http://theos.in/news/howto-configure-fetchmail-linux-or-unix-client-program-to-fetch-emails/
http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html
Sat 14 Feb 2009
I’ve been playing with CentOS 5 lately, and really needed KeePassX on it. I ran into a few problems…
No rpms for Centos means you have to try and build from source. You also need qt-devel on the machine but it has to be version 4.3 or greater to compile.
So I had to enable atrpms-testing and use their bleeding edge qt44-devel.
This conflicts with qt-devel, so you need to ditch that first if it’s around. It also needed a few other dependencies that weren’t picked up.
# yum remove qt-devel qt4 dt4-devel
# yum install gcc-c++ libXtst-devel.x86_64 qt44 qt44-devel
For some reason, even though I didn’t have qt-devel on the machine, the command line yum found conflicts between atrpms-testing qt44-devel and qt-devel, and it took the GUI package manager to actually install it.
Once all that lot is in place, you should be able to unzip the tar and enter the keepassx directory.
# qmake-qt44
# make
# make install
All seems happy now.
www.keepassx.org/downloads
atrpms.net/install.html
Thu 30 Oct 2008
To get a bit more speed out of your sluggish windows development machine (I use wampserver), add the following code to your php.ini.
; APC accellerator
extension=php_apc.dll
[APC]
apc.enabled = 1
apc.cache_by_default = 1
apc.enable_cli = 0
apc.shm_segments = 1
apc.shm_size = 64
apc.max_file_size = 1M
apc.stat=1
Also download the APC dll from here…
http://pecl4win.php.net/ext.php/php_apc.dll
and place it in your php ‘ext’ dir. Mine is here…
D:\wamp\bin\php\php5.2.6\ext
Restart Apache and you should be a bit zippier.
Sat 27 Sep 2008
I’m still using windows for my primary development environment, although the bulk of the software I use is open source and/or free. I thought I’d share/store a rundown of some of the apps I install on a fresh windows build.
- Google Chrome (Quite a surprise winner this!)
- Comodo Firewall
- AVG antivirus
- Keepass
- 7zip
- Notepad++
- Eclipse PDTÂ and Subclipse
- Firefox and Firebug
- Putty
- Open Office
- PDFCreator
- K-Lite Codec Pack and Media Player Classic
- iTunes and Quicktime
- Picasa
I’m very happy with this set of free apps, and can confidently recommend you try any of them.
Â
