Archive | Internet & Tech RSS feed for this section

Installing WordPress In A Sub-Directory Using nginx

So I had this issue recently, I had a WordPress site on the main domain, and another WordPress install for some member stuff in a subdirectory/folder inside the main install. The main site worked fine, and the admin panel etc. But when you tried to change the Permalinks, everything got a 404 error. I noticed […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

sysstat – sar Invalid system activity file: /var/log/sysstat/sa19

After a recent upgrade (not sure which) the sar command stopped working, with the error output: The saXX can be any number, and relates to the log file – which for some reason is corrupt/missing/unreadable. In my case it seems to exist, but doesn’t function. I’ve found the best remedy to this to be purging […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Fix Unknown Table Engine ‘INNODB’ Error For MySQL Munin Plugin

If you are running Munin on a newish server, with a new version of MySQL and you have InnoDB disabled (as recommended by scripts like mysqltuner.pl), the Munin plugins for MySQL will fail with the following error: It’s a pretty easy fix though, just edit the follow file: And at line 960-965 (+960 in vim […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

MongoDB For Ubuntu Doesn’t Install A Logrotate Script

This tripped me up before, one of my servers very rapidly ran out of disk space and I had to figure out why – I scanned the server and found the culprit directory was /var/log/mongodb/ and there was a single multi GB log file in there. I checked /etc/logrotate.d/ and indeed the Ubuntu MongoDB package […]

Tags: , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Upgrading Ubuntu 10.04 To Use SVN 1.7 Client

If you are using ‘svn switch‘ on your deployer and you have older servers (Ubuntu 10.04 for example) the standard repo version of SVN will be 1.6, and won’t support the command. What you need to do is upgrade the SVN client to version 1.7x with a PPA package. I suggest using the following commands: […]

Tags: , , , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Wrong Token for Dropbox authentication received! BackWPup WordPress Plugin

If you receive this error and you are using W3 Total Cache – deactivate W3 Total Cache plugin totally first, then you will be able to authenticate just fine. Wrong Token for Dropbox authentication received! Falschen Token für die Dropbox-Authentifizierung erhalten! Other problems could be – Using any other plugins that have OAuth capability, such […]

Tags: , , , , ,

Continue Reading · No Comments · Internet & Tech

How To Transfer/Export Your SMS From iPhone iOS & Import To Android

Well I’ve finally decided (with a little help) to ditch the only Apple device I own, my previously trusty iPhone 4. I’ve had it for almost exactly 2 years (got it the day it launched, October 2010). The Samsung Galaxy S3 did interest me a fair bit, but really the Note 2 is such a […]

Tags: , , , , , , , , , , , , , ,

Continue Reading · No Comments · Internet & Tech

Stop 114A – A Major Threat To Freedom Of Expression Online

What is Section 114A? Section 114A is the second of two amendments made to Malaysia’s Evidence Act 1950. Law Minister Nazri Aziz tabled the second amendment, formally known as Evidence (Amendment) (No2) Act 2012, in Dewan Rakyat on 18 April. James Dawos Mamit supported the motion, and Section 114A was passed after the second and […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Serious Issues

Running Unattended/Automatic Security Updates on Ubuntu 12.04 LTS Precise Pangolin

So a while back I wrote about – Running Unattended/Automatic Security Updates on Ubuntu 10.04 LTS Lucid, which was great and all. But now Ubuntu 12.04 LTS is out, so I’m running all new installs on that (woohoo new 9.x versions of PostgreSQL, php-fpm in PHP core etc) and the previous update method I was […]

Tags: , , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

High Availability MongoDB & Replica Sets – A How To & Kinda Tutorial

So it’s kinda weird, last year I did 2 talks in the same month, 1 on WordPress (High Performance WordPress – Scaling, Tuning, Optimizing & More) & one which was more random (The History Of The Future at WebCamp KL. This year I ended up doing 2 presentations in the same week (actually on 2 […]

Tags: , , , , , , , , , , ,

Continue Reading · 2 Comments · Internet & Tech, Sys Admin & DevOps