This section describes the environment preparation activities for SoftExpert Suite operation after the update. Before updating the system, stop the SoftExpert Suite service and make a backup of the system files:
▪Before executing the steps below, first, download the UPDATE-2.2.X-LINUX.zip installation/update tool, available on the Customer Center. We recommend downloading the most recent tool. ▪For 3rd digit update, download the UPDATE-2.2.X-LINUX.zip update package, which is available from the Customer center. ▪For 4th digit update, use the package generated after the conclusion of your ticket at Softexpert's Customer Center (PATCH-2.2.X.X-LINUX.zip). ▪Make sure the operating system is duly registered with the same user and password as the www.redhat.com website; otherwise, the update process will not take place successfully. |
1.Save the update package (UPDATE-2.2.X-LINUX.zip or PATCH-2.2.X.X-LINUX.zip) in the SoftExpert Suite installation directory. By default, the installation directory of SoftExpert Suite is: /usr/local/se.
2.Stop the SoftExpert Suite services: ▪For distributions based on CentOS, execute:
▪For distributions based on Debian, execute:
# /etc/init.d/sesuite stop
|
3.Make a backup of the web.xml file:
# cp /usr/local/se/platform/webapps/Softexpert/WEB-INF/web.xml <backup_directory>/web.xml
|
4.After stopping the SoftExpert Suite service, remove the old installation files, if they still exist:
# rm -rf /usr/local/se/src
|
5.Then, extract all files from the update package (UPDATE-2.2.X-LINUX.zip or PATCH-2.2.X.X-LINUX.zip) in the SoftExpert Suite installation directory: ▪In the case of a 3rd digit update:
# unzip UPDATE-2.2.X-LINUX.zip -d /usr/local/se
|
▪In the case of a 4th digit update:
# unzip PATCH-2.2.X.X-LINUX -d /usr/local/se
|
6.If the RPMForge repository is installed, remove it: ▪For distributions based on CentOS, execute:
# yum remove -y rpmforge-release
# yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
▪For distributions based on Debian, execute:
# dpkg -P rpmforge-release
# apt-get update
|
Debian distributions
If the OS of the environment where SoftExpert Suite is installed is a Debian-based distribution, follow the following steps:
1.If the environment has an old repository, make a backup of it, apply the new repository and after finishing the installation, return the repository that was being used.
# sudo cp /etc/apt/sources.list /etc/apt/backup.sources.list
# sudo vi /etc/apt/sources.list
|
2.Locate and comment the cdrom line by entering the # character at the beginning of the line: ▪Debian example:
# deb cdrom:[Debian GNU/Linux 10.x.0 _Buster_ - Official amd64 NETINST 20200208-12:07]/ buster main
|
▪Ubuntu example:
#deb cdrom:[Ubuntu XX.XX LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
|
Note that x, in the examples above, refers to the operating system version.
3.Delete the content of the file and paste the new content: ▪Debian example:
deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
deb http://deb.debian.org/debian/ buster-backports main contrib non-free
deb-src http://deb.debian.org/debian/ buster-backports main contrib non-free
|
▪Ubuntu example:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
|
4.Save and close the file
5.After that, update the repository:
If necessary, go back to the old repository, return the backup:
# sudo mv /etc/apt/backup.sources.list /etc/apt/sources.list
# sudo apt-get update
|
|