Installing Git on Citrix XenServer 6.5

17 Mar

As XenServer 6.5 is based on CentOS 5, we can use the corresponding EPEL repositories to install Git as follow: yum repolist wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm rpm -Uvh epel-release-latest-5.noarch.rpm this will install git, perl-Error, perl-Git and perl-TermReadKey yum install git now disable … Read More »

Testing logcheck rules…

17 Mar

I keep on forgetting how to do this, so that’s simply a short reminder. Running this command will show the MATCHING lines for the rules in the given rule-file: RULES=“ntp-local” LOGF=”/tmp/syslog_logcheck_testfile” sudo -u logcheck logcheck-test —rule-file $RULES —log-file $LOGF