14 March 2015
Git is an amazing tool. It’s super useful for so many things. In this article I am going to describe how to create and apply patches using “git diff”..
12 March 2015
In OpenLDAP even the config is now stored in LDAP. This is pretty cool if you want to replicate ACL-Rules or Configs. But it is also pretty unhandy to manage. If you install OpenLDAP in Debian, there is no Password for our “cn=admin,cn=config”-User. In this article I want to describe how to set a password.
20 February 2015
Sometimes Kernel-Panics happen. It’s awful, and nobody wants them, but sh** happens. Sometimes it’s because of a hardware problem, sometimes it’s just a software problem. Mostly the system hangs then and administratos have to reboot the system. But it is possible to tell Linux to automatic reboot when a kernel-panic happens…
16 February 2015
If you want to comment out specific lines in a file you can use sed. Let’s assume we have an “alloweduser”-file, and we want to disable all users starting with “adm” on a specific date.
16 February 2015
Today, I had some problems with owncloud. During upgrading it removed my symbolic link and created a new data-directory. This wasn’t really a big problem, but after I linked to the right data-directory owncloud didn’t list the old files in my directory. After a while I found this very nice little tool console.php. It’s a part of owncloud and it is for doing admin-tasks on the command-line. So I just rescaned my data-directory:
8 February 2015
Solving Simple Linear Equations
We can solve linear equations using vectors: