I’ve been thrilled to see the recent collaboration between Microsoft and various Linux distributions. Everyone has seen the Microsoft <3 Linux headlines over the last few months, and I’ve been curious about how this relationship has been reciprocated by the Linux community. So I decided to ask Stephanie Wonderlick at Red Hat and Rebecca Cradick at Canonical (the company behind Ubuntu) a few questions about the current state of Linux and Microsoft’s cross-platform cooperation.
If like me, you enjoy the simplicity of ufw (Uncomplicated Firewall) on your Ubuntu servers be careful when you turn it on. ufw doesn’t have any default rules to allow ssh inbound by default, if you aren’t careful when turning it on you could find yourself locked out! If you don’t have direct console access to the server that could mean being locked out forever! Not a conversation you want to have with a client, or your boss,… or tech support at your friendly cloud provider.
If you have a MySQL database working behind the scenes on your web site or app then creating and storing backup’s of that database can be vitally important to the operation of your business operations. A MySQL or MariaDB database uses the mysqldump command to create backups. The mysqldump command outputs a file that contains SQL statements that can be used to rebuild your database, with all of its data. Which could come in handy in the event of an unrecoverable crash or even to just move the database to a new server.
Ubuntu offers a live patching utility that allows kernel patches to be installed without requiring a system restart to be applied. Read more about online patching in this post about patching. That said, in many cases other services or processes on your system may need to be restarted after an upgrade. Finding services that need to be restarted in Ubuntu Install debian-goodies sudo apt update sudo apt install debian-goodies Now just run
Change the Default Text Editor in Ubuntu So I’m a huge advocate of Ubuntu. It has long term support releases, more packages than you would ever need, free online unattended patching, and you always have an in-place upgrade path to the next LTS version. What more could you ask for? I’d like to ask that nano lose its privileged status as the default text editor! When making changes to sudoers, passwd, or group files you should really be using the built-in tools visudo, vipw, and vigr.
NOTE: While this may still work the information is out of date. Please see the instructions found here eff.org for more up-to-date instructions. Free SSL Certificate with Let’s Encrypt If you have ever installed an SSL certificate you know that it can be a tedious process. Let’s Encrypt makes this easy. Just call the letsencrypt command from the terminal and point it at your domain. Securing your website with a valid ssl certificate from a recognized and trusted vendor shows your website visitors that information transmitted between your site and their browser is encrypted.