Remote Install NCache
To install NCache remotely, you need to use the PowerShell script InstallNCache.ps1. You can find this script at GitHub.
- All remote machines must be logged in as Administrator.
- The NCache setup MSI file must be placed in the same location on all remote machines.
To remote install NCache, do the following:
Download the GitHub repository.
From the machine from where you’re installing NCache remotely, search for Windows PowerShell and select Run as Administrator.
Go to the path where you have downloaded the GitHub repository and open the scripts folder.
Execute either of the following commands, modifying the values according to your environment. Note that these examples install Cache Server edition with credentials for John Smith. It is assumed that NCache is installed on the default path C:/Program Files.
Make sure that the email address provided is the one used during registration with Alachisoft.
Single Server Installation
This example installs NCache Cache Server edition on remote machine 220.127.116.11. Please replace the server IP
18.104.22.168with your own remote machine IP.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.ent.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "email@example.com" /company "your_company_name" /s 22.214.171.124
Multiple Server Installation
This example installs NCache Cache Server edition on three machines (126.96.36.199, 188.8.131.52 and 184.108.40.206). Please replace these servers IPs with your own remote cache server machine IPs.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.ent.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "firstname.lastname@example.org" /company "your_company_name" /s 220.127.116.11,18.104.22.168,22.214.171.124
Upon successful installation you will see a message with
Remote Installation Properties
||The name of the setup file along with the file extension.|
||The complete file-path/file-location of the setup file.|
||Valid installation key obtained from Alachisoft.|
||A comma separated list of Server Names or IP Addresses of machines where NCache is going to be installed.|
||User's first name.|
||User's last name.|
||NCache installation edition.
|The email address which is used during registration with Alachisoft.|
||Path to install NCache. Default is "C:/Program Files".|
||Sets permissions for quite mode. Default is 1.|
||Displays command syntax and options for the utility.|