FUN WITH LINUX

Git: Creating Patches

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”..

Read more..
OpenLDAP: Set config admin password

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.

Read more..
Purpose

26 February 2015

Read more..
Auto-restart Linux-Sytem after a Kernel-Panic

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…

Read more..
sed: Schedule a job which comments out specific lines in a file

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.

Read more..
Owncloud: doing admin-tasks with console.php

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:

Read more..
First steps with GNU Octave (2) - Solving Equations

8 February 2015

Solving Simple Linear Equations

We can solve linear equations using vectors:

Read more..
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti