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’...
View ArticleCreating 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...
View ArticleRolling 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...
View ArticleSamba 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...
View ArticleCentOS6.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...
View ArticleGetting 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...
View ArticleAdding 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...
View ArticleAdding 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...
View ArticleHow 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...
View ArticleMigrate 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...
View Article