Linux

Linux

20. Feb 2019

Install Proxmox on HP DL380 Gen8

UPDATE I had to learn it the hard way… Just don’t do what I did and get yourself an HBA controller right away! Otherwise you will run into (performance) problems sooner or later. I was in the situation to install Proxmox on a second hand HP DL380 Gen8 Server with a P420i RAID controller. Since Proxmox supports installation to ZFS out of the box I wanted to make use of that.

16. Jan 2018

I3 Scratchpad to access often used applications

I do have a few applications that I need many times throughout the day but usually only for a very short time. One of the prime examples for this is my password manager. Others are a go to terminal or some note taking application. You might have some other needs like a messenger or who knows what. Since over a year I am using I3 as my window manager.

5. Dec 2017

Sync Linux File Permissions

I ran into the situation where I had a directory tree restored from backup but the permissions were all messed up. The directory with the corrupted files still existed and the permissions there were intact. So the idea was to sync the permissions of the one directory tree to the other. I found the solution to my problem in this Serverfault thread. The way this works is to read the permissions recursively with getfacl, store the result in a file, change the path with sed and then run setfacl with the file as input.

17. Nov 2017

MSSQL Accross Subnets

A was faced with the situation that a client could not connect to it’s MSSQL named instance in another subnet. There is a firewall in between those subnets. The firewall rule allowed TCP 1433, 1434 and Pings. The client was able to ping the server. So far so good. But the SQL client could not connect to the server. A nmap scan of the server showed that port 1433 or 1434, the classical MSSQL ports, were not open.

17. May 2017

Start i3lock on Sleep with SystemD

Ever wondered how to automatically lock your screen when you put your laptop to sleep? Like me you most likely found a SystemD unit file looking a lot like the one below. What annoyed me though was that the lock command would be executed after the system reached the sleep target, ergo when waking up. This resulted in a brief flicker where my screen was visible before i3lock kicked in.