wget -O upgrade.sh 'https://gist.github.com/Bonveio/bb40b778b33ef06868c14c0240f25967/raw/upgrade.sh'
- Debian 10 to 11
bash upgrade.sh 11 - Debian 11 to 12
bash upgrade.sh 12 - Debian 12 to 13
bash upgrade.sh 13
| #!/bin/bash -e | |
| # cleanup old installation | |
| rm -rf /etc/redis | |
| rm -rf /var/lib/redis | |
| rm $HOME/redis.sh | |
| deluser --force --remove-home redis | |
| # Install the Build and Test Dependencies | |
| apt-get update |
| @echo off | |
| setlocal enabledelayedexpansion | |
| if {%1}=={} ( | |
| echo Usage: %~nx0 [vhd] [letter] | |
| exit /b 1 | |
| ) | |
| set vhdPath=%~dpnx1 | |
| set driveLetter=%2 |