Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Windows 10/Server 2016 RDP work with Guacamole

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

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. […]

, ,

Fixing broken Thecus N8800PRO NAS or install Linux on Thecus N8880PRO NAS

A few days ago one of my old Thecus N8800PRO NAS storages stopped working. Instead of throwing it away i decided to take a closer look at it. First i discovered the missing VGA Port on the system. So no way for more debugging. But if open the NAS and take a closer look to […]

Dell OpenManage (OMSA) 8.3 on XenServer 7

First step is to add the Dell OpenManage Repository: wget -q -O – http://linux.dell.com/repo/hardware/DSU_16.05.00/bootstrap.cgi | bash Befor we can start the installer we had to fix the centos repository from the xenserver. Open “/etc/yum.repos.d/CentOS-Base.repo” with your favorite editor and change the baseurl from the [base] section to: baseurl=http://mirrors.kernel.org/centos/7.2.1511/os/x86_64 We have to do this because this […]

Upgrade to Citrix XenServer 6.5 to 7

First Download XenServer Installation ISO and the new Windows Management Console from: http://xenserver.org/overview-xenserver-open-source-virtualization/download.html Now upgrade your Management Console an reconnect to your XenServer Cluster. Now stop HA and move all VMs from the Master Host to the Slaves. You must start with the Master !! You can get your Master with this command: xe pool-list […]

Racktables Extension 0.3.3

Update of my racktables extension: Fixes and new features: – Fix: Fixes Bug in custom report for Racks, Rows and Locations – Fix: Changed directory structure – Feature: Added variable CSV Delimiter Tested with Racktables 0.20.10 Version 0.3.3: [download#24#size#nohits] Current Version Attension: New installation procedure with version 0.3.3 Move all the contents of the “plugins” […]

Simple Backup Script with logrotate

A simple backup script using logrotate to save multiple backups. I use a NFS storage mounted via autofs as backup location. Database Backup is optional. #!/bin/bash # Backup Target (Network Share mostly via autofs) BACKUP_DIR=”/tmp/foo” # Number of Backups BACKUP_NUM=3 # Directories to backup SOURCE_DIRS=”/var/www /var/log /etc” # Backup savelog -n -l -q -c $BACKUP_NUM […]

,

Happy SysAdmin Day! 2015

July 31, 2015 – 16th Annual System Administrator Appreciation Day http://sysadminday.com http://www.sys-admin-day.de http://de.wikipedia.org/wiki/System_Administrator_Appreciation_Day

Previous Posts