CKB:Updating openSUSE manually: Unterschied zwischen den Versionen

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 14: Zeile 14:


===== '''Step 1: Updating the existing operating system to the latest version''' =====  
===== '''Step 1: Updating the existing operating system to the latest version''' =====  


- stop Cryptshare service with the command
- stop Cryptshare service with the command
Zeile 21: Zeile 22:
- create a current snapshot  
- create a current snapshot  


- log in as '''root''' on the appliance
- log in as '''root''' on the appliance


- run the following commands, to install current patches   
- run the following commands, to install current patches   
Zeile 32: Zeile 33:


[[Datei:Nothing to do..jpg|mini|ohne]]
[[Datei:Nothing to do..jpg|mini|ohne]]




'''Step 2: Manually OS upgrade to openSUSE-15.4'''
'''Step 2: Manually OS upgrade to openSUSE-15.4'''


- run the following commands, to add new repositories
- run the following commands, to add new repositories
Zeile 41: Zeile 44:


'''sh addRepo-15.4.sh'''   
'''sh addRepo-15.4.sh'''   


- run the following command, to perform the OS upgrade
- run the following command, to perform the OS upgrade
Zeile 55: Zeile 59:


'''reboot'''  
'''reboot'''  
- after rebooting log in again as '''root'''


- after rebooting log in again as '''root'''  
- after rebooting log in again as '''root'''  
Zeile 66: Zeile 71:




NAME="openSUSE Leap"
''NAME="openSUSE Leap"''


'''VERSION="15.4"'''
'''''VERSION="15.4"'''''


ID="opensuse-leap"
''ID="opensuse-leap"''


ID_LIKE="suse opensuse"
''ID_LIKE="suse opensuse"''


'''VERSION_ID="15.4"'''
'''''VERSION_ID="15.4"'''''


'''PRETTY_NAME="openSUSE Leap 15.4"'''
'''''PRETTY_NAME="openSUSE Leap 15.4"'''''


ANSI_COLOR="0;32"
''ANSI_COLOR="0;32"''


'''CPE_NAME="cpe:/o:opensuse:leap:15.4"'''
'''''CPE_NAME="cpe:/o:opensuse:leap:15.4"'''''


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>"''

Version vom 27. Februar 2023, 15:06 Uhr

Applies To

openSUSE Leap 15.3

Problem

Cause

Solution/Workaround

Backup of the entire system
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 upgrade steps were made.
Step 1: Updating the existing operating system to the latest version

- stop Cryptshare service with the command

rccryptshare stop

- create a current snapshot

- log in as root on the appliance

- run the following commands, to install current patches

zypper up -t patch

- execute the following command as often as necessary until you receive the message “Nothing to do.”

zypper up -t patch

Nothing to do..jpg


Step 2: Manually OS upgrade to openSUSE-15.4


- run the following commands, to add new repositories

wget https://update.cryptshare.com/cryptshare/scripts/addRepo-15.4.sh

sh addRepo-15.4.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

- 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.4"

ID="opensuse-leap"

ID_LIKE="suse opensuse"

VERSION_ID="15.4"

PRETTY_NAME="openSUSE Leap 15.4"

ANSI_COLOR="0;32"

CPE_NAME="cpe:/o:opensuse:leap:15.4"

BUG_REPORT_URL="https://bugs.opensuse.org"

HOME_URL="https://www.opensuse.org/"