Skip to content

Instantly share code, notes, and snippets.

View frederickding's full-sized avatar

Frederick Ding frederickding

View GitHub Profile
@superseb
superseb / rke2-commands.md
Last active July 25, 2024 09:21
RKE2 commands

RKE2 commands

  • Updated on May 29 to accommodate etcd container not having /bin/sh available anymore.

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@jirutka
jirutka / README.adoc
Last active May 6, 2023 17:38
Script for periodical synchronization of data (e.g. mirrors) using rsync

Files

  • /etc/periodic/15min/sync-mirror-alpine → /usr/local/bin/sync-mirror (symlink)

  • /etc/sync-mirror.d/alpine.conf

  • /usr/local/bin/sync-mirror

  • /var/www/mirrors/alpine