Change default kernel in Ubuntu 18.04

I have been asked few times, how do you set specific kernel to be always loaded without manually selecting it either from the menu or avoiding setting it as a number which will differ in next kernel update via GRUB_DEFAULT=2 etc.. Current state of play: root@lab1:~# lsb_release -a No LSB modules are available. Distributor ID:…

Enable mod_rewrite on Ubuntu 16.04 to work with WordPress

You will need Ubuntu 16.04 server with basic “how to” LAMP stack installation. (5 min how to will be added soon) sudo a2enmod rewrite sudo systemctl restart apache2 sudo vim /etc/apache2/sites-available/000-default.conf   <VirtualHost *:80> <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> … … … </VirtualHost> sudo systemctl restart apache2  …