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.


In the following how-to I will show you how to install and configure a PPTP VPN on Debian.

Step1. Install PPTPD 

apt-get install pptpd

Step2. Configure PPTP

After installing PPTPD , open the file /etc/pptpd.conf.

nano /etc/pptpd.conf

Then go to the end of the file where you can see examples of localip and remoteip.
Below them add your own values for localip and remoteip.


Now, uncomment the ms-dns lines from /etc/ppp/pptpd-options file and change them to to the dns servers provided by your ISP. Continue Reading…

Recently I upgraded the MySQL server and I enabled InnoDB and then I was not able to start the MySQL Server.

The next step was to check the mysql logs and I saw the error:

InnoDB: Error: log file ./ib_logfile0 is of different size 0 5256780 bytes
InnoDB: than specified in the .cnf file 0 1077645824 bytes!
[ERROR] Plugin ‘InnoDB’ init function returned error.
[ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported storage engine: InnoDB
[ERROR] Aborting

The solution for this error is:

Remove the ib_logfile0 and ib_logfile1 files located in /var/lib/mysql.

rm /var/lib/mysql/ib_logfile0
rm /var/lib/mysql/ib_logfile1 Continue Reading...

Cherokee is a high performance WebServer and is released under GNU license. Cherokee webserver is developed in C language and is available for all major distributions. Compared with all other webservers, Cherokee is having a major feature. It offers graphical admin interface for managing all tasks.

In this article I will show you how to install Cherokee on Debian with MySQL and PHP5 support.

Step1. First we need to install MySQL.
Install MySQL Server and Client using the following command:

root@cherokee:/# apt-get install mysql-server mysql-client

and follow onscreen instructions.

Step2. Install PHP5 and add FastCGI support. This is needed by Cherokee webserver.

root@cherokee:/# apt-get install php5 php5-cgi php5-mysql php5-gd php5-curl php-pear php5-imagick php5-memcache php5-xmlrpc php5-xsl

Now open /etc/php5/cgi/php.ini file and uncomment the cgi.fix_pathinfo=1 line.

Step3. Installing Cherokee Web Server in Debian: Continue Reading…