Category Archives: Linux Administration

Linux Partition layout with RAID1 and LVM

While installing CentOS you have to make a very important decision. The partition layout needs to be defined. The correct layout requires a understanding what the partitions are used for. As well, this step of the setup requires your decision if you plan to setup a RAID for your system partitions. Continue reading

Posted in Linux Administration | Tagged , , , | Comments Off on Linux Partition layout with RAID1 and LVM

Network Interface order with Proxmox

When you create a Proxmox virtual machine (KVM), the network interfaces may not always be in the order you want them to be. The order of the network interfaces is not only defined by an order in Proxmox. It is … Continue reading

Posted in Linux Administration, Virtualisation | Tagged , , , | Comments Off on Network Interface order with Proxmox

Restrict Linux User to SCP to his home directory

You wanna give access to your server? But you want to restrict access to SCP/SFTP and to the user’s home directory. Here is how i configured an account restricted to SCP/SFTP only using jailkit on CentOS. Continue reading

Posted in Linux Administration, Security | Tagged , , , , , | Comments Off on Restrict Linux User to SCP to his home directory

Subversion via ssh using authorized_keys

When i used subversion in the past i created a separate user on the linux operating system. This user then got the right to login via ssh to use subversion. If you have one or two users to manage that is not a big deal. But when the amount of users is growing … Continue reading

Posted in Linux Administration, Security, Version control system | Tagged , , , | Comments Off on Subversion via ssh using authorized_keys

SSH remote host identification has changed

You might know the situation when you try to login to a server via ssh and instead of the console you get the “REMOTE HOST IDENTIFICATION HAS CHANGED” Warning. Here is how to deal with it. Continue reading

Posted in Linux Administration, Security | Tagged | Comments Off on SSH remote host identification has changed

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