Skip to content
LAMP stack patch to twist Raspbian/Raspian into a dedicated LAMP appliance, using Turnkey Linux's LAMP 12.0 as a model
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Remix Raspian with a tasty dose of TurnKey Linux. Bring TKL's appliance genius to the Raspberry Pi.

Raspliance-core ( tries to make the perfect server appliance platform for the Raspberry Pi. It chucks everything unnecessary out - that includes sudo. The result is as close to TurnKey Linux's Core 12.0 (Squeeze) as I could manage. (

With Raspliance Core ready - apply Raspliance-LAMP-Stack to approximate Turnkey Linux's 32-bit LAMP 12.0 (

LAMP: Linux, Apache, MySQL, and PHP. Just like TKL, this appliance serves webmin (straight from TKL, themes and all) on port 12321, shellinabox (a web-based shell) on port 12320.

In addition, it relies on TKL's inithook system to prompt for passwords for root and mysql's admin user on restart (also certs are regenerated).

SSH is served on 22 per convention.

Although intended to work headlessly (sans display), this patch includes TKL's confconsole, which displays the hostname, ip address, and ports of each service.

Assuming you're working from a fresh Raspbian/Raspian install, start be enabling ssh.

Don't get attached to the default user, pi. Login for a moment, then do sudo passwd root to set a password for root. Logout; then log in as root, either with SSH or directly.

Install git: apt-get update && apt-get install git -y. It'll take a moment.

---Compile TKLPATCH---

Do this:

cd /tmp

git clone git://

cd Raspliance-core

./ (installs necessary packages and compiles TKLPatch, TKL's software dev kit); you are now able to do this:

---Create Raspliance-Core---

Do this:

tklpatch-apply / Raspliance-core/ (which means, apply the patch called Raspliance-core to the root of the filesystem); it takes a long time as it strips out packages then installs new packages and their dependencies.

---Create Raspliance-LAMP-Stack---

Go back to tmp:

cd /tmp

Clone the patch from github to your tmp directory:

git clone git://

Apply the patch:

cd raspliance-LAMP-Stack

tklpatch-apply / Raspliance-LAMP-Stack/

You can’t perform that action at this time.