All posts by Michael Albert

Debian: Simple bind setup for test environments

Hi,

these steps sets up a bind9 DNS Server on Debian 8 Jessie.

Install necessary packages

root@devdev ~# apt-get install bind9

Continue reading Debian: Simple bind setup for test environments

Advertisment to support michlstechblog.info

Debian: Systemd command line examples

Hi,

simply a collection of systemd command line examples. To be continued……

Set hostname + fqdn

hostnamectl

Example
sudo hostnamectl set-hostname yourHost.yourDomain.net
Continue reading Debian: Systemd command line examples

VMware: vSphere Logfiles

Hi,

short post just for me as bookmark:-)
Continue reading VMware: vSphere Logfiles

Powershell: md5sum and sha256sum Functions

Hi,

verifing of a file is often done by builting an MD5 or an sha256 hash over it.

Powershell has no “builtin” functions for this purposes.

So I wrote some 🙂
Continue reading Powershell: md5sum and sha256sum Functions

Apache: Protect a folder by a password, but one file is for public access

Hi,

let us assume you want to protect a whole directory by password and but one file must be readable for public access. This can easily be done by a .htaccess file.

For example: Who want to trotect the folder /var/www/html and only the file public.html should be readable without a password.
Continue reading Apache: Protect a folder by a password, but one file is for public access