New Blog 
Tuesday, 1 January 2013, 18:57 - Announcements
Posted by Administrator
Here you will find some stuff about Windows and Linux including how-to's and some tools. And last but not least, some information about the author, Mike Rhyner.

Please feel free to contact me or to leave a comment to one of the articles...
add comment ( 725 views )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 373 )
QEMU/KVM Virtual Host Manager 
Saturday, 29 September 2012, 21:11 - Tools & more, QEMU/KVM Stuff
Posted by Administrator


This tiny script shows you a overview of the virtual machines on QEMU/KVM carrier servers using libvirt as management interface.

It can either show all virtual machines or only the running VMs.


This PHP Script requires PHP extension libvirt-php


Download the gzip'ped tar archive


Unpack the archive to a webserver document root with direct access to your libvirt hypervisors over TCP Port 16509 or SSH

Adapt at least the variables $dnsdomain and $arr_hosts to your infrastructure and change $comtype to "qemu+ssh" when SSH instead of direct port access is wanted

Try it out using http://yourwebserver/virtmgr/index.php

add comment ( 399 views )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 716 )
Postfix Mail Queue Manager 
Saturday, 29 September 2012, 00:00 - Tools & more, Postfix Stuff, Mail stuff
Posted by Administrator


This PHP script shows the content of the mail queues of multiple servers and give you the possibility to hold, release, delete and reqeue single messages.

If you install a tiny wrapper script on mail servers, you may even remove or requeue multiple messages from a certain sender.

In addition, you can also requeue all messages (sendmail -q).


Download the gzip'ped tar archive


On a web- or intranet accessible host (access protection highly recommended!):
- Web Server with PHP script language support (shell_exec function has to be enabled)
- Key-based SSH access to mail servers for webserver user

On mail servers:
- Postfix
- sudo


Unpack the archive beneath a webserver document root

Adapt the variables $mailservers and $user to your needs, if you like to use the selection by sender e-mail address feature, configure also variable $wrapper_cmd

Add the following lines to /etc/sudoers on the mail server(s), assuming user admin for login to the mail server(s) (change it to your needs):

admin    ALL=(ALL) NOPASSWD: /usr/sbin/postsuper
admin ALL=(ALL) NOPASSWD: /usr/sbin/postqueue
admin ALL=(ALL) NOPASSWD: /usr/local/bin/
(last line only needed for selection by sender address)

If you want to use the selection by e-mail address feature, put to some path on the mail server(s) and make it executable, e.g.:
cp /usr/local/bin/
chmod 755 /usr/local/bin/

Try it out using http://yourwebserver/mailqmgr/index.php
add comment ( 12617 views )   |  permalink   |  related link   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 3715 )
Remove Apache VirtualHost section 
Tuesday, 17 July 2012, 00:00 - Tools & more, Apache Stuff
Posted by Administrator
This small perl script removes a VirtualHost configuration section

Call with: <webname> <apache conf file>

<webname> is to be replaced with the FQDN of the name based virtual host (ServerName)

<apache conf file> is the full path to the apache configuration file that contains the VirtualHost
add comment ( 10430 views )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 1200 )
Schweizer Fernsehen (SF) Podcasts 
Monday, 16 July 2012, 00:00 - Tools & more, WDLXTV Stuff
Posted by Administrator
For this stuff to work, you need the alternative firmware WDLXTV for your WD TV Live Box. You can get that from the WDLXV site.

Simply get the file and copy it to /conf/ directory on your WD TV Live wdlxtv pimp'ed box:
 scp dailypodcasts.xml root@ip_of_your_wdtv:/conf/ 

(if you have trouble downloading the file, e.g. get displayed XML code, use "Save As..." function of your browser)
add comment ( 10905 views )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 3443 )

<<First <Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next> Last>>