Archive for the ‘Howtos’ Category

How to install Apache, PHP and MySQL on Linux: Part 2

This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all Linux-like operating systems.
Read more »

Install Kubuntu 10.10 with full disk encryption

Brief story about how I successfully installed Kubuntu 10.10 on 64-bit hardware (amd64). Setting up full disk encryption from the alternate installation CD didn’t work for me, so I decided to do it manually step-by-step.
Read more »

Backtrack 4 with full disk encryption + dual boot Kubuntu 10.04 Lucid

Here is a tutorial on how to dual boot Backtrack 4 and Kubuntu 10.04 operating systems, with Backtrack installed on a fully encrypted hard drive. Several howtos exist on how to setup Backtrack on fully encrypted USB thumb drive, however, I had to spend significant time to adjust them to make them work for me. I hope this guide will help save the reader from a similar ordeal. Basic Linux experience is assumed.
Read more »

PHP: Callbacks in OOP

Note to the future myself:

Callbacks to object methods in PHP are made by:

call_user_func(array($object_reference, 'method_name'));

Examples:

call_user_func(array($this, 'doSomething'));  // in the current object's scope
call_user_func(array('MyClass', 'doSomething'));  // anywhere
call_user_func('MyClass::doSomething');  // As of PHP 5.2.3