Before you deploy the server, take the following steps:
-
Prepare the Creatio setup files. Read more >>>
-
Deploy the database server. Read more >>>
-
Deploy the Creatio caching server (Redis). Read more >>>
-
Modify the ConnectionStrings.config file. Read more >>>
Method 1. Deploy Creatio .NET Core on Linux directly
To deploy the Creatio application server:
-
Install .NET Core, a GDI+ compatible API for non-Windows operating systems, and development libraries and header files for GNU C. Read more >>>
-
Run the Creatio application server. Read more >>>
Install .NET Core and other Creaito dependencies
-
Download the packages-microsoft-prod package:
-
Log in as root:
-
Install the downloaded package:
-
Update the package lists:
-
Install the APT transport for downloading via the HTTP Secure protocol:
-
Update the package lists:
-
Install .NET Core:
-
Install a GDI+ compatible API for non-Windows operating systems:
-
Install development libraries and header files for GNU C:
-
Log out from your root session:
Run the Creatio application server
To run Creatio:
-
Open the directory that contains Creatio setup files:
-
Run the .NET Core server:
Creatio HTTP version will be available on port 5000.
Creatio HTTPS version will be available on port 5002.
Method 2. Deploy Creatio .NET Core on Linux using Docker
Use this deployment method to run a compartmentalized Creatio application. We assume that you have installed the Redis sever, deployed the Creatio database, and set up the ConnectionStrings.config file using the instructions in the previous steps.
To deploy Creatio application server using Docker:
-
Make Redis accessible from the Docker container. Read more >>>
-
Install Docker. Read more >>>
-
Create a Dockerfile. Read more >>>
-
Build and run a Docker image. Read more >>>
Configure the Creatio caching server (Redis)
-
Open redis.conf in a text editor as root. For example, use the Nano text editor:
-
Locate the “bind 127.0.0.1 ::1” entry. Replace the entry with “bind 0.0.0.0” to listen to all available IPV4 interfaces.
-
Save changes and exit the editor.
-
Restart the Redis server:
Install Docker
To install Docker, run:
Create a Dockerfile
/path/to/application/directory/ is the directory that contains unpacked Creatio installation files.
-
Open the Creatio directory:
-
Create a Dockerfile using a text editor. For example, use the Nano text editor:
-
Insert the following code:
-
Press Ctrl+O to save the changes.
-
Press Ctrl+X to exit the editor.
Build and run a Docker image
Build a Docker image:
Run the docker image:
http_port_number is a port number. Docker will serve the HTTP version on this port
https_port_number is a port number. Docker will serve the HTTPS version on this port
DNS_server_ip is the IP address of a DNS server that enables the container to resolve Internet domains. You can use multiple --dns flags for multiple DNS servers.
DNS_address_suffix is a DNS search domain that enables the container to search for non-fully-qualified hostnames. You can use multiple --dns-search flags for multiple DNS search domains.
Creatio HTTP version will be available on port http_port_number.
Creatio HTTPS version will be available on port https_port_number.
Configure Creatio .NET Core for HTTPS
Before you start working in Creatio via HTTPS, take the following steps:
- Obtain a *.pfx digital certificate from the certification center.
- Go to Creatio root directory and open appsettings.json.
- Specify your website address, path to the certificate, and certificate password in the “Https” block.