---
title: "How to add a .lic license file to OP5 Monitor"
description: "Adding a .lic license file to OP5 Monitor involves copying and installing the license on the server. The process includes setting correct permissions and verifying the license, with special steps for multi-node environments."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020055714-op5-monitor-how-to-add-a-lic-license-file-to-op5-monitor/index.html"
---
This article describes how to install your OP5 license file onto your OP5 Monitor server.

## Step-by-step guide

1. Copy your license to your OP5 monitor server, for example using [FileZilla](https://filezilla-project.org/), or via the terminal using scp command.

   **copy the license file to the OP5 Monitor server**

   ```
   $ scp ~/Downloads/license-f00b4r.lic your-user@your-monitor-server:/tmp
   ```

2. As root user on your OP5 monitor server, copy the license to /etc/op5license and name it 'op5license.lic':

   **copy the license to its proper home**

   ```
   # cp path_to_your_license /etc/op5license/op5license.lic
   ```

3. Set ownership and permissions:

   ```
   # chmod 640 /etc/op5license/op5license.lic
   # chown apache:apache /etc/op5license/op5license.lic
   ```

4. Verify that the license will pass the "License - Days left" check:

   ```
   # asmonitor /opt/plugins/check_op5_license -T d -w 30 -c 15
   ```

#### Note for multi-node environments

Ensure to deploy the license files to other nodes if you are running a multi-node environment, especially if there are multiple peered-masters. If the other masters do not have a valid license and GUI access is done through them, it may cause GUI login issues.


