Archive for the ‘Technical’ Category
February 2nd, 2012
Its quite simple actually – but I had to google for ages trying to find the answer.
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
yum upgrade php* mysql*
Bear in mind this will do a server upgrade – but seeing as this is a webserver, its probably best to have the latest versions for everything in terms of less security vulnerabilities.
EDIT> More things I needed to document. Incresing the amount of IMAP connections allowed as Thunderbird was erroring out.
Read the rest of this entry »
January 24th, 2012
I was writing a little script to make my Click to Call product talk nicely with JQuery and encountered many problems – so I thought I would put some of the problems and my solutions to them.
Firstly, the goal was to create a ‘dynamic’ version of the click to call service – which previously has been hardcoded using element ID’s with remote javascript.
So the first goal was removing all that and using classes and relying on the DOM to make sure I had the correct elements selected.
The Click to Call system uses a timer with a curl request to the switch to monitor progress of the call – so I needed to make sure I had state and kept track of which ‘click to call’ form was being used.
Read the rest of this entry »
December 30th, 2011
Here are some nifty commands to backup a directory:
ssh user@host "tar zcf - /the/dir/" > filename.tgz
And then to backup a database
Read the rest of this entry »
December 1st, 2011
Just rebuilding a server of mine and realised I should document the install process required to run my java app on my debian linux server. Few assumptions made here, but this should get you and your app up and running pretty easily.
First of, grab java from sun.com. At the time of writing, this worked for me.
cd /usr/src/
wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u24-linux-x64.bin?BundledLineItemUUID=Q9.J_hCyVlIAAAEvskMIRCSC&OrderID=8nOJ_hCy5FEAAAEvoUMIRCSC$
chmod +x jdk-6u24-linux-x64.bin\?BundledLineItemUUID\=Q9.J_hCyVlIAAAEvskMIRCSC
./jdk-6u24-linux-x64.bin\?BundledLineItemUUID\=Q9.J_hCyVlIAAAEvskMIRCSC
Read the rest of this entry »
August 9th, 2011
Ok, so I am rebuilding my test server and I thought I would document the steps taken in case I or anyone else needs to refer to them.
Step 1 – install centos 5 – grab the dvd iso from one of the mirrors.
Step 2 – set it up as desktop + server (As I need the gui stuff to get pptpconfig working)
Read the rest of this entry »