HAPROXY, The easy load balancer

Load balancing the easy way, with haproxy. I use this all the time with docker. This example will balance 53, across 6 DNS backends. To tweak for your use, you can change the stats port, username and password, and backend servers to your setup. port 1936 will show the cluster…

Restoring mssql .bak file Linux mssql server

To restore a mssql database backup to a linux host, using default microsoft install locations: /opt/mssql-tools/bin/sqlcmd -S hostname -U user -P Password! -Q "RESTORE DATABASE [mydatabase] FROM DISK = N'/tmp/backupStandard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, NORECOVERY, STATS = 5" If you see an error…

Installing MS-SQL on CentOS 7

This setup is using an instance within Google Cloud Platform's Compute Engine, but it should work about anywhere running CentOS 7+. I added this here because I needed to try mssql on Centos, an unsupported distro. Other howto's online I found did not work, or did not completely set it…

Installing X2go Centos 7

For this we need to ad EPEL repo, add it as follows: sudo yum install epel-release Installing x2go yum install -y x2goserver-xsession Installing Xfce: yum groupinstall -y "Xfce" Edit - 2019 - I have recently found out KDE Plasma Workspaces also works with x2go! Installing KDE on Centos…

Installing Xvfb in Centos 6, 7, Fedora

Xvfb, or X virtual frame buffer is needed by selenium and chromedriver or gekodriver so it can run via cron with your PC locked, or without your script taking focus from the user session The Xvfb, or "X virtual frame buffer" will allow scripts and apps to run…