Installing the Web Portal Components¶
Enable the TeamDrive Web Portal dnf
Repository¶
The TeamDrive Web Portal components are available in the form of RPM
packages, hosted in a dedicated dnf
repository. This makes the
installation and applying of future updates of the software very easy —
you can simply run dnf update
to keep your Web Portal software up to
date.
To enable the repository, you need to download the td-webportal.repo
file
and place it into the directory /etc/yum.repos.d/
, e.g. by using
wget
:
[root@webportal ~]# wget -O /etc/yum.repos.d/td-webportal.repo \
http://repo.teamdrive.net/td-webportal.repo
This will enable the “TeamDrive Web Portal Version 3.1.3” repository, which you can check
by running dnf repolist
afterwards:
[root@webportal ~]# dnf repolist repo id repo name appstream CentOS Linux 8 - AppStream baseos CentOS Linux 8 - BaseOS extras CentOS Linux 8 - Extras td-webportal-3.0 TeamDrive Web Portal Version 3.1.3 (x86_64)
Download and Install the TeamDrive Web Portal Package¶
On CentOS 8 please disable the old td-webportal repositories, because they are not available for this version:
dnf config-manager --set-disabled td-webportal-1.0
dnf config-manager --set-disabled td-webportal-1.1
dnf config-manager --set-disabled td-webportal-1.2
dnf config-manager --set-disabled td-webportal-2.0
Perform the download and installation of the Web Portal installation RPM
package using the dnf
package manager:
[root@webportal ~]# dnf install td-webportal
The TeamDrive Web Portal depends on the Yvva Runtime Environment version
1.5.9 or later to be installed and configured beside other required
software components like the Apache Web Server and Apache SSL module. They
will be installed by dnf
as a dependency on td-webportal
automatically.
Once the TeamDrive Web Portal software has been installed successfully, you can proceed with the initial configuration.
Installing the Web Portal HTML Documentation (optional)¶
The documentation for the Web Portal (in HTML format) can be installed locally, so you can access it directly from the Web Portal (or any other host running an Apache HTTP Server).
To install the HTML Documentation, install the following package via dnf
from the “TeamDrive Web Portal” repository:
[root@webportal ~]# dnf install td-webportal-doc-html
The HTML documents will be installed in directory
/var/www/html/td-webportal-doc
. From your web browser, open the following
URL to access the documentation:
Note
This step is optional. If you leave the documentation installed when the
Web Portal goes into production and is accessible from the public Internet,
you should ensure to restrict access to this URL to trusted hosts or
networks only. This can be achieved by adding the appropriate access control
rules to the file /etc/httpd/conf.d/td-webportal-doc.httpd.conf
.