jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
Almalinux 8>9.md
| @@ -27,6 +27,6 @@ reboot | |||
| 27 | 27 | ||
| 28 | 28 | ```shell | |
| 29 | 29 | leapp preupgrade && leapp upgrade && \ | |
| 30 | - | history -c && history -W && reboot | |
| 30 | + | history -c && history -w && reboot | |
| 31 | 31 | ``` | |
| 32 | 32 | ||
jason revised this gist 1 year ago. Go to revision
1 file changed, 4 insertions
Almalinux 8>9.md
| @@ -17,6 +17,10 @@ sed -i 's,^SELINUX=.*,SELINUX=disabled,g' /etc/sysconfig/selinux | |||
| 17 | 17 | sed -i 's,^AllowZoneDrifting=yes,AllowZoneDrifting=no,g' /etc/firewalld/firewalld.conf | |
| 18 | 18 | ``` | |
| 19 | 19 | ||
| 20 | + | ```shell | |
| 21 | + | yum install -y leapp-upgrade leapp-data-almalinux | |
| 22 | + | ``` | |
| 23 | + | ||
| 20 | 24 | ```shell | |
| 21 | 25 | reboot | |
| 22 | 26 | ``` | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
Almalinux 8>9.md
| @@ -14,7 +14,7 @@ sed -i 's,^SELINUX=.*,SELINUX=disabled,g' /etc/sysconfig/selinux | |||
| 14 | 14 | ``` | |
| 15 | 15 | ||
| 16 | 16 | ```shell | |
| 17 | - | sed -i 's,^AllowZoneDrifting=yes,AllowZoneDrifting=no' /etc/firewalld/firewalld.conf | |
| 17 | + | sed -i 's,^AllowZoneDrifting=yes,AllowZoneDrifting=no,g' /etc/firewalld/firewalld.conf | |
| 18 | 18 | ``` | |
| 19 | 19 | ||
| 20 | 20 | ```shell | |
jason revised this gist 1 year ago. Go to revision
No changes
jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
Almalinux 8>9.md
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | # AlmaLinux 8 to 9 upgrade | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | yum update -y --allowdowngrade --nogpgcheck --skip-broken && reboot | |
| 4 | + | yum update -y --allowerasing --nogpgcheck --skip-broken && reboot | |
| 5 | 5 | ``` | |
| 6 | 6 | ||
| 7 | 7 | ```shell | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
Almalinux 8>9.md
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | # AlmaLinux 8 to 9 upgrade | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | yum update -y --nogpgcheck && reboot | |
| 4 | + | yum update -y --allowdowngrade --nogpgcheck --skip-broken && reboot | |
| 5 | 5 | ``` | |
| 6 | 6 | ||
| 7 | 7 | ```shell | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
Almalinux 8>9.md
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | # AlmaLinux 8 to 9 upgrade | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | yum update -y && reboot | |
| 4 | + | yum update -y --nogpgcheck && reboot | |
| 5 | 5 | ``` | |
| 6 | 6 | ||
| 7 | 7 | ```shell | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 3 insertions
Almalinux 8>9.md
| @@ -15,6 +15,9 @@ sed -i 's,^SELINUX=.*,SELINUX=disabled,g' /etc/sysconfig/selinux | |||
| 15 | 15 | ||
| 16 | 16 | ```shell | |
| 17 | 17 | sed -i 's,^AllowZoneDrifting=yes,AllowZoneDrifting=no' /etc/firewalld/firewalld.conf | |
| 18 | + | ``` | |
| 19 | + | ||
| 20 | + | ```shell | |
| 18 | 21 | reboot | |
| 19 | 22 | ``` | |
| 20 | 23 | ||
jason revised this gist 1 year ago. Go to revision
1 file changed, 5 insertions, 7 deletions
Almalinux 8>9.md
| @@ -1,22 +1,20 @@ | |||
| 1 | 1 | # AlmaLinux 8 to 9 upgrade | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | yum update -y | |
| 5 | - | reboot | |
| 4 | + | yum update -y && reboot | |
| 6 | 5 | ``` | |
| 7 | 6 | ||
| 8 | 7 | ```shell | |
| 9 | - | curl https://repo.almalinux.org/elevate/testing/elevate-testing.repo -o /etc/yum.repos.d/elevate-testing.repo | |
| 10 | - | rpm --import https://repo.almalinux.org/elevate/RPM-GPG-KEY-ELevate | |
| 8 | + | curl -q -LSsf https://repo.almalinux.org/elevate/testing/elevate-testing.repo -o /etc/yum.repos.d/elevate-testing.repo && rpm --import https://repo.almalinux.org/elevate/RPM-GPG-KEY-ELevate | |
| 9 | + | yum makecache | |
| 11 | 10 | ``` | |
| 12 | 11 | ||
| 13 | 12 | ```shell | |
| 14 | - | sed -i 's,SELINUX=.*,SELINUX=disabled,g' /etc/sysconfig/selinux | |
| 15 | - | reboot | |
| 13 | + | sed -i 's,^SELINUX=.*,SELINUX=disabled,g' /etc/sysconfig/selinux | |
| 16 | 14 | ``` | |
| 17 | 15 | ||
| 18 | 16 | ```shell | |
| 19 | - | sed -i 's,AllowZoneDrifting=yes,AllowZoneDrifting=no' /etc/firewalld/firewalld.conf | |
| 17 | + | sed -i 's,^AllowZoneDrifting=yes,AllowZoneDrifting=no' /etc/firewalld/firewalld.conf | |
| 20 | 18 | reboot | |
| 21 | 19 | ``` | |
| 22 | 20 | ||
jason revised this gist 1 year ago. Go to revision
1 file changed, 2 insertions, 3 deletions
Almalinux 8>9.md
| @@ -21,8 +21,7 @@ reboot | |||
| 21 | 21 | ``` | |
| 22 | 22 | ||
| 23 | 23 | ```shell | |
| 24 | - | leapp preupgrade | |
| 25 | - | leapp upgrade | |
| 26 | - | reboot | |
| 24 | + | leapp preupgrade && leapp upgrade && \ | |
| 25 | + | history -c && history -W && reboot | |
| 27 | 26 | ``` | |
| 28 | 27 | ||