where fluff meets grit
Jonathan Adjei
Jon's expertise in web development is legendary and he overseas all technical aspects of our projects from development to hosting (all through the command line!) Jon is excited by the latest techniques and keeps the company on track by finding ways to adopt new practices into our workflow.
Homepage: http://fluid7.co.uk/
Posts by Jonathan Adjei
Ninja tools … or debugging network problems
Dec 18th
Having just come through a harrowing ‘network issue’ ordeal, I thought I’d best document the steps back to sanity from out of my naivety. A rough description of the scenario follows.
We have a client using Sage Line 50 who wanted to perform queries on their web members database in conjunction with their in-house accounting information. This set me down the path of setting up an on demand connection and synch, database to database. The solution was a VPN connection between the client’s LAN and their web server.
Having never played seriously with VPNs before, we secured the help of a good More >
Drupal CSS aggregator
Sep 3rd
A couple of pointers when you’re getting into theming Drupal the correct way rather than just hacking around as is most fun.
I seem to hit troubles getting the aggregator feature of Drupal working, and often end up just slapping an external CSS link call in to the page template.
The proper way to do is a little long winded, but gives us the speed optimisations offered by the aggregator facility. Instead of putting <link … /> in the page.tpl.php file, use the drupal_add_css() function in your template.php file.
The best place to put it is in a function called <themename>_preprocess_page().
And here’s an example of More >
NVIDIA and suspend issues
Sep 3rd
I’ve got the nvidia proprietary video drivers running on my Fedora laptop using the rpmfusion-nonfree yum repo.
I also installed the akmod-nvidia package as it recompiles the kernel module for the graphics each time a new kernel is installed. Super!
However I’ve been battling with power suspend failing when slamming the lid on my laptop.. it hangs and won’t power off/restart without a nasty 10 sec power button press and hold. I think I’ve finally figured the problem. It seems the kmod-nvidia- tries to install as well.
A bit of the following and all seems well in sleep world!
yum remove kmod-nvidia-
In /etc/yum.repos.d/rpmfusion-nonfree-updates.repo add More >
Plesk and Qmail into Virtualmin and Postfix
Feb 26th
Biggest headache!
I’ve spent hours trying to get the Maildir storage of a Postfix install working on a Virtualmin box that had been migrated from Plesk.
There a few critical steps to get everything working. There are lots of references out there, but none covered all my issues at once. All these bits might need setting or just verifying to make it all happy, and this is done on a CentOS 5 box. Ultra critical points for me were step 1 (6th line), step 6, step 7, step 9 and the last few command line instructions (especially the 1st line).
- Webmin -> Webmin More >
Is the PCI scan on your webmin revealing weak SSL ciphers?
Oct 12th
Mine was, but the fix was pretty straight forward.
- In Webmin go to Webmin -> Webmin Configuration -> SSL Encryption
- Enter the following into the Allowed SSL Ciphers field
ALL:!ADH:!LOW:!SSLv2:!EXP:+HIGH:+MEDIUMI grabbed this string from the hardened Apache SSL config provided by the excellent Atomic Secured Linux. - Restart webmin and you should be good to go.
You can test you were successful by following the instructions in the blog post referenced below.
References: Disable SSLv2 in Webmin | Noodles’ Blog.
Addendum:
After a bit more use/testing of these changes, it turns out this interfered with Eclipse/Trac/Mylyn when connecting to this server/repo.
I’ve just figured out to get this 100% happy, More >
Grub got hosed .. that’s a bad thing
Sep 8th
For some reason on upgrading my kernel on a Fedora 11 install just now, I found on reboot that my grub install was no longer working. I think possibly the offending laptop went into standby instead of a proper reboot (not my fault of course!)
Anyways a bit of research and use of a linux boot disk and I was able to restore grub.
- I had to boot from the Fedora 11 install DVD I originally installed with.
- I then went into rescue mode rather than going through with an install
- I asked the rescue mode to search for my local Fedora installs and More >
Scoo B Doo
Aug 17th
Web Jetty are proud to announce we now host the web services for Scoo-B-Doo.org.uk, a UK charity benefiting the Special Baby Care Unit (SCBU) at Gloucestershire Royal NHS Trust.
Scoo B Doo neonatal care
They provide a vital role in fundraising for the purchase of the latest technologies needed to care for the most vulnerable among us. Please take a look at their site and if you’re able, get involved!
Thanks
New wordpress same old theme
Jul 1st
Fetching mail with fetchmail
Apr 24th
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
More >
KeePassX on CentOS
Feb 14th
Cross platform password safe
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 More >
