Skip to content

Instantly share code, notes, and snippets.

View heidenski's full-sized avatar

Radenda Manggala heidenski

  • Jakarta
View GitHub Profile
@heidenski
heidenski / ntp.conf
Created June 16, 2020 04:11 — forked from phillipuniverse/ntp.conf
Set up NTP with Ansible, dedicating one as a timelord
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
@heidenski
heidenski / gist:ead2641dd829d6eca0a70ea4f9d500b1
Created December 26, 2019 03:45 — forked from learncodeacademy/gist:5850f394342a5bfdbfa4
SSH Basics - Getting started with Linux Server Administration

###SSH into a remote machine###

ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1

exit: exit ###Install Something###

#If it's a new server, update apt-get first thing