Tag Archives: Linux

apt – install the package that contains a specific file

Sometimes a command that you execute complains about a dependency being missing on the system. From the file name in the error message it is often not possible to know exactly which package needs to be installed to resolve the … Continue reading

Posted in Linux Administration, Security | Tagged , , , , , , , | Comments Off on apt – install the package that contains a specific file

Replace hard disk from software RAID

A hard disk is one of those┬ácomponents that will fail at some point in time. To protect against┬ádata loss in such a situation you might have already configured a RAID array. Eventually, you’ll have to replace a malfunctioning hard disk, … Continue reading

Posted in Linux Administration | Tagged , , , | Comments Off on Replace hard disk from software RAID

Remove a range of lines from a huge file

When you have to deal with a huge file containing gigabytes of data and need to delete a range of lines from it, opening it with a text editor can be a fatal mistake. As an example, in this post I will demonstrate how to delete a whole database out of a huge SQL dump without messing around with a text editor. Continue reading

Posted in Linux Administration | Tagged , | Comments Off on Remove a range of lines from a huge file

Access the internet from server without direct connection

When two servers are connected to each other but only one server has access to the internet, it is always complicate to connect to the server without internet connection as well as you need internet connectivity to update/install packages from the repositories. Here is how you get ride of all the restriction to work comfortable even with the server that has no direct internet access. Continue reading

Posted in Linux Administration | Tagged , | Comments Off on Access the internet from server without direct connection

Change file time on Linux or Mac OS X

Changing the date of a file under Linux or Mac OS X can be quite a challenge. As far as I know both do not provide a UI (User Interface) option to do this out of the box, but what both operating systems do provide are the tools needed to do it in the console. I wanna show how … Continue reading

Posted in Linux Administration, MacOSX | Tagged , , | Comments Off on Change file time on Linux or Mac OS X

SPF and multiple domain mailserver

We all hate spam, right? I think you all know the annoying emails, but what is worse than receiving emails? How about when emails you send to someone are for some reason detected as spam? This happened to me recently. … Continue reading

Posted in DNS, Linux Administration, Mailserver | Tagged , , , , , | 1 Comment