It was only last March that here at work we’ve updated our machines to Ubuntu 16.04 LTS, just a month before the 2018 edition of the server-ready realease of the Linux distribution that has come to be de ‘de-facto’ standard for Bioinformatics.
I am running mysqltuner to see how the server can be most finely tuned. Unfortunately the package still has problems (ie. in two years the updated version has not been back ported) so I am facing the mysqltuner ERROR 1054 on Ubuntu Server 16.04.
Here’s how I solved it, after a quick digging’ on my search engine:
git clone https://github.com/major/MySQLTuner-perl.git
sudo mv /usr/bin/mysqltuner /usr/bin/mysqltuner.bak
sudo ln -s /opt/MySQLTuner-perl/mysqltuner.pl /usr/bin/mysqltuner
Then I’ve successfully ran my script. Enjoy!
After discovering this project, I brought a Raspberry Pi 3 Model B from french company Kubii and started configuring it. I’m struggling to make it work, but I fear that the problem is with the wi-fi setting of my Raspbian connection.
Anyway give an eye to the Pi-Hole project
The Pi-hole is an advertising-aware DNS server that prevents ads from being downloaded. Once installed, configure your router to have DHCP clients use the Pi as their DNS server and then any device that connects to your network will have ads blocked without any further configuration. Alternatively, you can manually set each device to use the Raspberry Pi as its DNS server.
Great news for use consumers. Let’s hope that this SmartDeviceLink technology takes gear, gathering more automotive Big Names and a good amount of indipendent developers to it !
Lately I had to reconfigure an Ubuntu 14.04 server.
Dealing with Tomcat 7 I’ve encountered those two situations:
Enable larger file uploads via Tomcat manager
I had a ~180 war file to deploy. Ubuntu’s Tomcat setting put a limit at 50MB. This has been solved using the tips in this post by skotfred. Unfortunately I haven’t found a more orthodox way of achieving this other than modify the /usr/share/tomcat7-admin/manager/WEB-INF/web.xml in the values max-file-size and max-request-size.
Enable Tomcat monitoring in Munin
Here I’ve followed the tips over this Serverfault discussions.
Adding a [tomcat_ *] was the key.
The other day, after a do-release-update on an Ubuntu box I had some issues with a package which told me:
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
here’s how I solved:
mv /var/lib/dpkg/info/BROKEN-PACKAGE.* /tmp/
dpkg --remove --force-remove-reinstreq BROKEN-PACKAGE