Configure System Prerequisites

Windows Roles and Features

  1. In the Server Manager, choose Add roles and features

    ../../../../_images/server-manager-choose-roles-and-features3.png
  2. On the Features page, check .NET 3.5 Features and .NET 4.5 Features

    ../../../../_images/roles-and-features-dot-net3.png
  3. On the Server Roles page, check Web Server

    ../../../../_images/roles-and-features-web-server3.png
  4. After the Web Server role is installed, make sure Static Content is enabled.

    ../../../../_images/roles-and-features-static-content1.png

.NET Core Windows Server Hosting Bundle

Colectica Portal requires the .NET Core Windows Server Hosting Bundle. The DotNetCore.1.0.4_1.1.1-WindowsHosting.exe can be downloaded from https://go.microsoft.com/fwlink/?linkid=844461

After installin the bundle, execute iisreset at the command line or restart the server to pick up changes to the system PATH.

Redis

  1. Download the latest version of Redis for Windows from https://github.com/MSOpenTech/redis/releases

  2. Run the MSI installer to install Redis.

  3. If running Redis on a public server, Redis should be configured only to listen on the local IP address. Open C:\Program Files\Redis\redis.windows-service.conf and uncomment the following line: bind 127.0.0.1.

    Note

    This step is important because Redis does not provide any authentication or authorization. The Redis service should only be accessible to the server itself.

  4. Start the Redis service using the Windows Services manager.

Elasticsearch

  1. Elasticsearch requires at least Java 7. Instruction for installing Java can be found at http://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html

  2. Download the latest version of Elasticsearch from https://www.elastic.co/downloads/elasticsearch. Choose the ZIP file.

  3. Extract the package and open a command prompt in the package’s elasticsearch-version/bin/ directory.

  4. Enter the following commands:

    service.bat install
    
    service.bat manager
    
  5. In the Elasticsearch window, set the Startup type to Automatic.

  6. Click the Start button.

  7. Click the OK button.

See also

For full instruction on installing Elasticsearch, see https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html

Firewall

  1. If the system has a firewall, ensure inbound ports 80 and 443 are open.