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