Enable rc.local

To enable /etc/rc.local file run on system startup on servers runing systemd, you can run

Now you need to create file /etc/rc.local with 755 permission.

See Autostart […]

Read More…


proxychains allow you to route traffic using proxy servers. This is useful for routing traffic throihg applications that do not support proxy by default. For example, i use ssh through proxy chains. To install proxychains on Ubuntu, run

Now you need to edit /etc/proxychains.conf and add your proxy servers.

On my computer, i […]

Read More…

Nginx upstream sent too big header

Plesk Nginx

When i login to a PrestaShop web site, i get error on a Plesk server.

On checking error login for the site in folder /var/www/vhosts/domain.com/logs/proxy_error_log, i found following error message proxy_error_log:2020/11/25 19:41:41 [error] 1809#0: *39664 upstream sent too big header while reading response header from upstream, client:, server: tulivesi.com, request: “POST /en/login?back=my-account HTTP/2.0”, […]

Read More…

Server Load

Here are some useful commands to check server load. iostat shows disk IO usage. %iowait shows how much time process wait for disk operation. This should be 0. If you are on VPS, check for %steal to see if host server is overloaded.

Checks for processes in ā€˜Dā€™ state

Top processes using CPU […]

Read More…

Find MySQL Database and Table Size

To find size of database using SQL command, run following SQL in MySQL promt.

Example FInd disk usage by tables To find disk usage by tables in database, run

In above SQL, replace DB_NAME_HERE with actual name of the database. Example

See MySQL […]

Read More…

Requesting a zone trasnfer with dig

To request a zone transfer using dig, use


See dig […]

Read More…