Activate NCache License for NCache for Linux
After downloading NCache, a license key can be obtained from Alachisoft Sales to activate your copy. This activation for NCache .NET Core can be done through Command Line or PowerShell.
Command Line Activation
Online Activation
- For online license activation, approach the
/opt/ncache/bin/activation
folder of NCache, where the activation script is placed. Here's the command for that:
cd /opt/ncache/bin/activation
Note
NCache is installed in the /opt/ncache
folder by default.
In the Linux terminal, execute the following command. The key can be obtained from Alachisoft Sales.
For client-server licensing, you need to specify environment with
-v
parameter and number of client licenses with-n
parameter.
sudo ./activate -f <FirstName> -l <LastName> -e <EmailAddress> -k XXXXXXXX-XXXXXX-XXXXXXXX -v QA -n 10
- After running this command, you will be displayed with a confirmation message saying
Thank you for registering your copy of NCache.
Manual Activation
To manually activate your license, you need to generate an activation request code to be sent to Alachisoft Sales in order to receive the activation authentication key from Alachisoft.
- In the Linux terminal, go to the
/opt/ncache/bin/activation
folder of NCache, where the activation script is placed. Here's the command for that:
cd /opt/ncache/bin/activation
In the terminal, execute the following command with activation key specified in the
-k
field:For client-server licensing, you need to specify environment with
-v
parameter and number of client licenses with-n
parameter.
sudo ./activate -f <FirstName> -l <LastName> -e <EmailAddress> -k XXXXXXXX-XXXXXX-XXXXXXXX -v QA -n 10 -m
Note
-m
specifies manual installation.
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.
Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:
Method 1: Get Key from Alachisoft Sales
Email this code to Alachisoft Sales at sales@alachisoft.com.
You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.
Method 2: Get Key via NCache Licensing Portal
On your web browser, open the following page:
https://app.alachisoft.com/admin/customer_console/main.phpEnter your license key obtained from Alachisoft upon purchase of NCache and click Find.
The next page shows license details and related information. Click on the Activate NCache link.
Paste the Activation Request Code into the text box on this page and click Verify.
This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.
On Linux terminal, enter the following command using the generated authentication key against the
-auth
parameter.
sudo ./activate -auth <authentication_key
- On successful activation, you are prompted with a message
Thank you for activating NCache.
Licensing Command Properties
Properties | Purpose |
---|---|
-k (Required) |
Specifies the License key you received from Alachisoft |
-f (Required) |
Specifies first name of the user |
-l (Required) |
Specifies last name of the user |
-e (Required) |
Specifies email address of the user |
-m |
Specifies manual license activation |
-r |
Specifies reactivation |
-d |
Specifies deactivation |
-v |
Specifies environment (Sever Activated Only) |
-n |
Specifies the number of clients (Sever Activated Only) |
PowerShell Activation
You can activate your license using PowerShell. NCache allows two activation modes: online and manual.
Launch PowerShell
From a terminal of your choice, launch PowerShell by typing the following command:
> pwsh
A PS
at the start of the new line in your terminal will indicate PowerShell has been launched.
Import NCache PowerShell module to execute NCache tools:
PS > Import-Module /opt/ncache/bin/tools/ncacheps/
Online Activation
Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the
-Key
parameter. Note that the first name, last name and email address are compulsory parameters.- For client-server licensing, you need to specify
-Environment
and-Clients
.
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft
- For client-server licensing, you need to specify
On successful activation of license, you are prompted with a success message Thank you for registering your copy of NCache.
Manual Activation
Manual activation requires generating an activation request code and sending it to Alachisoft Sales to receive the activation authentication key from Alachisoft.
Execute the following command to generate the authorization code. This is specified with the
-ManualActivation
parameter. The license key (you got upon purchasing NCache from Alachisoft) is provided with the-Key
parameter.For client-server licensing, you need to specify
-Environment
and-Clients
.Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft -ManualActivation
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.
Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:
Method 1: Get Key from Alachisoft Sales
Email this code to Alachisoft Sales at sales@alachisoft.com.
You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.
Method 2: Get Key via NCache Email Activation
On your web browser, open the following page:
https://app.alachisoft.com/admin/customer_console/main.phpEnter your license key obtained from Alachisoft upon purchase of NCache and click Find.
The next page shows license details and related information. Click on the Activate NCache link.
Paste the Activation Request Code into the text box on this page and click Verify.
This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.
On PowerShell, enter the following command using the generated authentication key against the
-AuthCode
parameter.Register-NCache -AuthCode <authentication_key>
On successful activation, you are prompted with a message Thank you for activating NCache.
See Also
Reactivate License
Deactivate License
Evaluation Period Management