Remote Install NCache
To install NCache remotely, you need to use the PowerShell script installNCache.ps1 shipped with NCache. This is located at %NCHOME%/Integrations/PowerShell.
- 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:
From the machine from where you’re installing NCache remotely, search for PowerShell and select Run as Administrator.
Go to the directory %NCHOME%/Integrations/PowerShell.
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 the NCache setup MSI file is available on D:/ drive root of all remote machines and also that NCache is to be installed on the default path C:/Program Files.
- Single Server Installation
This example installs NCache Cache Server edition on remote machine 188.8.131.52. Please replace the server IP
184.108.40.206with your own remote machine IP.
./installNCache.ps1 /e 0 /file "ncache.oss.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "firstname.lastname@example.org" /c "Alachisoft" /s 220.127.116.11
- Multiple Server Installation
This example installs NCache Cache Server edition on three machines (18.104.22.168,22.214.171.124 and 126.96.36.199). Please replace these servers IPs with your own remote cache server machine IPs.
./installNCache.ps1 /e 0 /file "ncache.oss.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "email@example.com" /c "Alachisoft" /s 188.8.131.52,184.108.40.206,220.127.116.11
Upon successful installation you will see a message with
Remote Installation Properties
||Allows the user to specify the name of the setup file along with the file extension.|
||Allows the user to specify the complete file-path/file-location of the setup file.|
||Allows the user to specify a comma separated list of Server Names or IP Addresses of machines where NCache is going to be installed.|
||Allows the user to specify first name.|
||Allows the user to specify last name.|
|Allows the user to specify the email address.|
||Allows the user to specify the company name.|
||Allows the user to specify the path where to install NCache. Default is "C:/Program Files".|
||Allows the user to specify the permissions for quite mode. Default is 1.|
||Displays command syntax and options for the utility.|