GDebi is a simple tool that can help you to install local .deb packages with automatic dependency resolution.  it automatically downloads and installs the required packages.

GDebi have also a  graphical user interface.

Step1. Install GDebi on Debian:

apt-get install gdebi

Step2. Use GDebi in command line:

gdebi package_name_to_install.deb

GDebi will automatically find and install all dependencies.

Example:  root@srv:/# gdebi webmin_1.610_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done Continue Reading...

cron-apt is a flexible program that can manage automating apt via cron.

Step1. Install cron-apt in Debian

apt-get install cron-apt

Step2. Configure it:

The configuration file is located in /etc/cron-apt/ directory.
For a basic configuration I have everything set to default except for two lines in /etc/cron-apt/config file


You  can also modify when the cron-apt  runs in the /etc/cron.d/cron-apt file.


How to Get UUID of Hard Disks

Valic —  December 27, 2012 — Leave a comment

The Universally Unique Identifier(UUID) is used to identify a hard disk independent form its device name or mount point. Is mostly used to access a device not by name, for example in /etc/fstab file.

There are many ways to get the UUID. I will show you two ways to do that.

Use the following command to show you all hard disk partitions by UUID:

ls -l /dev/disk/by-uuid

lrwxrwxrwx 1 root root 10 Dec 27 20:02 25c8851a-494b-49f8-a1ac-3df97ca16a5e -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 27 20:02 2a554679-b975-4f5d-bb41-97374d640f6a -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 27 20:02 ed57f181-75e7-4fc6-aebe-2865b358da84 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 27 20:02 f6385c06-925a-426f-b689-21a210908ae0 -> ../../sda1

The second way is to use blkid tool:

blkid /dev/sda1
/dev/sda1: UUID="f6385c06-925a-426f-b689-21a210908ae0" TYPE="ext3"

blkid /dev/sdb1
/dev/sdb1: UUID="ed57f181-75e7-4fc6-aebe-2865b358da84" TYPE="ext4"


PNG “Portable Network Graphics”  is a image format designed to replace limitations of GIF image format in terms of data compression and color precision. The sizes of  PNGs image files can vary based on several factors like color depth , precompression filter, etc.

Optipng is a Linux command line script that performs multiple optimizations on PNG image files including size compression, integrity checks and more.
I will show you how to use and install Optipng on Debian Linux.

Step1. Install Optipng on Debian:

apt-get install optipng

Step2. Now you can compress a PNG image using the following command:

optipng -o 7 image.png

You can choose between 7 levels of compression from 0 to 7. The 7 level is very slow.

Now I will show you how to compress all images on your server:
First search all PNG images and put them into a list.

find /home/www/ -path -prune -o -name "*.png" > pngfiles.list Continue Reading...

The Debian project  announced the 6-th update of its stable distribution Debian 6.0 (codename squeeze). This update mainly adds corrections for security problems to the stable release, along with a few adjustments for serious problems. Security advisories were already published separately and are referenced where available.

Please note that this update does not constitute a new version of Debian 6.0 but only updates some of the packages included. There is no need to throw away 6.0 CDs or DVDs but only to update via an up-to-date Debian mirror after an installation, to cause any out of date packages to be updated.

Those who frequently install updates from won’t have to update many packages and most updates from are included in this update.

New installation media and CD and DVD images containing updated packages will be available soon at the regular locations.

Upgrading to this revision online is usually done by pointing the aptitude (or apt) package tool (see the sources.list(5) manual page) to one of Debian’s many FTP or HTTP mirrors. A comprehensive list of mirrors is available at:

More here:
Page 4 of 1712345678910...Last »