How to convert RPM software packages to Debian (.deb) using alien

Maybe you have had this problem: you are using Debian or Ubuntu Linux and a software package you would like to install is only available in RPM format. The solution is the handy tool called alien, which converts .rpm files to .deb files. Install alien: apt-get install alien Converting an rpm package to Debian format: ... Read more

Install .deb Packages Manually (Linux Debian/Ubuntu)

When you download packages for Linux Debian or Ubuntu they usually come in the .deb format and are installed automatically by your local package manager. If you download them from the internet instead of the repositorial way however you are given the .deb file and have to deal with it yourself. To install it, open ... Read more

How to use apt-file to find which .deb package contains a specific file

Sometimes you need to know which debian package contains a specific file e.g. because you deleted a system file accidently or you try to install a new software that requires this file. The apt package management utility which is used in Debian and Ubuntu comes with a handy tool called apt-file which allows a saerch ... Read more

Backing up OpenVZ virtual machines with vzdump

Vzdump is a perl script that makes live backups of OpenVZ virtual machines very easy. The following steps are for Debian Linux but vzdump can be used on all other linux distributions. Only the installation may vary. Download and install vzdump from http://download.openvz.org/contrib/utils/vzdump/ cd /tmp wget http://download.openvz.org/contrib/utils/vzdump/vzdump_1.1-2_all.deb dpkg -i vzdump_1.1-2_all.deb Create the backup directory mkdir ... Read more

Switch Debian 10 RC release to stable

When you installed your Debian 10 server by using one of the pre-releases, then you will get the following error message now that Debian 10 (Buster) has been released. N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Version' value from '' to '10' E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable' ... Read more

Apache mod-security installation on Debian 6.0 (squeeze)

Install the apache mod-security 2 module with apt from the Debian repositories apt-get install libapache-mod-security Create the folder for the mod-security configuration files mkdir /etc/apache2/mod-security chmod 600 /etc/apache2/mod-security Download and unpack the mod-security rules cd /tmp wget http://www.modsecurity.org/download/modsecurity-core-rules_2.5-1.6.1.tar.gz tar fvx modsecurity-core-rules_2.5-1.6.1.tar.gz mv *.conf /etc/apache2/mod-security/ ln -s /var/log/apache2 /etc/apache2/logs Configure apache to load the activated mod-security ... Read more

How to get detailed information about the harddisk installed on a Linux server

Detailed information about the hard disk type, disk vendor etc. of the disk used on a Linux system can be aquired with the linux tool hdparm. If hdparm is not installed on your server, it can be installed with this command (on Debian and Ubuntu systems): apt-get install hdparm For other Linux distributions, use the ... Read more