From ed8ccbe5951bf220c04680874aac167dc9f03145 Mon Sep 17 00:00:00 2001 From: numero gauche Date: Wed, 23 Apr 2025 17:48:54 +0000 Subject: [PATCH 1/4] server.md edited online with Bitbucket --- tutos/server.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutos/server.md b/tutos/server.md index 1292d21..a1ef4ce 100644 --- a/tutos/server.md +++ b/tutos/server.md @@ -3,6 +3,7 @@ ssh huho@62.210.206.99 --- install new os steps : + - exemple os : proxmox - connect to ecowan - activate IPMI (Intelligent Platform Management Interface) : @@ -19,6 +20,7 @@ install new os steps : - i also added it to the PATH **~/.local/bin/idracclient.py** so you can call it from anywhere like that : **idracclient.py -u ** 3. or use a java console, manually (you need to download all the java packages), - folder architecture : + ``` idrac-folder/ ├── jre/ ← contains bin/java ├── jnlp/ ← optional: keep the original .jnlp here for backup @@ -27,6 +29,7 @@ install new os steps : │ ├── libavctKVMIO.so │ └── libavmLinux.so └── start-virtual-console.sh + ``` - jre/ : - download from oracle : https://www.oracle.com/java/technologies/javase/javase7-archive-downloads.html - download `1.7.0_80 or 1.7.0_79` : `jre-7u80-macosx-x64.tar.gz` or `jre-7u79-macosx-x64.tar.gz` (need to create an account) From 41affde9f8dcbde8fc9bec10d41bbeb84b7377ac Mon Sep 17 00:00:00 2001 From: numero gauche Date: Wed, 23 Apr 2025 19:45:52 +0000 Subject: [PATCH 2/4] server.md edited online with Bitbucket about proxmox --- tutos/server.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/tutos/server.md b/tutos/server.md index a1ef4ce..19281e1 100644 --- a/tutos/server.md +++ b/tutos/server.md @@ -138,9 +138,74 @@ todo list : - [ ] Monitor with cockpit or netdata - [ ] Set up email notifications for Proxmox alerts - --- +when i connect to proxmox i get this message : You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options. +ChatGPT said: + +Yep, that message is normal if you're using the free version of Proxmox without a paid subscription. +💡 What it means + + Proxmox VE (Virtual Environment) is open source and free to use. + + But they offer enterprise support via paid subscriptions. + + That message is just a reminder—it doesn’t block any functionality (except access to the enterprise repo). + +✅ Your Options +1. Ignore It + + Totally safe to ignore. + + It just appears after login on the web UI. + +2. Disable the Message (UI Only) + +You can remove the popup by editing a file on your Proxmox host: + +nano /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js + +Search for: + +if (data.status !== 'Active') { + +And change it to: + +if (false) { + +Then save (Ctrl+O, Enter, Ctrl+X) and clear your browser cache or reboot the UI: + +systemctl restart pveproxy + +⚠️ Note: This gets overwritten when you update Proxmox, so it’s a temporary cosmetic fix. +3. Switch to the Free Repo + +Make sure you're using the no-subscription repository for updates: + +Edit this file: + +nano /etc/apt/sources.list.d/pve-enterprise.list + +Comment out the enterprise repo: + +# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise + +Then add the no-subscription repo: + +echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list + +And update: + +apt update && apt full-upgrade + +Let me know if you want help setting that up or if you're considering a subscription. + +------------------------------------------------------------------------------------- +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + END PROXMOX +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +------------------------------------------------------------------------------------- + ipv6 : fe80::d6ae:52ff:fec9:29d6 netmask : 64 gateway : fe80::226:bff:feef:59ff From b65d65379305fdbb36178aadfc0f8a916431d1f4 Mon Sep 17 00:00:00 2001 From: hugo LAMY Date: Sat, 10 May 2025 11:32:20 +0200 Subject: [PATCH 3/4] added ssh precisions --- tutos/server.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutos/server.md b/tutos/server.md index 19281e1..fffd470 100644 --- a/tutos/server.md +++ b/tutos/server.md @@ -225,6 +225,9 @@ gateway : fe80::226:bff:feef:59ff - **ssh-copy-id -o PreferredAuthentications=password -i /path/to/key.pub @** - first time you authenticate by key : - **ssh -i /path/to/key @** +- if next times you still need it ? + - check if key is loaded into agent : **ssh-add -l** + - if not, add it : **ssh-add ~/.ssh/your_key** ## list user : **cat /etc/passwd** From f3f59d3902aef85ef18b3822ff3fe0f4ec112d57 Mon Sep 17 00:00:00 2001 From: hugo LAMY Date: Thu, 12 Feb 2026 11:42:10 +0100 Subject: [PATCH 4/4] improve uninstall script --- uninstall.sh | 62 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/uninstall.sh b/uninstall.sh index c0ae379..84948e9 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -29,34 +29,56 @@ function restore_bak # receive 1 argument : absolute path to config file function uninstall { - file_to="$1" - file_name="$(basename $1)" - path_file_to="$(dirname $1)" + local file_to="$1" + local file_name="$(basename "$1")" + local path_file_to="$(dirname "$1")" + + echo -e $B_BLUE"--- Uninstalling \"$file_name\" ---"$ENDCO + # -L check if is symlink - if [ -f $file_to ] && [ -L $file_to ] + if [ -L "$file_to" ] then - if grep -q $KEY_PHRASE $file - then - if [ -f $file_to.hubak0 ] - then - echo -en $YELLOW"in " - echo -en $CYAN"\"$path_file_to/\"" - echo -en $YELLOW", rm symlink " - echo -en $CYAN"\"$file_name\""$ENDCO"\n" - rm $file_to - restore_bak $file_to - fi + echo -e $YELLOW"Found symlink: $file_to"$ENDCO + # The symlink target is what we need to check for the key phrase + local target_file=$(readlink "$file_to") + if [ ! -f "$target_file" ]; then + echo -e $RED"Symlink is broken."$ENDCO + # Decide if you want to do something with broken symlinks, e.g. remove them. + return fi + + if grep -q "$KEY_PHRASE" "$target_file" + then + echo -e $GREEN"Key phrase found. This is one of our config files."$ENDCO + echo -en $YELLOW"in " + echo -en $CYAN"\"$path_file_to/\"" + echo -en $YELLOW", rm symlink " + echo -en $CYAN"\"$file_name\""$ENDCO"\n" + rm "$file_to" + + if [ -f "$file_to.hubak0" ] + then + restore_bak "$file_to" + else + echo -e $YELLOW"No backup file found to restore."$ENDCO + fi + else + echo -e $RED"Key phrase not found. Skipping to avoid removing a file not managed by this script."$ENDCO + fi + else + echo -e $YELLOW"Not a symlink, or does not exist. Skipping: $file_to"$ENDCO fi + echo # Add a blank line for readability } # argument : directory where the config file should go +echo -e $B_MAGENTA"--- Starting uninstall process ---"$ENDCO"\n" uninstall "$HOME/.screenrc" uninstall "$HOME/.vimrc" uninstall "$HOME/.zshrc" -uninstall "$home/.vim/templates/skeleton_color.h" -uninstall "$home/.vim/templates/skeleton.cpp" -uninstall "$home/.vim/templates/skeleton.hpp" -uninstall "$home/.vim/templates/skeleton_main.cpp" -uninstall "$home/.vim/templates/skeleton_makefile" +uninstall "$HOME/.vim/templates/skeleton_colors.h" +uninstall "$HOME/.vim/templates/skeleton.cpp" +uninstall "$HOME/.vim/templates/skeleton.hpp" +uninstall "$HOME/.vim/templates/skeleton_main.cpp" +uninstall "$HOME/.vim/templates/skeleton_makefile"