Articles

Installing RHEL packages without network connection

If you haven't found yourself in this situation while working as a Linux sysadmin, you will -- one day or the other. You need to install a package (let's call it Foobar) on a RHEL server which, for some reason, has no connection to the network.…

SELinux – How to confine a Tomcat application on RHEL6 / CentOS6 – part 2

Part 1 is here. Another method of confining Tomcat is to create a completely new domain in which your application, as well as Tomcat and Java, will be running. Let's create a new domain by inheriting it from the tomcat_t domain. In the…

SELinux – How to confine a Tomcat application on RHEL6 / CentOS6 – part 1

This article will explain how to use SELinux to confine a Tomcat application on RHEL6 / CentOS6. By default, Tomcat runs as tomcat_t, which is an unconfined type. This is difficult to find out, because the documentation is scarce on the different…

Virtual machines backup script for RHEV 3

Red Hat Enterprise Virtualization 3 (RHEV) comes with a great API that makes it easy to write Python scripts or Java programs for administrative tasks. The full documentation is available here : https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/index.html A…