...
Windows or Linux server - any release/version. This server will act as the application server. It can be any host - a dedicated one or the same as database server.
Recommended server requirements: 4 CPU cores, 8GB RAM, 100 GB disk spaceJava 8according to server sizing guide
Java 8, minimum 241 build , e.g.:
1.8.0_241
Network accessibility to required databases
OS user:
Linux - a user with asudo
privilege
Windows - a user with a privilege to run java and to read/write in the “app_home” directoryDatabase user - a user with DBA privileges in every database that the app should work with. Each database may have different user and password.
...
Make sure that java 1.8 is installed.
Run these commands:
Code Block |
---|
cd {app_home} |
...
sudo screen -dmSL masking java -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -jar data-masking-1.0-SNAPSHOT.jar |
If screen
is not installed, it is also possible to use nohup
:
Code Block |
---|
cd {app_home} sudo nohup java -Duser.timezone=GMT |
...
In case of special locale of the shell, add these parameters:
...
-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -jar data-masking-1.0-SNAPSHOT.jar & |
Start on Windows
Make sure that java 1.8 64bit is installed.
Run these commands:
Code Block |
---|
cd {app_home} |
...
java -Duser.timezone=GMT -jar data-masking-1.0-SNAPSHOT.jar
In case of special locale of the shell, add these parameters:
service_install.cmd |
It creates a Windows service named Accelario Masking acc_masking
Once created, start the service.
The parameters for JVM are located in file {app_home}\service_parameters.list
...
In some cases, the application process may be started in a non-background way - usually it is done as part of debugging session.
In that case, run these commands:
Code Block |
---|
cd {app_home} java -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -jar data-masking-1.0-SNAPSHOT.jar |
Accessing the application
...
Reminder: the default port (8084) can be changed as described in Deployment section