Categories
coding

Docker Ubuntu 19.04

Docker on Ubuntu 19.04 is a cinch. “Dockerizing” an application is a great way to ensure you understand it’s dependencies. I always forget this last bit when setting up a new machine.

sudo usermod -aG docker username

Otherwise, I recommend this Medium post by Grigor Khachatryan.

https://medium.com/@Grigorkh/how-to-install-docker-on-ubuntu-19-04-7ccfeda5935

It turns out that LAMP Ubuntu 19.04 is the most popular Metatooth blog post. Can’t argue with success. More #DevOps posts forthcoming! I’ll certainly keep posting about teeth and technology, too.

What other “crowdsourced” finding has surprised you recently? Tell me about it in the comments!

 

Categories
coding

LAMP Ubuntu 19.04

LAMP on Ubuntu 19.04 should be a snap, and it is. If you install all the packages! I was missing libapache2-mod-php and php-mysql. Here’s the blog post that helped me out.

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04

LAMP starts with Linux

Ubuntu 19.04 also provides a meta-package for this.
sudo apt-get install lamp-server^ will install all dependencies, and give instructions for enabling PHP under Apache2. Mind the trailing caret (^)! This meta-package selects MySQL 5.7 over MariaDB 10.3. A brief search indicates this is the best choice.

Why am I doing this? In order to have a development environment for this WordPress 5 website. WordPress is widely used, but is not this developer’s cup of tea. However, it does have a strong community and it’s development is ongoing, so time to get on the bandwagon. Or at least use a staging methodology to push changes to www.metatooth.com.

My first website was of the LAMP variety. I guess 20 years is not that long for a platform’s life-cycle. What platform’s longevity surprises you? Tell me about it in the comments!