Skip to content

Post Install Instructions

In this generic version of the instructions we have installed EPR with the following command:

1
    C:\Users\administrator> New-EPRInstallation -InstanceID 'EAB001' -FromDirectory 'C:\Temp\epr\EPR-x.x.x'-InstallLocation 'D:\' -Port 8989

Folder access

The account that you are going to run the Tomcat service with need to have "modify" access to D:\Easit\EPR-Test and all of its sub folders. Please run the following commands to set this.

Set-EPRDirectoryPermission

1
    C:\Users\administrator> Set-EPRDirectoryPermission -Account 'Domain\User' -Path 'D:\Easit\EPR-Test'

If you have any trouble using Set-EPRDirectoryPermission, please use the manual steps below to set the permissions.

Manual steps

1
2
3
4
5
6
    C:\Users\administrator> $directoryToSet = 'D:\Easit\EPR-Test'
    C:\Users\administrator> $account = 'Domain\User'
    C:\Users\administrator> $acls = Get-Acl $directoryToSet
    C:\Users\administrator> $ar = New-Object System.Security.AccessControl.FileSystemAccessRule("$account", "modify", "ContainerInherit,ObjectInherit", "None", "Allow")
    C:\Users\administrator> $acls.SetAccessRule($ar)
    C:\Users\administrator> Set-Acl $directoryToSet $acls

Set Start type and LogOn account for Tomcat service

  1. Navigate to D:\Easit\EPR-Test\tomcat.
  2. Right click on EPR-Test and choose Run as administrator.
  3. Change Startup type to Automatic.
  4. Click on the tab LogOn.
  5. Enter username + password for the user account you would like to run the service as under This account.
  6. Click Apply and then OK.

Start service

With PowerShell

1
    C:\Users\administrator> Get-Service EPR-Test | Start-Service

OR manually

  1. Navigate to D:\Easit\EPR-Test\tomcat.
  2. Right click on EPR-Test and choose Run as administrator.
  3. Click Start.

Authentication

We have generated an initial username and password for you to get started.

  • Username: Username
  • Password: Password

We recommend you to change this by opening D:\Easit\EPR-Test\config\users.properties and replacing whatever is between go_user= and ,ROLE_GO,true to the password you would like to use. When EPR starts it will encrypt the password, that way it will not be stored in plain text.

Ping service when started

1
    C:\Users\administrator> Invoke-RestMethod -Method Get -Uri 'http://localhost:8989/api/ping'

Feedback

These details were sent to Easit // Please provide these installation details to Easit as they will be used for statistics and documentation. You can simply send them to support@easit.com.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    {
        "importHandlerIdentifier": "eprInstallationFeedback",
        "itemToImport": [
            {
                "property": [
                    {
                        "name": "InstanceID",
                        "content": "EAB001"
                    },
                    {
                        "name": "OSVersion",
                        "content": "Windows Server 2022"
                    },
                    {
                        "name": "SystemRootDirectory",
                        "content": "C:\\Easit\\EPR-Test"
                    },
                    {
                        "name": "TomcatRootDirectory",
                        "content": "C:\\Easit\\EPR-Test\\Tomcat"
                    },
                    {
                        "name": "TomcatVersion",
                        "content": "9.0.93.0"
                    },
                    {
                        "name": "JavaVersion",
                        "content": "17.0.12"
                    },
                    {
                        "name": "ServiceName",
                        "content": "EPR-Test"
                    }
                ],
                "id":"generatedGUID",
                "uid":"generatedGUID"
            }
        ]
    }

Further reading

Read more about EPR at TechSpace