Launch PowerShell in Linux for Open Source
Once you have installed NCache for .NET Core Linux, you can proceed to use PowerShell tools to manage NCache.
From a terminal of your choice, launch PowerShell by typing the following command:
> pwsh
A PS
at the start of the new line in your terminal will indicate PowerShell has been launched.
Import NCache PowerShell Module
Linux requires to import the NCache module so that NCache tools can be executed. Please note that the module has to be imported every time you launch a new instance of PowerShell to execute NCache cmdlets.
Note
NCache is installed by default in /opt/ncache/
in Linux.
PS > Import-Module /opt/ncache/bin/tools/ncacheps/
You can now proceed to manage NCache with PowerShell. Refer to the NCache PowerShell Reference for full coverage of NCache cmdlets.
See Also
NCache PowerShell Reference
Configure Firewall
Configure IP Binding in Multiple NICs
Create a Cache
Simulate Cache Usage