Environment configuration
This section describes the environment preparation activities for SoftExpert Suite to operate after the update. Before updating the system, stop the SoftExpert Suite service and back up the system files:
caution
- Before carrying out the following steps, download the
UPDATE-2.2.X-LINUX.zip
installation/update tool, available in the Customer Center. We recommend downloading the latest tool. - For 3rd-digit update, download the
UPDATE-2.2.X-LINUX.zip
update package, available in the Customer center. - For 4th-digit update, use the package generated after the completion of
your ticket in the
SoftExpert 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 ones used at www.redhat.com; otherwise, the update process will not be successful.
- Save the update package (
UPDATE-2.2.X-LINUX.zip
orPATCH-2.2.X.X-LINUX.zip
) to the SoftExpert Suite installation directory. By default, the SoftExpert Suite installation directory is:/usr/local/se
. - Stop the SoftExpert Suite services:
- For CentOS-based distributions, run:
# service sesuite stop
- For Debian-based distributions, run:
# /etc/init.d/sesuite stop
- Back up the
web.xml
file:
# cp /usr/local/se/platform/webapps/Softexpert/WEB-INF/web.xml
<directory_backup>/web.xml
- After stopping the SoftExpert Suite service, remove the old installation files, if they still exist:
# rm -rf /usr/local/se/src
- Then, extract all the update package files (
UPDATE-2.2.X-LINUX.zip
orPATCH-2.2.X.X-LINUX.zip
) into the SoftExpert Suite installation directory:
- For 3rd-digit update:
# unzip UPDATE-2.2.X-LINUX.zip -d /usr/local/se
- For 4th-digit update:
# unzip PATCH-2.2.X.X-LINUX -d /usr/local/se
- If the RPMForge repository is installed, remove it:
- For CentOS-based distributions, run:
# yum remove -y rpmforge-release
# yum install -y
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- For Debian-based distributions, run:
# 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 steps below:
- If the environment has an old repository, back it up, 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
- Find and comment the cdrom line by inserting 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, will refer to the operating system version.
- 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
- Save and close the file:
:wq
- After that, update the repository:
# sudo apt-get update
caution
If you need the old repository back, return the backup:
# sudo mv /etc/apt/backup.sources.list /etc/apt/sources.list
# sudo apt-get update