This post is inspired by https://github.com/miguel-rodriguez/alfresco-monitoring and there’s a lot of useful info in there. The aim of this post is to allow you to quickly get up and running and monitoring your logs. I’m using puppet to install, even though we don’t have a puppet master, as there are modules provided by Elastic Search […]
Category Archives: Linux
Puppet – the very basics
Installing puppet apt-get -y install ntp dpkg -i puppetlabs-release-pc1-xenial.deb gpg –keyserver pgp.mit.edu –recv-key 7F438280EF8D349F apt-get update Puppet agent apt-get install puppet-agent Edit /etc/puppetlabs/puppet/puppet.conf to add the [master] section puppet agent -t -d Note this does apply the changes! Then you can start the puppet service export PATH=$PATH:/opt/puppetlabs/bin Puppet server apt-get install puppetserver You will probably […]
OpenLDAP – some installation tips
These are some tips for installing OpenLDAP – you can get away without these but it’s useful stuff to know. This relates to Ubuntu 14.04. Database configuration It’s a good idea to configure your database otherwise it, especially the log files, can grow significantly over time if you’re running a lot of operations. dn: olcDatabase={1}hdb,cn=config […]
CAS, OpenLDAP and groups
This is actually fairly straightforward if you know what you’re doing unfortunately it takes a while, for me at least, to get to that level of understanding. Probably the most important thing missing from the pages I’ve seen describing this is that you need to configure OpenLDAP first. OpenLDAP What you want is to enable […]
How to tell if my DHCP ipaddress has changed
A line of script to send you an email if your DHCP allocated IP address has changed. Either run it from a cron or put it in /etc/rc.local ls -rt /var/lib/dhcp/dhclient*eth0* | xargs grep fixed-address | tail -2 | awk ‘{print $3}’ | xargs echo -n | sed -e ‘s/;//g’ | awk ‘{if ($1 != […]