So my new macbook air ‘out of the box’ wasn’t able to connect to one of my data centres which requires connection via PPTP VPN.
This was very annoying, as a mobile solution for accessing the network was the macbook Air’s primary job in life. Few googles later I found the solution. The OSX vpn client doesn’t automatically create the relevant routes. There is an option to push all traffic through the VPN, or none. What if you just want to push relevant traffic to the VPN? ie. to access intranet or internal VPN services?
The steps I took: Continue reading OSX PPTP: Only route VPN traffic to VPN
Just keeping and sharing this link with everyone – if your like me you have never really had a need for antivirus – however I’m developing some funky software which may open malicious websites accidentally – so putting this on as a free, non-bloat antivirus/spyware option.
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.
Continue reading Plesk upgrade from PHP 5.1 to latest
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.
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.
Continue reading JQuery – Traversing the DOM
Here are some nifty commands to backup a directory:
ssh user@host "tar zcf - /the/dir/" > filename.tgz
And then to backup a database
Continue reading Remote Backup Database and Directories