Manual installation requires the following dependencies before continue continuing to install
DotNet Core
58.0 (https://dotnet.microsoft.com/download/dotnet/
58.0)
Redis (https://redis.io/download)
- Database Server (Postgres, Oracle, MS Sql Server is supported)
BaseX Server (https://basex.org/download/)
Database Server (Postgres, Oracle, MS SQL Server is supported)
Installation steps
1. Download the installation package
...
2. Extract the zip package
Create an installation directory with full permissions. Avoid using space or special characters in directory namenames. This directory will be referenced as <installdir>
in next steps.
Extract the zip package to the installation directory.
3.
...
Set database connection
Default configuration settings are stored in appsettings.json
file. Emakin uses layered multiple JSON configuration files to override configuration settings and changing any default setting in <installdir>/appsettings.json
file is not recommended.
...
Example <installdir>/Configuration/appsettings.json
file to set a database connection for host administration;
Code Block | ||
---|---|---|
| ||
{ "DbConnStr": "Host=sqlserver;Database=EMAKIN;Username=emakin;Password=emakin;", "ProxyUri" : "" } |
Please see see the Configuration Settings page for further details.
3. Check ports available.
By default emakin Emakin listens from 80, 5000 443, and 7180 port numbers by default. 80 and 443 are used for standard web access. 7180 port is used for host administration panel access and must be accessible only from localhost.
If you have another application running on your server using the same ports, you need to change port numbers from <installdir>/Configuration/appsettings.json
configuration file.
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
4. Install Services (Windows Only)
Emakin Agent service is the main executable for web access and scheduler for background jobs.
Expand | |||||
---|---|---|---|---|---|
| |||||
Execute the following command to install the emakin agent as a service.
|
Dependent Services
Emakin Agent also provides utility commands to install other dependent services
Expand | |||||
---|---|---|---|---|---|
| |||||
Execute the following command to install the BaseX service.
|
Expand | |||||
---|---|---|---|---|---|
| |||||
Execute the following command to install the BaseX service.
|
5. Start Web Server in Console Mode
It is recommended to start the agent in console mode with only the web server for the first run to ensure all configuration is valid. This ensures all connections are properly configured and helps to resolve any configuration errors.
Expand | |||||
---|---|---|---|---|---|
| |||||
Execute agent in web server mode
After the agent starts in web server mode you can open the web interface from with http://localhost address. |
6. Start Service
Starting service (Windows Only)
Open Windows services from the task manager / services tab or service manager.
Starting service (Linux)
Execute the service from the shell
Expand | |||||
---|---|---|---|---|---|
| |||||
Execute agent
|