Install/Uninstall NCache Enterprise .NET Core
Install NCache (Server/Client)
NCache Enterprise .NET Core provides a tar.gz file for installation through Command Line.
Note
.NET Core 2.1 is a pre-requisite for installing NCache .NET Core.
Download the NCache tar.gz file and place it on your desired location.
In the Command Prompt, extract the tar.gz file through the following command:
tar -zxf <Path to tar.gz file>
Note
After extraction, the installation scripts are placed in the folder named ncache-enterprise-4.9-dotnet
.
- In the Command Prompt, go to the directory where NCache installation script is placed.
cd ncache-enterprise-4.9-dotnet
Note
The sudo
command grants you the Admin rights and privileges to run NCache scripts.
- For detailed installation usage, run the following command in Command Prompt:
sudo ./install -h
Install NCache Server Mode
For NCache's server mode installation, run the following command. Notice that -m 0
indicates “Cache Server” installation.
sudo ./install -f John -l Smith -e johnsmith@alachisoft.com -k XXXXXXXXXXXXXXXXX -m 0
Install NCache Client Mode
Installing NCache Client involves the same steps as for the Server mode. To differentiate, simply write -m 3
instead of -m 0
.
sudo ./install -f John -l Smith -e johnsmith@alachisoft.com -m 3
Warning
If you miss any of these fields, an installation error will occur.
- This will initiate NCache installation and once it is completed, a message will be displayed saying
Installation completed successfully
.
Note
NCache is installed in the /opt/ncache
folder by default.
Once NCache is installed, the NCache service will start running automatically.
Uninstall NCache (Server/Client)
For uninstallation, go to the ncache-enterprise-4.9-dotnet
directory where all the necessary scripts are placed.
cd ncache-enterprise-4.9-dotnet
- In the Command Prompt, write the following command:
sudo ./uninstall
- You will be asked with a Yes/No question to confirm uninstallation. Simply reply with
y
.
.NET Core Installation Properties
The following properties are supported by NCache installation by tar.gz
:
Switch/Properties | Purpose | Default Value |
---|---|---|
-k (Required) |
The key you are provided with upon downloading NCache. | - |
-m (Required) |
Specifies the installation type. Possible values are: 0 (Cache Server)3 (Cache Client) |
0 (Cache Server) |
-f (Required) |
Your first name | - |
-l (Required) |
Your last name | - |
-e (Required) |
Your email address | - |
See Also
Evaluation Period Management
License Activation
License Deactivation
License Reactivation