Two-factor authentication with Guacamole 1.1.0 (Part 4)
You can add totp-auth to your Guacamole login process. You can use any TOTP App like „Google Authenticator“ or „OTP Auth“ to add a two-factor authentication to Guacamole. First download and install the totp-auth plugin: cd /usr/src/ wget http://apache.mirror.digionline.de/guacamole/1.0.0/binary/guacamole-auth-totp-1.0.0.tar.gz tar xvzf guacamole-auth-totp-1.0.0.tar.gz cp /usr/src/guacamole-auth-totp-1.0.0/guacamole-auth-totp-1.0.0.jar /etc/guacamole/extensions/ Now configurate ‚/etc/guacamole/guacamole.properties‘ with your favorite editor and add the […]
Setup LDAP/AD authentication for Guacamole 1.1.0 (Part 3)
If you don’t want to add all your users to the guacamole db for authentication you can combine the DB authentication with LDAP authentication. (You don’t have to modify your LDAP) First download and install the LDAP auth extension: wget http://apache.mirror.iphh.net/guacamole/1.1.0/binary/guacamole-auth-ldap-1.1.0.tar.gz tar xvzf guacamole-auth-ldap-1.1.0.tar.gz cp /usr/src/guacamole-auth-ldap-1.1.0/guacamole-auth-ldap-1.1.0.jar /etc/guacamole/extensions/ Now configurate ‚/etc/guacamole/guacamole.properties‘ with your favorite editor and […]
Homematic Schalter zur Stromversorgung Batteriebetriebener Homematic Komponenten nutzen
Über den meisten Lichtschaltern habe ich ein Homematic Wandthermostat (HM-TC-IT-WM-W-EU) montiert. Dieses wird mit 2 AAA Batterien betrieben, welche regelmäßig gewechselt werden müssen. Tauscht man nun den Lichtschalter durch einen Homematic Schalter (hier HM-LC-Sw1PBU-FM) aus kann man sich von dessen Netzteil auch die Stromversorgung für das Thermostat holen. Dazu öffnet man zunächst das Gehäuse des […]
Homematic with Yeelight Xiaomi Mi Bedside Lamp 2
Send simple commands to Yeelight Xiaomi Mi Bedside Lamp 2 from Homematic. I have a doorbell connected to my Homematic CCU2. In this example it should flash blue a few times if the doorbell rings. You need the CUx Daemon installed on your Homematic CCU and an Exec-Device registerd in your CCU. Here is a […]
Commandline API for Yeelight Xiaomi Mi Bedside Lamp 2 MJCTD01YL
The Yeelight Bedside Lamp is an WiFi RGB lamp. You can control it with an App on your mobile phone. But it also have an API. It accepts JSON-formatted commands. On Linux it is realy simple to send them to your lamp. To start using this API i give you a few examples. The usage […]
Your own search engine with Apache Nutch 1.16 on Debian 10
In 2016, I wrote an article for the Linux Magazine about an personal search engine: * Suchmaschinenserver im Eigenbau (Ausgabe 02/2016)* Go Find It (Issue #186 / May 2016) A lot has changed in the past few years. New Nutch versions, new Solr versions and of course new OS versions. Here is a little updated […]
Setup Windows 10/Server 2016 RDP to work with Guacamole 1.1.0 (Part 2)
Currently Guacamole 1.1.0 is not compatible with the default encryption of Windows. If you disable NLA it should work. Open Registry editor ‚regedit‘ and make the following settings: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp] Change “SecurityLayer” value to dword:00000001 Verify “UserAuthentication” value is dword:0x00000000 This should work without reboot. Or use NLA If you want to use NLA you […]
Install Guacamole 1.1.0 on Debian 10 with DB authentication (Part 1)
I started with a fresh Debian 10.3.0 with latest patches. I just installed vim and open-vm-tools because my server runs on an VMWare cluster 1. Install Tomcat 9 apt install tomcat9 tomcat9-admin tomcat9-common tomcat9-user If you now open http://<YOUR_SERVER>:8080 you should get an „It works !“ website. 2. Install Guacamole Server 2.1 Install required packages […]
Force https to http redirect except for WordPress /wp-admin directory
First move all requests that are not wp-admin requests from https to http. Than i want to exclude all of WordPress admin from the https to http redirect, to keep WordPress admin working over https, so this is the result: RewriteEngine OnRewriteBase / RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} ^/?(wp-admin/|wp-login\.php) RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTPS} […]
Apache Nutch with Solr on Debian 9 or Ubuntu 17.04
About one year ago I wrote an article for Linux Magazin about a personal search engine: * Suchmaschinenserver im Eigenbau (Ausgabe 02/2016) * Go Find It (Issue #186 / May 2016) In this article I used Ubuntu 14.04 and Nutch 1.9. Now Nutch 1.13 is available. Time for a short update. First the bad news. […]