Linux

Advanced APT user tricks

Debian/Ubuntu apt-get tricks. Basics Install software apt-get install foobar Search software apt-cache search foobar You can query files to see which packages own them, or query packages to see which files own them. Installing apt-file apt-get install apt-file Build apt-get file information cache apt-file update Query through the packages to determine which package contains the […]

Read More
Linux

Setting up an SSL server with Apache2 on Debian

With the introduction of the Apache2 packages in Debian it is much simpler to create and use a secure SSL protected webserver than in the old days with Apache 1.3, here we’ll show how it is done. If you have Apache 2.x installed already then you’re good to go as you don’t need anything extra […]

Read More
Linux

Finding which package contains a file in Debian

There are times when you’re looking for a particular library, or file, which you know is available to Debian/Ubuntu but you cannot find the package which contains it. This is the kind of job that the Debian packages site helped with in the past, but given its current unavailability we’ll look at another approach.

Read More
Linux

Howto duplicate a Debian setup

This post describes howto reinstall or duplicate a Debian or Debian based distribution like Ubuntu. First we need to extract the installed packages on the source server and save them in a file debian:~# dpkg –get-selections >> packages Now we move to the target server and set the package selections according to the package file […]

Read More