Tag Archives: Ubuntu

How to reset root user password in MySQL 5.7+

Was too busy and haven’t written anything for quite a while! Anyway, here is how to reset the root user password in MySQL 5.7 and later in a nutshell! service mysql stop mkdir -p /var/run/mysqld chown mysql:mysql /var/run/mysqld mysqld_safe –skip-grant-tables … Continue reading

Posted in Linux, MySQL | Tagged , , , , | Leave a comment

How to change max open files for nginx server on Ubuntu

The following error occurred a lot in /var/log/nginx/error.log: Too many open files This means that the nginx master process reached the maximum number of open files which was set to the default of 4096. (To check it, simply cat /proc/pid/limits, … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , , | Leave a comment

Fix icon and text size for hidpi displays on login screen in KDE on Ubuntu 19.04

Just create/edit the file /etc/sddm.conf and add the following: [X11] EnableHiDPI=true ServerArguments=-nolisten tcp -dpi 192 Reboot, and you’re good to go, Enjoy! Sources: https://www.reddit.com/r/kde/comments/amybg5/login_screen_on_hidpi_4k_screen/

Posted in Linux | Tagged , , | 2 Comments

Reset your Ubuntu Desktop to its default settings

dconf reset -f / Sources: https://www.omgubuntu.co.uk/2017/10/how-to-reset-ubuntu-desktop-to-default

Posted in Linux, Ubuntu | Tagged , , , | Leave a comment

How to check the DHCP server on Ubuntu

This is if you need to know which server gave you your dynamic IP: cat /var/lib/dhcp/dhclient.leases That’s it, Enjoy!

Posted in Ubuntu | Tagged , , , | Leave a comment