Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Inštalačný program D2000 nainštalujeThe D2000 installer will install:

  • súbory produktu D2000
  • skripty pre management aplikácií, archívov a D2000 procesov
Poznámka

Inštaláciu a konfiguráciu je nutné vykonávať ako užívateľ root

Konfigurácia PostgreSQL prístupových práv

  • product files
  • scripts for application management, archives and D2000 processes


Poznámka

Installation and configuration must be performed as a user root

Configuration of PostgreSQL access rights

Edit the PostgreSQL configuration file Upravte PostgreSQL konfiguračný súbor /var/lib/pgsql/data/pg_hba.conf (umiestnenie sa môže líšiť v závislosti od inštalácie) tak, že vložíte podčiarknuté riadkylocation may vary depending on installation) by inserting underlined lines:

...

# "local" is for Unix domain socket connections only

...

host    all             all             127.0.0.1/32            ident


Poznámka

Riadky pre špecifického užívateľa Lines for a specific user (dba) , ktorého používa D2000, sa musia nachádzať pred riadkami pre všetkých užívateľov who uses the D2000, must precede the lines for all users (all), inak sa neuplatniaotherwise they do not apply.
(PostgreSQL berie do úvahy prvý riadok, ktorý spĺňa podmienky typu spojenia, databázy a užívateľa, prípadne IP adries, zadané v prvých stĺpcoch.)

Konfigurácia PostgreSQL pre prevázdkovanie D2000 v redundancii

V prípade prevádzkovana D2000 v redundancii je potrebné aby databázový server bol sieťovo dostupný zo záložného servera, takže je potrebné:

takes into account the first line, which meets the conditions of the connection type, database and user, or IP addresses specified in the first columns.)

PostgreSQL configuration for D2000 operation in redundancy

In the case of running D2000 in redundancy, it is necessary that the database server is network accessible from the backup server, so it is necessary:


1) to add a rule (where 1) pridať aj pravidlo (kde aa.bb.cc.dd je IP adresa záložného servera  is the IP address of the backup server):

# IPv4 local connections:

...

host    all             all             127.0.0.1/32            ident


