Install/Uninstall NCache Enterprise for Linux
This section contains all the steps you should follow to install NCache on your linux machine. Everything is explained step by step to make the process simple and easy.
Install NCache (Server/Client)
NCache Enterprise .NET provides a tar.gz file for installing NCache on your Linux machine through the terminal.
Note
.NET Core 6.0 is a prerequisite for installing NCache .NET.
Download the NCache tar.gz file and place it in 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-enterprise
.
- In the terminal, go to the directory where the NCache installation script is placed.
cd ncache-enterprise
Note
The sudo
command grants you the Admin rights and privileges to run NCache scripts.
- For detailed installation usage, run the following command in your terminal:
sudo ./install -h
Install NCache Server Mode
For the NCache server mode installation, run the following command. Notice that -m server
indicates Cache Server installation.
Note
Make sure that the email address provided is the one used during your registration process with Alachisoft.
sudo ./install -f John -l Smith -e johnsmith@yourdomain.com -c your_company_name -k XXXXXXXXXXXXXXXXX -m server -s -i 20.200.20.11 -P password
Install NCache Client Mode
Installing NCache Client involves the same steps as for the Server mode. To differentiate, simply write -m client
instead of -m server
.
Note
Make sure that the email address provided is the one used during your registration process with Alachisoft.
sudo ./install -f John -l Smith -e johnsmith@yourdomain.com -c your_company_name -m client
Warning
If you miss any of these fields above, an installation error will occur.
Install NCache Developer Mode
Installing NCache Developer mode involves the same steps as for the Client mode. To differentiate, simply write -m dev
instead of -m client
.
Note
Make sure that the email address provided is the one used during your registration process with Alachisoft.
sudo ./install -f John -l Smith -e johnsmith@yourdomain.com -c your_company_name -m dev
Warning
If you miss any of these fields above, 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-<version>-dotnet
directory, where all the necessary scripts are placed.
cd ncache-enterprise-<version>-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 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: server (Cache Server)client (Cache Client)dev (Developer Mode) |
server (Cache Server) |
-f (Required) |
Your first name | - |
-l (Required) |
Your last name | - |
-c (Required) |
Your company name | - |
-e (Required) |
Your email address which is used during registration with Alachisoft. | - |
-s |
Switch parameter to auto start the demo cache at the end of installation. Possible values are: -s yes 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