Skip to content

Instantly share code, notes, and snippets.

View jose-d's full-sized avatar

jose_d jose-d

  • Institute of Physics | Czech Academy of Sciences
  • Prague | EU
View GitHub Profile
@mahamuniraviraj
mahamuniraviraj / installLatestGitOnCentOs7.txt
Created May 10, 2017 19:56
Install Latest Git On Cent OS 7
# Centos 7.3 comes with 1.8.3
# so update git from centos repo
yum update git
# it shows nothing to update
# we download git source and build and install latest git on Centos 7.3
@wesleyit
wesleyit / crontab_header.sh
Created September 26, 2014 20:03
A default crontab header that will make the life easier for those who don't remember cron fields or keywords.
## CRONTAB HINTS AND TIPS
##
##
## Entry Description Equivalent To
## @yearly (or @annually) Run once a year at midnight in the morning of January 1 0 0 1 1 *
## @monthly Run once a month at midnight in the morning of the first of the month 0 0 1 * *
## @weekly Run once a week at midnight in the morning of Sunday 0 0 * * 0
## @daily Run once a day at midnight 0 0 * * *
## @hourly Run once an hour at the beginning of the hour 0 * * * *
## @reboot Run at startup @reboot
@jshiell
jshiell / icinga-on-centos.sh
Last active February 27, 2016 16:10
Icinga on CentOS 6.4 via RPM
# These are very quick & dirty notes on getting Icinga installed on Centos 6.5 via RPMs,
# as most documentation seems to be based around source installation. It's mostly recovered from
# my history as I worked it out, so no guarantees are offered.
# Make EPEL available
sudo rpm -Uvh http://mirror.bytemark.co.uk/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
# Install HTTPd
sudo yum install httpd
sudo service https start