Intrexx user - Create a portal with the terminal

Requirements

To create a portal, you must first have installed a database.

The following guide assumes that you are using PostgreSQL.

 

You have the option of creating a portal directly on the Linux server using a shell script.

The following describes how to do this as "root".

Create a portal as the intrexx user

To create a portal, sudo permissions are required.

Run the following command to create a portal from the terminal:

johndoe@linux:/opt/intrexx/bin/linux$ sudo ./buildportal.sh -t

The routine for creating a portal will start.

INFO 2021-08-10T11:17:50,564 - de.uplanet.lucy.portalimport.local.PortalBuilderUtility[main]

PortalBuilderUtility

General properties

------------------

Portal name: Portal name: exampleportal

Portal directory [/opt/intrexx/org/exampleportal]:

Portal template path [/opt/intrexx/orgtempl/blank]:

Portal database

---------------

Please select the portal database type.

1) MariaDB

2) Microsoft SQL Server

3) Oracle

4) PostgreSQL

Database type (1 - 4): 4

PostgreSQL

----------

Do you want to create a new database or use an existing one?

1) Create

2) Use an existing one

Database import mode (1 - 2): 1

Encoding [UTF8]:

Host [localhost]:

Port [5432]:

Use SSL transport encryption

1) No SSL

2) SSL without certificate validation

3) SSL with certificate validation

SSL (1 - 3): 1

Database name [ixexampleportal]:

Login: postgres

Password:

Embedded web server

-----------------------

Host [localhost]: 1

Port [1337]:

Context ($ = none) []: $

Reverse proxy / load balancer

-----------------------------

Select the reverse proxy / load balancer you want to use.

1) none

2) nginx

Reverse proxy (1 - 2) [1]: 2

NGINX reverse proxy

-------------------

Back-end host [localhost]:

Back-end port [1337]:

NGINX configuration file (blank = do not generate):

Communication

-------------

REST communication port [8101]:11

Log directory

----------

Specify a path to the log directory.

Select "Default" if you want to use the log directory within the portal directory.

1) Default

2) Absolute path

Log directory (1 - 2): 1

 

Solr configuration

--------------------

Solr URL [http://127.0.0.1 :8983/solr]:

Use authentication [yes]?

Solr user password

 

Do you want to save the information in a configuration file [y,n]?

1) Create database

--------------------

* 100% Successfully completed

2) Write data to database

-------------------------------

* 100% Successfully completed

3) Copy files

...

INFO 2021-08-10T11:22:15,018 - de.uplanet.lucy.server.patch.PatchController[Thread-1]

Finished portal patch. Exit code was 0.

* 100% Successfully completed

7) Final actions

...

Starting service upixp_exampleportal

* 100% Successfully completed