Category Archives: Linux & Solaris

Migrate and upgrade Tenable Security Center from RHEL6/CentOS6 to RHEL7/CentOS7

Overview I had Tenable Security Center running on a RHEL6 VM which scans around 1000 hosts several times a week. REHL6 is getting a bit long-in-the-tooth and also there was a need to upgrade to the latest and greatest version of … Continue reading

Posted in Linux & Solaris | Tagged , , , , , , | Leave a comment

How to prevent audit logs appearing in /var/log/messages – RHEL7

Overview For RHEL7. This took more work than I anticipated. My goal was this: Write audit logs to /var/log/audit Forward audit and syslog to central logging server Audit logs to NOT appear in /var/log/messages The items 1 and 2 were … Continue reading

Posted in Linux & Solaris | Tagged , , , , | Leave a comment

Adding a custom unit file RHEL7, for swatch

swatch is a Linux tool for watching (it uses ”tail -f”) log files and then demonizes it. I had a need to know when a host needed rebooting after yum-cron had updated the kernel, rather than logging into each host … Continue reading

Posted in Linux & Solaris | Tagged , , , , , , | Leave a comment

Adding vmware-tools to Centos5 or RHEL

Adding vmware-tools to RHEL6 or greater is easy, assuming you have the EPEL repo enabled all you do is: yum install open-vm-tools.x86_64 That’s it your done. Things are a tad more complicated for lower version of RHEL, for example RHEL5, … Continue reading

Posted in Linux & Solaris | Tagged | 4 Comments

Getting Oracle Instant Client, PHP, and oci8 all working

I had one hell of a game getting all of this working together, it didn’t help that the server has been CIS hardened, anyway, here is how I got it working, and one word of advice, everything seems very version … Continue reading

Posted in Linux & Solaris | Tagged | Leave a comment

CentOS6.4 – X11 Forwarding session using SSH fails

From time to time I use X11 forwarding to connect to various web management interfaces on remote servers, I had just done a new install of CenOS6.4 64-bit minimal to try out Backuppc, went to run the webGUI by doing … Continue reading

Posted in Linux & Solaris | Tagged , , , | Leave a comment

Samba troubleshooting tips & tricks

You are having problems getting samba to do your beck and call, and it’s not working as it should, well here a few things to help you diagnose things – it’s assumed you have the basic already configured. First, crank … Continue reading

Posted in Linux & Solaris | Tagged , , , | Leave a comment

Rolling back Samba to an older version on RHEL

I recently had the need to downgrade the version of samba that comes with RHEL6.4 64-bit, I had authentication issues within our domain environment with the newer versions, older versions of samba seem to work fine, so I needed to … Continue reading

Posted in Linux & Solaris | Tagged , , , , | Leave a comment

Creating a SELinux policy for the named daemon in a chrooted BIND9 configuration

I recently configured chrooted BIND9 slave on RHEL6.4 64-bit, with SELinux enabled, with this enabled the named daemon failed to start, easily tested by disabling SELinux, and then starting it, which would then be successful.  So, I needed to create … Continue reading

Posted in Linux & Solaris | Tagged , , , , , | Leave a comment

RHEL6.4-64 – No networking after cloning via template VM using vSphere client

I had a VMware VM of a RHEL6.4 64-bit  machine, security hardened to CIS standards, converted to VM template within vSphere as it was going to be reused, I then used ‘Clone to New Virtual Machine’ to…well..erm..clone it, this worked … Continue reading

Posted in Linux & Solaris | Tagged , , | 1 Comment