Updating openSUSE manually: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
(added OS update notification reset) |
||
(14 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==Applies To== | ==Applies To== | ||
{{NoteBox|title=|content=Cryptshare Appliance with 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 23: | Zeile 29: | ||
- run the following commands, to install current patches | - run the following commands, to install current patches | ||
'''zypper refresh''' | |||
'''zypper up -t patch''' | '''zypper up -t patch''' | ||
Zeile 35: | Zeile 43: | ||
===== '''Step 2: Manually OS upgrade to openSUSE-15. | ===== '''Step 2: Manually OS upgrade to openSUSE-15.6''' ===== | ||
- 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.6.sh https://update.cryptshare.com/cryptshare/scripts/addRepo-15.6.sh]''' | ||
'''sh addRepo-15. | '''sh addRepo-15.6.sh''' | ||
- run the following command, to perform the OS upgrade | - run the following command, to perform the OS upgrade | ||
Zeile 62: | Zeile 70: | ||
The following output should be shown: | The following output should be shown: | ||
[[Datei:Os-release output.png|rahmenlos|492x492px]] | |||
- run the following command, to reset the OS update notifications | |||
'' | '''rm /opt/cryptshare-3/CS_EXECUTION_SERVICE_INDEX''' | ||
''''' | ===== '''Step 3: Starting Freshclam Timer''' ===== | ||
Since openSUSE 15.6, freshclam is controlled through the freshclam.timer service. After the update, you need to start and enable the service once: | |||
''' | '''systemctl start freshclam.timer''' | ||
'' | '''systemctl enable freshclam.timer''' | ||
Freshclam will then be started at the time interval specified in /etc/freshclam.conf (every two hours by default). |
Version vom 24. März 2025, 09:27 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.6
- run the following commands, to add new repositories
wget https://update.cryptshare.com/cryptshare/scripts/addRepo-15.6.sh
sh addRepo-15.6.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:
- run the following command, to reset the OS update notifications
rm /opt/cryptshare-3/CS_EXECUTION_SERVICE_INDEX
Step 3: Starting Freshclam Timer
Since openSUSE 15.6, freshclam is controlled through the freshclam.timer service. After the update, you need to start and enable the service once:
systemctl start freshclam.timer
systemctl enable freshclam.timer
Freshclam will then be started at the time interval specified in /etc/freshclam.conf (every two hours by default).