Archive for February, 2008

Creating a .tar.gz Backup on Linux

Very useful commmand to make a .tar.gz compressed backup of important directories.
SHARETHIS.addEntry({ title: “Creating a .tar.gz Backup on Linux”, url: “http://www.arkinex.com/guides/30/creating-a-targz-backup-on-linux/” });


Upgrade PHP5 & MySQL 5 to latest on Debian

Sometimes the packages on your desired apt-get mirror aren’t kept up to date.
A friend recently showed me how to upgrade to the latest and securist version using a special apt-get mirror service that specializes in LAMP installations.
SHARETHIS.addEntry({ title: “Upgrade PHP5 & MySQL 5 to latest on Debian”, url: “http://www.arkinex.com/guides/29/upgrade-php5-mysql-5-to-latest-on-debian/” });


Installing and Configuring Samba on Debian 4

In this guide you will learn how to install Samba on Linux (Debian 4 / etch).
Installing Samba allows you to share files over the network for Mac, Windows and other Linux computers.
SHARETHIS.addEntry({ title: “Installing and Configuring Samba on Debian 4″, url: “http://www.arkinex.com/guides/28/installing-and-configuring-samba-on-debian-4-etch/” });


Javascript Function: strip_tags()

A useful function to mimic to PHP function strip_tags() to strip all HTML tags and markup from a string.
Useful when parsing client input on the fly. Extra checks should be added though.
SHARETHIS.addEntry({ title: “Javascript Function: strip_tags()”, url: “http://www.arkinex.com/javascript/js-functions/27/javascript-function-strip_tags/” });


Javascript Function: htmlentities()

Convert html tags and code to readable HTML entities. Mimics the PHP functions htmlspecialchars() and htmlentities().
Prevents from HTML script injection.
SHARETHIS.addEntry({ title: “Javascript Function: htmlentities()”, url: “http://www.arkinex.com/javascript/js-functions/26/javascript-function-htmlentities/” });


Installing Apache2, Mysql5 and PHP5 on Debian Linux

Today i decided to setup my own personal server to work from, as I’m tired of waiting the few seconds it takes to upload, reload and then almost instantly make changes to a file i’m working on. This guide will cover installing and updating Apache 2, MySQL 5 and PHP 5 on Debian Linux (5.0/etch).
SHARETHIS.addEntry({ [...]