Posts

How to grab your data from Russia in current situation

You have some infrastructure in Russia and you want to move out, for example to Europe? Now is it a problem. During last tests Russia limited long sessions, all that are longer than 1 min start throttling to 100kBps. Maybe not to all destinations, but I checked many major Europe providers and Belarus as proxy, BTW, Belarus throttling 50kBps.

pssh (parallel-ssh) problems on Debian 10 with Python 3.7

Python reminds me of PHP many years ago with totally incompatible versioning on one server. Do you need another version? The best way - new servers, because any update or installation can break all global environments. Half a year after “Sunsetting Python 2” but main distributions continue to push python2 during installation and it’s a big challenge not to replace the default version after some update or installing a new package.

FreeRadius and Google Workspace LDAP

This is the first time when I used FreeRadius, this program reminds me of Postfix, I mean similar complicated and powerful tool. Only one big difference - very bad documentation and not enough examples. In the maillists a lot of questions without answers from FreeRadius guru. Here I provided examples of how I solved some problems or where I took too much time…

First look on UniFi Wireless Access Point

Image
New project - new challenge. For this project I got UAP-AC-Pro, UAP-AC-Lite and UAP-Outdoor+.

Work From Home or bring your corporate network at home

Image
Work From Home (WFH)… Not a big problem for IT. Almost all that I need I can do without any discomfort. Big understanding of how to work became in the first carnitine time, in Lithuania it was in summer. Good weather, own house, lots of forests around… Who cares about COVID19, I just be with my family and spend my time as usual.

OpenVPN Install

Some time ago, one windows server, with all updates, was hacked… As a result, one of the solutions to solve this problem - use VPN. But not all IT peeps can configure and support linux infrastructure or have some equipment to configure it easily… After some research I found a very useful project on GitHub ( openvpn-install ). Probably is the most easy way to install and support users. Just a simple wizard.

Salto Events Sniffer Service

Simple service on python for resend events from SALTO server to email.

Docker persistent MAC address generation problem

When I was try start 150+ docker containers with docker-compose I found strange problem: "Could not generate persistent MAC address"

Script to generate a MAC address

Very simple and useful script to generate a MAC address. Applicable for docker, xen, kvm...

Good documentation portal with GitLab and MkDocs

What if you have Gitlab and want have pretty cool internal documentation portal? We need Gitlab with enabled and configured Gitlab Pages, Gitlab Runner and few packages from MkDocs. You can use any template or extension from MkDocs and use full power of CI/CD.

How to protect API endpoints

How to protect API endpoints, using nginx, more comfortable. This way can impact some performance, because "If is Evil...", says nginx.com, but not provide normal solution :) So, any limitation can be abused...

Failed gitlab-runner update. "The following signatures couldn't be verified"

Failed to fetch https://packages.gitlab.com/runner/gitlab-runner/debian/dists/stretch/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F

Google Education - Mass users creation and passwords sending

Example, how fast and easy prepare and create users. Google documentation show methods, but not explain how to prepare data.

Fix emails date-time after migration to Dovecote

Many mail clients show wrong email receiving date-time, because file creation time is wrong after migration or restore. Here short review how to fix it for Dovecote on ISPConfig.

PDO sqlsrv for PHP 7.3

Some time you need old-school... So, PDO sqlsrv for PHP 7.3 on Centos 7

ISPConfig mass email users creation

Preparing for migration from old email system (±15 years old FreeBSD...) to latest ISPConfig. One of steps - email users creation. ISPConfig have minimalist documentation and few examples.

How to forward one or few VLAN's to KVM virtual machine

Next step using network configuration via Open vSwitch ( How to forward all VLAN's to KVM virtual machine ) provide only one vlan.

How to forward all VLAN's to KVM virtual machine

How to forward all VLAN's to KVM virtual machine using Open vSwitch.

GitLab Runner: Cache adapter could not be initialized: missing S3 configuration

Some day gitlab runner cache just stop work. Version gitlab-runner=12.0.1 No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. Sep 3 13:32:29 review gitlab-runner[354]: ERROR: Could not create cache adapter error=cache adapter could not be initialized: missing S3 configuration

MySQL export. Table per file.

Way to save gzipped sql file with contain only one table. Some times good to have.