Category: SysAdmin

laravel logo

Laravel & Lumen with Informix DB

I was looking to try and work with Lumen to create a API frontend for few services we have, and the problem I had was to make Laravel/Lumen to work with Informix DB. I...

ansible logo

Automated SSL/TLS Cert in CVP

Although CloudVision runs on CentOS 7 and uses nginx as a front end for the services, you can’t just use letsencrypt to issue a cert, as it seems like CV will overwrite it each time....

Java in A container

Running Java GUI application in Docker

This is a more specific use case of running GUI application with Docker, the procedure is pretty simple (and most option are common for most GUI application), You mount the UNIX socket for the...

ansible logo

Ansible and ControlMaster file naming

This is a short story of how Ansible and SSH (using the default `ControlMaster` path format) bite me. Lets take this network layout for example, where we have the same IP behind different machines....

Force WP-CLI output to be in English

I need to manage several insensate of WordPress installations, some of them are in Hebrew and one in Arabic, and when using `wp-cli` to manage the installation, e.g when running `plugin update`, `wp-cli` will...

How to Debug PHP Script From the CLI with PHP-XDEBUG

TL;DR Set your IDE to listen for incoming connections On the CLI set the session key, export XDEBUG_CONFIG=”idekey=netbeans-xdebug” Set XDEBUG configuration (can be set as environment variables or in-line parameters) # in-line php -dxdebug.remote_enable=1...