Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The dLibra License System


A license file is not required for starting up the dLibra system. Without a license file, the server will be started up with restrictions, which will make it impossible to create more than three publications and three user accounts. If there are already more objects (publications or users) in the dLibra system than the allowed number mentioned above, the system will be started up, but it will not be possible to add any more objects.

In order to start up the server without restrictions, an appropriate license file should be provided. That file should be generated by the user in the “User panel Do uruchomienia serwera systemu dLibra nie jest niezbędne posiadanie pliku licencji. W takim przypadku serwer zostanie uruchomiony z ograniczeniami uniemożliwiającymi utworzenie więcej niż trzech publikacji oraz trzech kont użytkowników. Jeżeli w systemie dLibra istnieją już obiekty (publikacje lub użytkownicy), których liczba przekracza ustalone limity, system zostanie uruchomiony lecz nie będzie można dodawać nowych obiektów.
Aby uruchomić serwer bez ograniczeń, należy dostarczyć stosowny plik licencji. Taki plik należy wygenerować samodzielnie korzystając z Panelu użytkownika (https://dl.psnc.pl/dlcrm/user). Dostęp do Panelu użytkownika możliwy jest po podaniu nazwy użytkownika i hasła, identycznego jak w przypadku dostępu do repozytorium dystrybucji. Dane dostępowe można uzyskać kontaktując się z pomocą techniczną zespołu dLibra.

Przed wygenerowaniem pliku licencji należy:

The user can access the “User panel” by entering the username and password, identical as the ones for the distribution repository. The user can obtain the access data by contacting the technical support of the dLibra system.

The following actions must be carried out before the license file is generated:

  • entering the server IP address or domain name in the server.xml file, as the value of the serverHost parameter, and
  • starting up the dLibra system server,

  • w pliku server.xml jako wartość parametru serverHost podać adres IP lub nazwę domenową serwera
  • uruchomić serwer systemu dLibra.

    Info
    titleAdres The IP/nazwa domenowa zawarty w parametrze Domain Name Address Included in the _serverHost_ Parameter
    Adres

    The IP/

    nazwa domenowa zawarty w parametrze serverHost jest wykorzystywany przez serwer do komunikacji z aplikacjami klienckimi. Tak więc powinien tam być zawarty taki adres, który będzie mógł być wykorzystany przez aplikacje klienckie znajdujące się na innych maszynach. W związku z tym nie należy używać np. adresu

    domain name address included in the serverHost parameter is used by the server to communicate with client applications. Therefore, it should be an address which can be used by client applications on other machines – it should not be, for example, 127.0.0.1.


Po uruchomieniu serwera systemu dLibra w katalogu After the dLibra system has been started up, file services.dat will be created in the dlibra-server/conf zostanie utworzony plik services.dat. Plik ten jest niezbędny do wygenerowania licencji. Korzystając z zakładki Licencje w Panelu użytkownika catalog. That file is necessary for generating a license. With the use of the “Licenses” tab in the “User panel(https://dl.psnc.pl/dlcrm/user) należy wskazać plik , file services.dat should be indicated, a następnie wygenerować plik licencji za pomocą przycisku Generuj. Na liście licencji pojawi się odnośnik, pozwalający na pobranie pliku licencji. Plik należy umieścić w katalogu domowym użytkownika, który będzie uruchamiał serwer dLibra.

 

Uruchamianie serwera

...

W trakcie normalnej pracy serwer powinien być uruchomiony w trybie usługi. Nie wymaga on wtedy, aby jakikolwiek użytkownik był zalogowany na komputerze, na którym uruchomiono serwer, a wszystkie informacje o pracy serwera trafiają do plików znajdujących się w podkatalogu logs katalogu głównego serwera. Uruchamianie serwera jako usługi w poszczególnych systemach operacyjnych opisano poniżej.

 

UNIX/Linux

...

and then a license file should be generated with the help of the “Generate” button. On the license list, there will appear a link for downloading the license file. That file should be placed in the home directory of the user who will be starting up the dLibra server.

Starting up the Server

The dLibra server can run in one of two modes: the service mode or the console message display mode.

During normal work, the server should run in the service mode. In such circumstances, there is no need for the user to be logged on the computer on which the server is running, and all information about the server work are passed on to files in the “logs” subdirectory of the root directory. Running the server as a service in particular operating systems is described below.

UNIX/Linux


The user can run the dlibra-server.sh script in the main directory of the server, with the following parameters:

  • start – runs the dLibra server in the service mode,
  • stop – stops the running dLibra server,
  • restart – restarts the running dLibra server, and
  • console – runs the dLibra server in the console mode (see below).
  • start - uruchamia serwer dLibra w trybie usługi,
  • stop - zatrzymuje działający serwer dLibra,
  • restart - restartuje działający serwer dLibra,
  • console - uruchamia serwer dLibra w trybie konsolowym (patrz niżej).

...


MS Windows


Użytkownik może uruchomić skrypt dlibra-server.bat znajdujący się w katalogu głównym serwera z następującymi parametrami:

...