Blog
Read mails in Maildir folder
To read mail from Maildir folder, use mutt. You can run mutt -f /home/user/Maildir To install mutt on Ubuntu/Debian, run apt install…
Enable CORS in Nginx
To enable CORS in nginx, add the following inside web sites server config. Restart nginx See CORS
Enable CORS in Apache
To enable CORS in apache, add the following in VirtualHost or .htaccess If your apache installation don’t have mod_headers installed, you need…
List installed Modules in Nginx
To list modules compiled with nginx, you can run nginx -V nginx -V This print nginx version along with configuration used to…
apachectl status www-browser not found
On a Ubuntu server, run i run apachectl status, i get following error. root@server:~# apachectl status /usr/sbin/apachectl: 113: /usr/sbin/apachectl: www-browser: not found…
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…
ERROR 1118 Row size too large Changing some columns to TEXT or BLOB may help.
When restoring a MySQL database, i get error root@server:~# mysql production < db.sql ERROR 1118 (42000) at line 733: Row size too…
MariaDB ERROR 1524 Plugin unix_socket is not loaded
After upgrading MariaDB on Ubuntu server, i got following error root@server:~# mysql ERROR 1524 (HY000): Plugin ‘unix_socket’ is not loaded root@server:~# Users…
Enable Debug in PrestaShop
To enable debug mode in Prestashop, edit the file Find Replace with Enable debug mode only for your IP Find Add above.…
Install VirtualBox 6.1 on Ubuntu 18.04
First you need to add VirtualBox repository sudo echo “deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib” > /etc/apt/sources.list.d/virtualbox.list Add Keys wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O-…