These config files are solely for use in my test lab or on my Linux or macOS desktop. It is up to you whether or not to use them. Please note that they are not backed by any warranty or guarantee, and you assume all risks associated with using them. I, as the author, cannot be held responsible for any damages that may arise.
Use wget command or curl command to download files.
wget -q -O "/home/$USER/.bashrc" "https://raw.githubusercontent.com/nixcraft/config/main/.bashrc"
OR
#!/bin/bash
set -e
....
......
..
log "Configure lxd and firewall rules ..."
wget -q -O /tmp/lxd.default.init "https://raw.githubusercontent.com/nixcraft/config/main/lxd.default.init"
cat /tmp/lxd.default.init | lxd init --preseed
rm -fv /tmp/lxd.default.init
...
...
- See How to reload sysctl.conf variables in Linux, Linux Kernel /etc/sysctl.conf Security Hardening , and Linux Server Hardening Security Tips
This repository may be mentioned in the nixCraft blog and tutorials. Hence, it will always remain public.