tips and tricks

warning: Creating default object from empty value in /var/www/home/chantra/debuntu.org/drupal-6.19/modules/taxonomy/taxonomy.pages.inc on line 34.

Data recovery from accidentally deleted files or crashed drives in Redhat, CentOS and Fedora Linux

Data recovery from accidentally deleted files or crashed drives in Redhat, CentOS and Fedora Linux
This tutorial will help you to recover data from accidentally deleted data from Linux-file systems. This is a very drastic mistake by any user/admin which costs for huge penalties. This script will be a boon for newbies/expert for data management. I will be using TestDisk for data-recovery. Here I have simplified the task with the help of a script.

PHP session data is not deleted when using custom session management on debian (and ubuntu)

PHP session data is not deleted when using custom session management on debian (and ubuntu)
On debian systems (as far as I know this applies to ubuntu, too) the garbage collector for PHP sessions is disabled by default.
The corresponding setting in php.ini is session.gc_probability = 0 which enables the garbage collector when set to something greater than zero. The default value in PHP is 1, so the garbage collector is called with a probability of 1/100 at each PHP script call.

Rounding numbers to special values in PHP - e. g. "nice prices"

Rounding numbers to special values in PHP - e. g. "nice prices"
Sometimes you need to round numbers to special values. Maybe you have a shop and want to calculate your selling prices automatically, but you don't like prices like 12.52 USD.
Here's a small PHP function that can be used in many different ways to solve this problem.

How To Add PPP Kernel Support To OpenVZ Containers

How To Add PPP Kernel Support To OpenVZ Containers

If you are trying to build a VPN tunnel from within an OpenVZ
container to some other system, you will most likely get the error
message /usr/sbin/pppd: Sorry - this system lacks PPP kernel support.
This tutorial explains how you can add PPP kernel support to your
OpenVZ container so that you can start VPN connections from your
container.

Data Recovery From Accidentally Deleted Files or Crashed Drives in Ubuntu

Data Recovery From Accidentally Deleted Files or Crashed Drives in Ubuntu
This tutorial will help you to recover data from accidentally deleted data from Linux-file systems. This is a very drastic mistake by any user/admin which costs for huge penalties. This script will be a boon for newbies/expert for data management. I will be using TestDisk for data-recovery. Here I have simplified the task with the help of a script.

Script for converting Outlook pst to Thunderbird/Evolution compatible format on Linux

Script for converting Outlook pst to Thunderbird/Evolution compatible format on Linux
This tutorial will show how to convert Outlook PST into Thunderbird/Evolution compatible SBD format. For this  I have created a script for the conversion format.This will work in Debian/Ubuntu/CentOS too!

The Perfect Server - CentOS 5.10 x86_64 [ISPConfig 3]

The Perfect Server - CentOS 5.10 x86_64 [ISPConfig 3]

This tutorial shows how to prepare a CentOS 5.10 x86_64 server for the
installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3
is a webhosting control panel that allows you to configure the following
services through a web browser: Apache web server, Postfix mail server,
MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

Using mount --bind To Move The Website And Email Directory Of a ISPConfig 3 Server To a New Directory

Use mount --bind To Move The Website And Email Directory Of a ISPConfig 3 Server To a New Directory
In the following guide, I will explain the procedure on how to move the email and website directory of a ISPConfig 3 installation to a new partition. This might become handy when your current partition runs out of space.

New Linux Container Virtualization Technology from Docker

New Linux Container Virtualization Technology from Docker
The Docker, new container-based virtualization tech startup has started it’s venture to the server virtualization industry by offering their newest version of the software, the Docker 0.8. The company has been known for their production of a faster alternative when it comes to running virtual machines over that of hypervisors.

Install Virtualbox 4.3.8 On a Debian 6 (Squeeze) Desktop

Install Virtualbox 4.3.8 On a Debian 6 (Squeeze) DesktopIn this tutorial I will show you to install the latest Virtualbox version in Debian 6 (Squeeze).

Syndicate content