Install/Uninstall NCache Professional for Linux
Install NCache
NCache Professional .NET Core provides a tar.gz file for installation through terminal.
Note
.NET Core 3.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 terminal, 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-professional-5.2-dotnet
.
- In the terminal, go to the directory where NCache installation script is placed.
cd ncache-professional-5.2-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 terminal:
sudo ./install -h
- For NCache server installation, run the following command:
sudo ./install -f John -l Smith -e johnsmith@alachisoft.com -c Alachisoft -k xxxxxxxxxxxxxxxxxxxxxxx -m server -s -i 20.200.20.11
- For NCache client installation, run the following command:
sudo ./install -f John -l Smith -e johnsmith@alachisoft.com -c Alachisoft -m client -s -i 20.200.20.11
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
For uninstallation, go to the ncache-professional-5.2-dotnet
directory where all the necessary scripts are placed.
cd ncache-professional-5.2-dotnet
- In the terminal, execute 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 |
---|---|---|
-f (Required) |
Your first name | - |
-l (Required) |
Your last name | - |
-c (Required) |
Your company name | - |
-e (Required) |
Your email address used during registration with Alachisoft. | - |
-k (Required) |
The key you are provided with upon downloading NCache. | - |
-m (Required) |
Specifies the installation type. Possible values are: server (Cache Server)client (Cache Client) |
server (Cache Server) |
-s |
Switch parameter to auto start the demo cache at the end of installation. Possible values are: -s start cache-s no do not start cache |
Start cache |
-i |
IP address that NCache service binds to. | IP of local machine. |
-p |
Installation path. | /opt/ncache |
-d |
Path of .NET home directory. | - |
-j |
Path of Java home directory. | JAVA_HOME environment variable |
-F |
Force create destination directory if the provided directory does not exist. | - |
-P |
Password for user 'ncache'. | - |
See Also
Evaluation Period Management
License Activation
License Deactivation
License Reactivation