Recent Posts

Use mod_substitute in Apache

The essence mod_substitute is to replace the text in the body of the response from the web server. With it you can change for example links to one domain wit...

Run Yii in Docker container locally

In this article I want to tell you what I did to automatically deploy NginX, php-fcgi and install Yii using docker. It can be usefull for local development. ...

Mysqldump using PHP

I’ve run into this more than once: you need to pull a dump of a large database from hosting, but there’s no remote access to the mysql engine. PhpMyAdmin mig...

Using expect in bash scripts

Expect is a wrapper that provides the ability to program the input for interactive programs. Interactive programs are applications that require the input of ...

FireWall in CentOS7

In CentOS7 you can no longer edit the usual iptables firewall rules the way you’re used to. iptables itself is still there, but it’s now wrapped in firewalld...