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
Sometimes I find myself in the situation of having to lauch some graphical software like synaptic, gedit, baobab while already using the server as root from the command line. I do not want to ‘exit’ my session and use the previous methods of which I’ve written in the past.
This is how I did it.
koolinus@localhost:~$ ssh -Y firstname.lastname@example.org
koolinus@remote:~$ sudo -i
root@remote:~# touch .Xauthority
root@remote:~# xauth merge /home/koolinus/.Xauthority
And that’s all. Now I can launch the needed program without interrupting my root session, for example:
root@remote:~# baobab &
Fwd: Ubuntu 13.10 (Saucy Salamander) released
The Ubuntu team is very pleased to announce the release of Ubuntu 13.10 for Desktop, Server, Cloud, Phone, and Core products.
Codenamed “Saucy Salamander”, 13.10 continues Ubuntu’s proud tradition of integrating the latest and greatest open source technologies into a high-quality, easy-to-use Linux distribution. The team has been hard at work through this cycle, introducing new features and fixing bugs.
Ubuntu 13.10 introduces the first release of Ubuntu for phones and Ubuntu Core for the new 64-bit ARM systems (the “arm64” architecture, also known
as AArch64 or ARMv8), and improved AppArmor confinement. In addition to these flagship features there are also major updates throughout.
Ubuntu Server 13.10 includes the Havana release of OpenStack, alongside deployment and management tools that save devops teams time when
deploying distributed applications – whether on private clouds, public clouds, x86 or ARM servers, or on developer laptops. Several key server
technologies, from MAAS to Ceph, have been updated to new upstream versions with a variety of new features.
Maintenance updates will be provided for Ubuntu 13.10 for 9 months, through July 2014.
To get Ubuntu 13.10
In order to download Ubuntu 13.10, visit: