Setup - Intrexx portal server headless installation on Linux
The installation described here is performed on the Ubuntu distribution
16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64).
The following are utilized as tools:
Putty is a free SSH and Telnet client for Windows that can be downloaded
Winscp is a free SFTP and FTP client for Windows that can be downloaded
2. The "intrexx" user
So that the role of administrating Intrexx is independent from the root, it is best
to create an "intrexx" user. The Intrexx installation is performed with this user.
This user is then configured to administrate the Intrexx installation and services.
At the time of installation, a user with root permissions is required
or the permissions of the "intrexx" user are extended with root permissions.
After the installation, the permissions of the "intrexx" user can be limited
to specific administrative permissions such as starting and stopping the Intrexx
services. The "intrexx" user needs to be provided with all permissions for the
directories, files and services created for Intrexx, so that they can
administrate these without root permissions.
2.1. Create "intrexx" user
sudo useradd -m intrexx
The home directory (/home/intrexx) is created with the parameter -m.
sudo passwd intrexx
The password is provided with this command.
2.2. Provide "intrexx" user with root permissions
With the following command, the "intrexx" user is added to the "sudo" group.
All other group memberships of the "intrexx" user are not changed.
sudo usermod -aG sudo intrexx
With this command, you can identify which groups the "intrexx" user belongs to:
The sudo permission is required for the installation and can be removed
with the following command after the installation:
sudo deluser intrexx sudo
2.3. Switch to "intrexx" user
Switch to the home directory with the following command:
sudo su intrexx
3. Intrexx portal server installation - Preparations
3.1. Copy the installation package
The installation package can be copied to the home directory /home/intrexx
of the "intrexx" user via Winscp.
It can then be extracted using the command
tar -xvzf intrexx.126.96.36.199-linux-x86_64.tar.gz
The generated directory "IX_" contains all installation files.
3.2. Prepare the software update
The online update can be downloaded here.
Copy the package for your Intrexx version into the home directory /home/intrexx
on the Linux server.
3.3. Create installation directory
Before performing the installation, create the Intrexx target directory
that the "intrexx" user has all permissions for (e.g. /opt/applications/intrexx).
The ownership is modified with this command:
The permissions are modified with the following command. The "intrexx" user
is provided with all permissions:
sudo chmod 777 -R /opt/applications/intrexx/
3.4. Define setup permissions for the "intrexx" user
Switch to the folder where the installation files are located.
Provide the permissions for performing the setup.sh with this command:
sudo chmod 777 setup.sh
A password should not be requested during the execution as sudo.
4. Intrexx portal server headless installation
On Linux, the installation is performed without the GUI via the console
(headless). Switch to the directory with the installation files and perform
the setup with root permissions.
4.1. Start the installation
The installation is started with this command:
sudo ./setup.sh –console
4.2. Confirm license
Confirm the license with "Y" (Yes).
4.3. Installation package
So that only the portal server without the Portal Manager is installed
on the Linux server, select package 2 here.
Confirm this with "Yes".
4.4. Installation directory
Specify the installation directory created earlier.
Confirm the installation instance with the Enter key.
Select the correct Oracle driver if you are using an Oracle database.
If you are not using an Oracle database, enter 1 here.
Confirm the default port with "Yes".
4.6. Character set
Select the character set of your choice.
4.7. Daemon account
Specify the "intrexx" user here. Accept the supervisor and Solr port.
4.8. Update directory
It is best to perform the software update on Linux via the file option.
Decline the default settings with "no" here. As the source, select 2 (File).
Under "File" specify the online update file
with its path
(/home/intrexx/<version number>.zip). Accept the settings with "yes".
4.9. Installation starts
The installation starts. Online updates are also installed.
4.10. Configured services
There are 3 services after the installation:
Central service for administrating the portals
Shell script : upixsupervisor
Web service service
Shell script : upixtomcat
Shell script : upixsolr
The installed shell scripts for the services can be viewed here:
ls -la /opt/applications/intrexx/bin/linux/upix*
4.11. Service units
The configured services for this purpose can be found here: /etc/systemd/system.
The default owner of the services is "root".
ls -la /etc/systemd/system/upix*
The following commands are available for administrating the services:
systemctl start <service>
systemctl stop <service>
systemctl status <service>
systemctl restart <service>
The services contain the user who the service runs under.
Here is an example of the supervisor service:
So that the "intrexx" user does not need root permissions for the administration,
but can still stop and start all services, the following modifications are
No modifications required.
The owner permissions of the shell need to be changed to "intrexx" here:
sudo chown intrexx:intrexx upixtomcat
The owner permissions need to be changed to "intrexx" here:
In the directory: cd /opt/application/intrexx/bin/linux
sudo chown intrexx:intrexx upixsolr
Modify "run as" in Solr in the "upixsolr" file:
Change user to upixsolr.service:
sudo vi upixsolr.service
Provide the "intrexx" user with permissions for stopping and starting services
Specific sudo permissions are stored in the file /etc/sudoers.
The file can be edited with visudo (command: sudo visudo).
Enter the following commander in the sudoer:
# User alias :
User_Alias INTREXXMASTER = intrexx
# User priviledge
INTREXXMASTER ALL=NOPASSWD: /bin/systemctl * upix*
The "intrexx" user now has the ability to stop and start the upix services,
even though they are not a member of the sudo group. Sudo is entered
before the command and performed without a password request:
sudo systemctl start/stop upixp*.service
sudo systemctl start upixpsupervisor.service
Starts the supervisor service.
5. Manage Intrexx portal server services
sudo /bin/systemctl status upix*.service
sudo /bin/systemctl start/stop upix*.service
Query active services:
ps -ef | grep upix
If the keyboard shortcuts do not work, switch shell:
Displays used shell -> -sh
Switch to bash
chsh -s /bin/bash intrexx
After logging our and logging in, the default shell for intrexx is then bash.