After finishing my Homeserver project I wanted to get the maximum of performance. At the end of my research in the web i have created following script: # Get Arrays and physical Disks for active Raid5 Volumes ARRAYS=”” DISKS=”” for field in `cat /proc/mdstat | grep “active raid5″` do if [[ “x${field:0:2}x” == “xmdx” ]]…
Howto tunnel TCP connections over SSH
Network Layout: There is one server which is only connectable via SSH. This server hosts two additional services: git and http. We have no access to the firewall and can’t forward the ports. The server is a linux system, as clients windows and linux are a option. We can use the comon git port on…
Multi-Language WordPress with xili-language Plugin
I started this blog at first to write about things i have tested or built in my private life. But then VMware and Linux got more and more and i thought it would be could to blog in two languages. There are many plugins or ways to do this in wordpress and i decided to…
Using STDIN/STDOUT streaming with rar instead of gzip/bzip2
I found it annoying for a long time, that i have only single threaded compress programs under linux when using compress from stdin. Today i noticed a command line switch for rar which enables this for rar. -si[name] Read data from stdin (standard input), when creating an archive. Optional ‘name’ parameter allows to specify a…
VT-d / IOMMU with intel haswell and Z87 chipset
A sub project of Homeserver 2.0 was the virtualization of my home router. I wanted to use pass-through of the additional nic for the external interface, so my host system can’t see any external traffic. The steps should be easy, started virt-manager and followed these simple steps: After a reboot of the vm i got…