Using Cloudinit and Netplan with IP’s on a different Network and Gateway

If you’ve ever had to utilize a hosting provider that offers the option to buy extra IPs or failover IP addresses, you may have observed instances where these IPs shared the same gateway as your original IPs, rather than being part of the additional IP network. Here are some of the providers I’m aware of … Read more

Setting up MySQL Statistics in Netdata

MySQL Metrics in Netdata

You might noticed MySQL statistics aren’t being show in Netdata. Here’s what I ran into. Error: “MySQLdb or PyMySQL module is needed to use mysql.chart.py plugin” The required python libraries for MySQL are missing, so you simply need to install them. For Ubuntu/Debian the following command should correct it. Setting up Netdata MySQL User You … Read more

Xen Ubuntu 18 Guest Creation Using xen-create-image (bionic template and netplan fix included)

So I was having issues with deploying Ubuntu 18 guests on a Xen hypervisor. It originally started with a template for bionic not existing. This is easily fixed with a couple of commands to copy the karmic.d template to bionic.d template. However, once your host boots up. You’re now faced with a network issue as … Read more

Tips and Tricks for Building Ubuntu Packages and Compiling

If you’re about to build packages apt-get install build-essential If you can’t find debbuild apt-get install devscripts You receive the following error dh: unable to load addon quilt: Can’t locate Debian/Debhelper/Sequence/quilt.pm in @INC (you may need to install the Debian::Debhelper::Sequence::quilt module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 13) … Read more

Creating ISO Partition on Local Disk for XenServer/XenCenter 6.5

I just started playing with XenServer/XenCenter 6.5 and found a couple of templates required ISO images. Specifically Ubuntu 14.04 LTS Trusty Tahr due to a bug, you can google it. Other Images like Ubuntu 12.04 Precise Pangolin didn’t require an ISO and just needed a URL to install. Funny enough this failed for me, I was … Read more

Apache Tomcat Native library Not Found Error on Ubuntu

Sometimes you might get the following error message in your logs for your Tomcat instance under Ubuntu. The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found   To fix this issue, simply run the following command to install the appropriate library. apt-get install libtcnative-1   The error … Read more