From d82801a8f19dbaad0a52d96e517591a582ab9bca Mon Sep 17 00:00:00 2001 From: Fabrice Quenneville Date: Fri, 13 Dec 2024 19:39:50 -0500 Subject: [PATCH] Obfuscated stor2 references with `` placeholder and refined placeholders. - Updated ``, ``, ``, and `` placeholders to include `.domain.com` in examples. - Added `` placeholder for clarity. - Applied changes across all guides for consistency and enhanced obfuscation. --- setups/debian_setup_aptly.md | 15 ++++++++------- setups/debian_setup_gitea.md | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/setups/debian_setup_aptly.md b/setups/debian_setup_aptly.md index d10783b..af3da91 100644 --- a/setups/debian_setup_aptly.md +++ b/setups/debian_setup_aptly.md @@ -63,10 +63,11 @@ Replace the placeholders below with the appropriate values for your setup: - **Server Configuration** - Server IP address: `` (e.g., 192.168.1.100) - - Hostname - Intranet: `` (e.g., aptly-server) + - Hostname - Intranet: `` (e.g., aptly-server.domain.com) - Hostname - Internet: `` (e.g., aptly.domain.com) - - Hostname - Hypervisor: `` (e.g., proxmox-hypervisor) - - Hostname - Hypervisor NAS: `` (e.g., nas-server) + - Hostname - Hypervisor: `` (e.g., proxmox-hypervisor.domain.com) + - Hostname - Hypervisor NAS: `` (e.g., nas-server.domain.com) + - Name - Hypervisor NAS: `` (e.g., nas-server) - **SSH Keys** @@ -139,13 +140,13 @@ ssh @ "ls /mnt/proxmox/template/cache/" **Create the container** ```bash -ssh @ "pct create 100 stor2:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs stor2:250 --unprivileged 1 --features nesting=1 --ssh-public-keys --start 1" +ssh @ "pct create 100 :vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs :250 --unprivileged 1 --features nesting=1 --ssh-public-keys --start 1" ``` **Backup** ```bash -ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" +ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" ``` **Set the state of the Proxmox HA Manager for Container 100** @@ -219,7 +220,7 @@ chown -R aptly:aptly /home/aptly/.ssh/ 2. **Backup before starting** ```bash - ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" + ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" ``` 3. **Install Required Dependencies** @@ -623,7 +624,7 @@ chown -R aptly:aptly /home/aptly/.ssh/ ```bash ssh @ "ha-manager set ct:100 --state stopped" - ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\"" + ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\"" ``` 15. **Start the server** diff --git a/setups/debian_setup_gitea.md b/setups/debian_setup_gitea.md index fe68410..7c1cd0f 100644 --- a/setups/debian_setup_gitea.md +++ b/setups/debian_setup_gitea.md @@ -58,10 +58,11 @@ Replace the placeholders below with the appropriate values for your setup: - **Server Configuration** - Server IP address: `` (e.g., 192.168.1.100) - - Hostname - Intranet: `` (e.g., gitea-server) + - Hostname - Intranet: `` (e.g., gitea-server.domain.com) - Hostname - Internet: `` (e.g., gitea.domain.com) - - Hostname - Hypervisor: `` (e.g., proxmox-hypervisor) - - Hostname - Hypervisor NAS: `` (e.g., nas-server) + - Hostname - Hypervisor: `` (e.g., proxmox-hypervisor.domain.com) + - Hostname - Hypervisor NAS: `` (e.g., nas-server.domain.com) + - Name - Hypervisor NAS: `` (e.g., nas-server) - **SSH Keys** @@ -125,13 +126,13 @@ ssh @ "ls /mnt/proxmox/template/cache/" **Create the container** ```bash -ssh @ "pct create 100 stor2:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs stor2:250 --unprivileged 1 --features nesting=1 --ssh-public-keys --start 1" +ssh @ "pct create 100 :vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs :250 --unprivileged 1 --features nesting=1 --ssh-public-keys --start 1" ``` **Backup** ```bash -ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" +ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" ``` **Set the state of the Proxmox HA Manager for Container 100** @@ -207,7 +208,7 @@ cat /home//.ssh/.pub >> /home//.ssh/authorized_key 2. **Backup before starting** ```bash - ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" + ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\"" ``` 3. **Install Required Dependencies** @@ -503,7 +504,7 @@ cat /home//.ssh/.pub >> /home//.ssh/authorized_key ```bash ssh @ "ha-manager set ct:100 --state stopped" - ssh @ "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\"" + ssh @ "vzdump 100 --compress zstd --mode stop --storage --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\"" ``` 20. **Start the server**