2) nastaviť PostgreSQL databázový server tak, aby príjmal spojenia na vonkajších sieťových rozhraniach (viac info na to set up the PostgreSQL database server to accept connections on external network interfaces (more on https://www.postgresql.org/docs/current/runtime-config-connection.html). V súbore In file /var/lib/pgsql/data/postgresql.conf (umiestnenie sa môže líšiť v závislosti od inštalácie) nastavíme parameter  (location may vary depending on installation)  set the parameter to listen_addresses

#------------------------------------------------------------------------------

...

listen_addresses = '0.0.0.0'        # what IP address(es) to listen on;


Po úprave reštartujte PostgreSQL príkazomAfter editing, restart PostgreSQL with the command:

Blok kódu
languagebash
systemctl restart postgresql

Vytvorenie užívateľa pod ktorým bude aplikačný server D2000 bežať

Creating a user under which the D2000 application server will run


Create a new user by the commandNového užívateľa vytvorte príkazom

Blok kódu
languagebash
adduser <username>

kde <username> je vami zvolené meno užívateľa. Neskôr, v priebehu inštalácie budete dotázaní na meno užívateľa s ktorého právami bude D2000 bežať, zadajte tohto užívateľa.

Spustenie inštalácie D2000 aplikačného servera

where <username> is your chosen username. Later, during the installation process, you will be asked for the name of the user with whose rights the D2000 will run, enter the chosen user.

Start the D2000 application server installation

The D2000 Linux installation is performed from an installation package named Inštalácia D2000 Linux sa vykonáva z inštalačného balíčka s názvom d2000-<verzia>-x86_64-linux-bin.tar.gz

  1. Balíček nakopírujte do pracovného (naprCopy the package to the working directory (e.gr. /tmp) adresára 
  2. In the working directiory, run the command V pracovnom adresári spustite príkaz tar -xvzf d2000-<verzia>-x86_64-linux-bin.tar.gzpre rozbalenie. Po skončení príkazu sa v pracovnom adresári nachádza podadresár . After the command is completed, there is a subdirectory in the working directory d2000-<verzia>-x86_64-linux-bin, v ktorom sú umiestnené súbory potrebné na inštaláciu D2000.  which contains the files needed to install the D2000.
  3. Go into this subdirectory and run the script./doinstall. The installation wizard startsPremiestnite sa to tohto podadresára a spustite skript ./doinstall. Spustí sa sprievodca inštaláciou.

    Blok kódu
    languagetext
    themeEmacs
    [root@localhost d2000_v12.0.060.b01-x86_64-linux-bin]# ./doinstall
    
    
    -------------------------------
    Copyright (c) 2017 IPESOFT Ltd.
    www.ipesoft.com
    
    This script will install the D2000 application server.
    You can find a complete log of the installation in "/tmp/d2000_install.20171121T232413.log".
    
    Please press ENTER to continue.
    

    Po stlačení ENTER sa inštalátor bude pýtať na parametre inštalácie.

...

  1. After pressing ENTER, the installer will ask for installation parameters.

Parameters of installation


Blok kódu
languagetext
themeEmacs
Choose D2000 instance name ('?' for list all installed instances) [d2000]:

Zvoľte meno inštalovanej inštancie D2000. Na jednom počítači môže byť nainštalovaných naraz niekoľko nezávislých inštalácii (inštancií) aplikačného servera D2000. Aby ich bolo možné rozlíšiť, je potrebné inštanciu pomenovať. Východzie meno je d2000. Ak zadáte '?', zobrazia sa mená už nainštalovaných inštanciíChoose a name for the installed D2000 instance. Several independent installations (instances) of the D2000 application server can be installed on one computer at a time. In order to distinguish them, it is necessary to name the instance. The default name is d2000. If you enter '?', the names of already installed instances will be displayed.


Blok kódu
languagetext
themeEmacs
In which directory do you want to install D2000? [/opt/d2000]:

Zvoľte cieľový adresár inštalácie. To tohto adresára budú nainštalovaé programové súčasti D2000Select the installation destination directory. The D2000 program components will be installed in this directory.


Blok kódu
languagetext
themeEmacs
Enter D2000 applications directory [/opt/d2000/app]:

Zvoľte adresár, do ktorého budú umiestňované aplikácie D2000 vytvorené v rámci tejto inštancieSelect a directory, into which will the created D2000 applications be placed within this instance.

Blok kódu
languagetext
themeEmacs
Enter D2000 log directory [/opt/d2000/log]:

Zvoľte adresár, do ktorého budú umiestňované logySelect a directory, into which will the logs be placed 


Blok kódu
languagetext
themeEmacs
Enter D2000 user:

Zvoľte meno linuxového užívateľa, pod ktorým bude bežať systém D2000.Select a name for the Linux user under which the D2000 system will run. 


Blok kódu
languagetext
themeEmacs
Enter D2000 group:

Zvoľte meno skupiny, pod ktorou bude bežať systém D2000Select a name a group under which the D2000 system will run.


Blok kódu
languagetext
themeEmacs
Local IP address 1 [192.0.2.1]:
Local IP address 2 [192.0.2.2]:

The D2000 server pre svoju prevázdku potrebuje poznať IP adresu(-y) počítača. Adresy zmeňte ich iba v prípade nesprávnej autodetekcieneeds to know the IP address (es) of the computer for its operation. Change addresses only in case of incorrect autodetection.


Blok kódu
languagetext
themeEmacs
Enter path to postgresql bin [/usr/pgsql-9.6/bin]:

Cesta k Path to the PostgreSQL bin adresáru. Cestu zmeňte iba v prípade nesprávnej autodetekciedirectory. Change the path only if the autodetection is incorrect.


Blok kódu
languagetext
themeEmacs
Systemd postgresql service name [postgresql-9.6.service]:

Meno služby PostgreSQL v systemd. Cestu zmeňte iba v prípade nesprávnej autodetekcie.

The name of the PostgreSQL service in systemd. Change the path only if the autodetection is incorrect.


After filling in the parameters, the installer will display a summaryPo vyplnení parametrov inštalátor zobrazí zhrnutie:


Blok kódu
languagetext
themeEmacs
=======================
Ready to install the D2000 application server:
 Instance name: d2000
 Install dir: /opt/d2000
 Applications dir: /opt/d2000/app
 Log dir: /opt/d2000/log
 User: root
 Local IP address 1: 192.0.2.1
 Local IP address 2: 192.0.2.2
 psql executable: /usr/pgsql-9.6/bin/psql
 Systemd postgresql service: postgresql-9.6.service
=======================

Proceed (yY|nN)? [y]:

Ak chcete inštaláciu prerušiť, zadajte If you wish to stop the installation enter 'n'.Ak si želáte pokračovať a vykonať inštaláciu s nastavenými parametrami, zadajte 'y', inštalátor dokončí proces inštalácie

If you wish to proceed and execute the installation with preset parameters, enter 'y' and the installator will complete the installation process.

Blok kódu
languagetext
themeEmacs
Proceed (yY|nN)? [y]: y
Creating directory "/opt/d2000"...done
Copying files...done
Installation complete.

V tomto momente je systém D2000 nainštalovaný.

At this point, the D2000 system is installed.

You can continue by creating an application, archive, or remote processMôžete pokračovať založením aplikáce, archívu alebo vzdialeného procesu.