Andy Wits Blog

All blog posts

How to unlock an ip address blocked by Fail2ban 1 minute read

As a system administrator, it's hard for me to imagine a quiet life without Fail2ban. This service tracks logs of many services, such as a web server, mail server, openssh-server and so on. In case of suspicious activity (as a rule, many unsuccessful authorizations), it automatically blocks (using iptables rules) for some time the ip-address from which these authorizations were. ...

How to change the address of the Vesta CP web interface to a subdomain 2 minute read

It is not always convenient for mail to be located at /webmail. But this configuration is in Vesta CP by default. While the developers of the panel have not done the same thing that we are going to do, this will have to be r...

Installing and Configuring Sphinx 2.2.11 (Yii with delta Indexes) on Ubuntu / Debian and RHEL / CentOS 7 6 minute read

There are a lot of changes after upgrade Sphinx search from version 1 to 2. Queries on the command line no longer work through searh, many directives were removed from the configuration file, and more. We'll figure out. Setup Sphinx 2.2.11 on Ubuntu / Debian и RHEL / CentOS 7 First we need to install the package: Ubuntu/Debian: aptitude install sphinxsearch...

How to configure Nginx in Vesta CP and get an A+ rating on ssllabs 3 minute read

Task: setup SSL (https) settings in Nginx config file in order to get grade A+ there: https://www.ssllabs.com/ssltest/ Best way - edit the /usr/local/vesta/data/templates/web/nginx/default.stpl (the more, so if you will edit something from the panel, than Vesta CP will overwrite any changes made manually in the configurati...

How to install nginx push-and-pull on Debian (for Bitrix) 2 minute read

So, after the Nginx update on Debian some of the business functions of the portal Bitrix stopped working. It turned out: the problem is that there was a previos nginx version where the necessary module was compiled manually. Decision: rebuild fresh nginx with the push-and-pull module (nginx-push-stream-module) configure that it is not updated Let's sta...

How to install and configure owncloud on debian 2 minute read

As we see in owncloud.org -> install - there are several options for installation - an archive file, a web installer and packages for various systems. I decided to install the package to be able to put updates and to automatically satisfying the dependencies. For Debian 7.0, you must first run the following commands (as root,...

How to monitor mysql queries 1 minute read

Sometimes, you need to figure out which request comes from cms / cmf or another script to the Mysql server. For example, I had to deal with the jqgrid-php library. It was unclear which query comes to the mysql server from the script. You can, of course, install and configure mysql-proxy, but there is a simpler solution: Login to Mysql-se...

SMTP PTR error ipv6 authentication error (Vesta CP with Exim) 1 minute read

I tried to send an email to gmail on my Debian server (with the Vesta panel installed). I received this error: SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [2a00:1450:400c:c01::1b]: 550-5.7.1 [2001:41d0:8:e974::1] Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5....

How to install and configure the simplemachines (smf) forum on Debian 2 minute read

Go to the official site and download the forum source here: http://download.simplemachines.org/ and the language you need is here: http://download.simplemachines.org/?smflanguages;lang=russian (Only you need to be careful when choosing an archive with...

Free s/mime certificate from startssl 1 minute read

I wanted for my site to get free ssl to use https. A search on the net brought me here:https://www.startssl.com/. After registration, I got it, but it's a completely different story ... By the way, it turned out that it was very easy to get a s / mime certificate for your mail (no matter which domain). How to get a free s/mime certificate? ...

Viber Desktop on Debian Lenny 3 minute read

Problem: Viber Desktop does not start on Debian Linux. When we running the command /opt/viber/Viber in the terminal, we can see the error: /opt/viber/Viber: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /opt/viber/Viber) /opt/viber/Viber: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /opt/viber/Viber) /opt/viber...

Installing and configuring sphinx on centos 5 3 minute read

This information is suitable for sphinx versions 2.0.9 and below (also sphinx 1.x). If you need to install and configure version 2.2.x (2.2.11, for example), then see here >> [1] How to install sphinx on centos 5 Where to sear...

Contact me on