2023-08-17 00:14:59 +02:00
2023-07-23 09:06:08 +02:00
2023-07-23 10:38:05 +02:00
2023-07-13 14:28:09 +02:00
2023-08-17 00:06:25 +02:00
2023-08-16 23:09:20 +02:00

1. Installation of new servers

  • install ubuntu 20.04
  • get age key from SSH
nix-shell -p ssh-to-age --run 'ssh-keyscan example.com | ssh-to-age'
  • fix secrets files
nix-shell -p sops --run "sops updatekeys -y secrets.yaml"
  • run install command
./install.sh example.com

2. Web Server specific

  • change the permissions for /var/www
chown nginx:nginx /var/www
chmod 755 /var/www

3. Net data

  • Netdata data page: Add a node
  • Once you got the token, we will claim it to associate it to a node:
  • create /var/lib/netdata/cloud.d/token and write the token in it
  • run nix-shell -p netdata --run "netdata-claim.sh -id=$(uuidgen)" as root
  • your node should be registered in Netdata cloud

4. Add new Host

sftp host.cloonar.com@git.cloonar.com:/config/bootstrap.sh ./
Description
No description provided
Readme 936 MiB
Languages
Nix 88.1%
Lua 5.8%
Shell 5.7%
CSS 0.2%
Dockerfile 0.1%