If you look around on the internet you may find a lot of blogs guiding you on the installation of Jetty in RHEL 7 (or CentOS) which require you to download a new fresh distribution of Jetty tarball.
Since Jetty is already packaged in RHEL 7, I’d rather use the packaged version instead of adding a new piece of software which I would need to maintain afterwards.
Below the procedure I’ve applied to get a working Jetty deployment integrated with systemd with multi instance support (that is you can deploy more instances of Jetty if you need to).
Back in the 90s I was used to hang out on the irc network, and there, for many years, I’ve used the cyberz nickname, hence cyberz.org.
But life goes on and a lot of things changed – including myself. So I’ve decided to get a new domain – vleo.org – so here we are!
Sometimes you may want to override the default SELinux context for a given path.
This can be easily accomplished editing
/etc/selinux/targeted/contexts/files/file_contexts.local adding an entry (which is made by a path regexp and the selinux content). Follows an example:
Nowadays virtual environment are very common, thus a hot increase of an existing drive into a virtual machine is a very common operation (roughly equivalent to a LUN expansion in SAN).
When you expand a zpool device, the new size won’t be immediately available to zfs, but you can easily request an expand with the following:
Here’s the procedure for adding Oracle 12c DBMS as SMF service in Solaris 11.1, based on this guide. The version provided here is slightly modified for the sake of simplicity as It needs only the oracle.xml to run (no additional scripts or configuration are required).
The procedure should work even with previous versions of Oracle DBMS and Solaris 11/10 (untested).
Some time ago I’ve built some code to declare Finite State Machines in Java in an annotated fashion so you wouldn’t have to bother yourself with state handling. Since it turned out that the code has been useful in more than a couple occasions, I’ve decided to share it.
JSM comes as a tiny jar with an easy to use interface.
— More to come here! —
After putting your precious data into your preferred database (Oracle or MySQL if you’re here) your next worry should be how to back them up. Here Bacula comes to help as a valid opensource network enterprise backup system – but how to get it working with your database?
In this post you’ll find some scripts which I developed to integrate Oracle or MySQL seamlessly with Bacula, allowing it to:
- Do (hot) full backup of the database
- Do (hot) incremental backup (also known as incremental differential backup)
- Do (hot) differential backup (also known as incremental cumulative backup)