CKB:Updating openSUSE manually: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
(15.4 auf 15.5) |
||
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==Applies To== | ==Applies To== | ||
{{NoteBox|title=|content=openSUSE | {{NoteBox|title=|content=Cryptshare Appliance with openSUSE 15.3 or later | ||
}} | }} | ||
==Problem== | ==Problem== | ||
Operating system is not up to date and may have unpatched security vulnerabilities. | |||
==Cause== | ==Cause== | ||
No regular OS updates made via the Cryptshare Server Admin Interface when these were available. | |||
==Solution/Workaround == | ==Solution/Workaround == | ||
{{WarnBox|title=Backup of the entire system|content=It is highly recommended to make a full backup/snapshot of the server in order to be able to restore the state before the first | {{WarnBox|title=Backup of the entire system|content=It is highly recommended to make a full backup/snapshot of the server in order to be able to restore the state before the first update steps were made. | ||
}} | }} | ||
Zeile 16: | Zeile 22: | ||
- log in as '''root''' on the appliance | |||
- stop Cryptshare service with the command | - stop Cryptshare service with the command | ||
Zeile 21: | Zeile 28: | ||
'''rccryptshare stop''' | '''rccryptshare stop''' | ||
- run the following commands, to install current patches | |||
'''zypper refresh''' | |||
'''zypper up -t patch''' | '''zypper up -t patch''' | ||
Zeile 34: | Zeile 37: | ||
'''zypper up -t patch''' | '''zypper up -t patch''' | ||
[[Datei:Nothing to do..jpg|mini|ohne]] | [[Datei:Nothing to do..jpg|mini|ohne]] | ||
Zeile 39: | Zeile 43: | ||
'''Step 2: Manually OS upgrade to openSUSE-15. | ===== '''Step 2: Manually OS upgrade to openSUSE-15.5''' ===== | ||
- run the following commands, to add new repositories | - run the following commands, to add new repositories | ||
'''wget | '''wget https://update.cryptshare.com/cryptshare/scripts/addRepo-15.5<nowiki/>.sh''' | ||
'''sh addRepo-15.5.sh''' | |||
- run the following command, to perform the OS upgrade | - run the following command, to perform the OS upgrade | ||
Zeile 56: | Zeile 55: | ||
- wait for the process is finishing | - wait for the process is finishing | ||
- run the commands | - run the commands | ||
Zeile 64: | Zeile 61: | ||
'''reboot''' | '''reboot''' | ||
- after rebooting log in again as '''root''' | - after rebooting log in again as '''root''' | ||
Zeile 77: | Zeile 73: | ||
''NAME="openSUSE Leap"'' | ''NAME="openSUSE Leap"'' | ||
'''''VERSION="15. | '''''VERSION="15.5"''''' | ||
''ID="opensuse-leap"'' | ''ID="opensuse-leap"'' | ||
Zeile 83: | Zeile 79: | ||
''ID_LIKE="suse opensuse"'' | ''ID_LIKE="suse opensuse"'' | ||
'''''VERSION_ID="15. | '''''VERSION_ID="15.5"''''' | ||
'''''PRETTY_NAME="openSUSE Leap 15. | '''''PRETTY_NAME="openSUSE Leap 15.5"''''' | ||
''ANSI_COLOR="0;32"'' | ''ANSI_COLOR="0;32"'' | ||
'''''CPE_NAME="cpe:/o:opensuse:leap:15. | '''''CPE_NAME="cpe:/o:opensuse:leap:15.5"''''' | ||
''BUG_REPORT_URL="<nowiki>https://bugs.opensuse.org</nowiki>"'' | ''BUG_REPORT_URL="<nowiki>https://bugs.opensuse.org</nowiki>"'' | ||
''HOME_URL="<nowiki>https://www.opensuse.org/</nowiki>"'' | ''HOME_URL="<nowiki>https://www.opensuse.org/</nowiki>"'' |
Aktuelle Version vom 30. August 2023, 11:48 Uhr
Applies To
Problem
Operating system is not up to date and may have unpatched security vulnerabilities.
Cause
No regular OS updates made via the Cryptshare Server Admin Interface when these were available.
Solution/Workaround
Step 1: Updating the existing operating system to the latest version
- log in as root on the appliance
- stop Cryptshare service with the command
rccryptshare stop
- run the following commands, to install current patches
zypper refresh
zypper up -t patch
- execute the following command as often as necessary until you receive the message “Nothing to do.”
zypper up -t patch
Step 2: Manually OS upgrade to openSUSE-15.5
- run the following commands, to add new repositories
wget https://update.cryptshare.com/cryptshare/scripts/addRepo-15.5.sh
sh addRepo-15.5.sh
- run the following command, to perform the OS upgrade
zypper dup --download-in-advance
- wait for the process is finishing
- run the commands
sync
reboot
- after rebooting log in again as root
- check the OS version with
cat /etc/os-release
The following output should be shown:
NAME="openSUSE Leap"
VERSION="15.5"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.5"
PRETTY_NAME="openSUSE Leap 15.5"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.5"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"