Installation
Distribution Package
The InfoLink distribution package includes:
- infolink.conf - configuration file that contains information on how to connect to Master Repository. The rest can be configured via web interface.
- server.war - InfoLink Server.
Prerequisites
- Oracle JRE 8
- Apache Tomcat 9.0.0 or higher (will probably work on previous versions as well).
- PostgreSQL 9.6 or higher.
- Google Chrome version 64 (will probably work on previous versions as well).
PostgreSQL Installation
Install PostgreSQL as described at https://www.postgresql.org/download/. Select your operating system under Binary packages and follow the instructions. If you install on Windows, choose Windows -> “Interactive installer by EnterpriseDB”.
Infolink Installation Steps
- Install prerequisites as described in Prerequisites section.
- Connect to postgres database and create infolink user.
Linux: sudo -u postgres psql postgres
Windows: "C:\Program Files\PostgreSQL\9.6\bin\psql" -U postgres
In the psql console type:
create user infolink with superuser password 'trust';
Type
\q<Enter>
to quit psql console.
- Edit host (and port if required) in infolink.conf so that it refers to PostgreSQL server installed in Step 1.
Copy infolink.conf to <path to Tomcat>/conf/. There is no need to restart Tomcat. - Deploy server.war file to Tomcat.
- Create and initialize Master Repository.Master Repository is a database called infolink_master stored in PostgresSQL.
- To create Master Repository and all required tables in it, open your browser (Google Chrome recommended) and enter:
<host>:<port>/setup.jsp
where <host>:<port> refers to the host and port of the Tomcat server. The system will connect to the PostgreSQL server and check whether infolink_master already exists. If it does not exist the system will propose to create it. Click on Yes, create it. link. infolink_master database will be created and initialized with all required tables. As you get the confirmation, click on the Home Page link to start using the system.