List installed Modules in Nginx

To list modules compiled with nginx, run

Example

[…]

Read More…

apachectl status www-browser not found

apachectl status

On a Ubuntu server, run i run apachectl status, i get following error.

To fix error, install lynx text based browser.

After installing lunx, apachectl status started working. See Apache […]

Read More…

Unblock an IP from fail2ban

To check if an IP is banned by fail2ban, run

To unblock an IP, you should find the jail that caused the IP to block. In following example, IP 152.67.19.86 is blocked by sshd jail

To unban the IP, run

You can see all jails with command fail2ban-client status

See fail2ban […]

Read More…

ERROR 1118 Row size too large Changing some columns to TEXT or BLOB may help.

When restoring a MySQL database, i get error

I installed exactly same MraiaDB version on both source and destination server. But still restring failed. This is due to default Engine. On old server, i had

On new server, it had InnoDB was set as default.

Solution Edit the SQL file in a […]

Read More…

MariaDB ERROR 1524 Plugin unix_socket is not loaded

After upgrading MariaDB on Ubuntu server, i got following error

Users created worked fine. Only root user had this error. To fix, you need to enable auth_socket.so plugin. Edit file

Find

Add below

Resatrt MariaDB

See MySQL […]

Read More…

Enable Debug in PrestaShop

To enable debug in Prestashop, edit file

Find

Replace with

[…]

Read More…

Install VirtualBox 6.1 on Ubuntu 18.04

VirtualBox 6.1 on Ubuntu

First you need to add VirtualBox repository

Add Keys

Do an apt upgrade

If you have older version of VirtualBox installed, remove it

Install VirtualBox 6.1 with

If you use Vagrant, you may need to install latest version as the vagrant provided by ubuntu won’t work with VirtualBox 6.1 […]

Read More…

Install Vagrant on CentOS

To install Vagrant on CentOS, go to https://www.vagrantup.com/downloads Get link to latest version, then run “rpm -ivh URL_TO_RPM_FILE”. At time of writing this post, latest Vagrant version is 2.2.9, to install Vagrant 2.2.9, run

To check Vagrant version

See Vagrant […]

Read More…

Install Linux KVM on CentOS 8

To install Linux KVM hypervisor on CentOS 8, run

Install libvirtd

Enable libvirtd to start on boot

Start libvirtd

To see status, run

Install virt-install

Now you have Linux KVM installed. You can use virt-install or Virt Manager to create virtual machine. See Linux KVM Virtualization […]

Read More…

OpenVZ

List available OS Templates in your server

To create a container, run

Lit all vms

[…]

Read More…