generated from sig_core/wiki-template
Compare commits
3 Commits
95cc56019e
...
2ca84c6fb8
Author | SHA1 | Date | |
---|---|---|---|
2ca84c6fb8 | |||
89c5def5d7 | |||
735dc00201 |
@ -10,24 +10,34 @@ This SOP details the necessary steps for performing a system upgrade on an openQ
|
|||||||
|
|
||||||
1. Verify current installation is fully upgraded
|
1. Verify current installation is fully upgraded
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf upgrade --refresh
|
dnf upgrade --refresh
|
||||||
|
```
|
||||||
|
|
||||||
1. Install system upgrade plugin
|
1. Install system upgrade plugin
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf install dnf-plugin-system-upgrade
|
dnf install dnf-plugin-system-upgrade
|
||||||
|
```
|
||||||
|
|
||||||
1. Download the upgrade packages for next version
|
1. Download the upgrade packages for next version
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf system-upgrade download --releasever=[newversion]
|
dnf system-upgrade download --releasever=[newversion]
|
||||||
|
```
|
||||||
|
|
||||||
1. Reboot into offline upgrade mode
|
1. Reboot into offline upgrade mode
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf system-upgrade reboot
|
dnf system-upgrade reboot
|
||||||
|
```
|
||||||
|
|
||||||
1. Post-reboot cleanup
|
1. Post-reboot cleanup
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf system-upgrade clean
|
dnf system-upgrade clean
|
||||||
dnf clean packages
|
dnf clean packages
|
||||||
|
```
|
||||||
|
|
||||||
## Post-Upgrade Tasks
|
## Post-Upgrade Tasks
|
||||||
|
|
||||||
@ -37,23 +47,29 @@ These steps may also be necessary in some (but not all) cases.
|
|||||||
|
|
||||||
1. Install postgresql-upgrade package
|
1. Install postgresql-upgrade package
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
dnf install postgresql-upgrade
|
dnf install postgresql-upgrade
|
||||||
|
```
|
||||||
|
|
||||||
1. Upgrade your postgres database
|
1. Upgrade your postgres database
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
sudo -iu postgres
|
sudo -iu postgres
|
||||||
postgresql-setup --upgrade
|
postgresql-setup --upgrade
|
||||||
|
```
|
||||||
|
|
||||||
### Re-apply Rocky branding
|
### Re-apply Rocky branding
|
||||||
|
|
||||||
1. Obtain the [Ansible openQA deployment repository](https://git.resf.org/infrastructure/ansible-openqa-management)
|
1. Obtain the [Ansible openQA deployment repository](https://git.resf.org/infrastructure/ansible-openqa-management){target=_blank}
|
||||||
|
|
||||||
1. Run the branding related tasks
|
1. Run the branding related tasks
|
||||||
|
|
||||||
|
``` bash linenums="1"
|
||||||
ansible-playbook init-openqa-rocky-developer-host.yml -t branding
|
ansible-playbook init-openqa-rocky-developer-host.yml -t branding
|
||||||
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/
|
- [Upgrading Fedora using the DNF system upgrade](https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/){target=_blank}
|
||||||
https://www.makeuseof.com/how-to-upgrade-to-fedora-workstation-36/
|
- [How to Easily Upgrade to Fedora Workstation 36](https://www.makeuseof.com/how-to-upgrade-to-fedora-workstation-36/){target=_blank}
|
||||||
|
|
||||||
{% include "content_bottom.md" %}
|
{% include "content_bottom.md" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user