You have your Nano server up and running connected to the Domain and able to remote manage it. But now you actually want to start to use it for something. How do you install packages?
I will hopefully show you how easy it is to install packages on Nano Server, just follow this simple guide.
This method requires that the Nano server is connected to the internet!
Connect to your Nano Server via PowerShell
Enter-PSSession -ComputerName PIXEL-NANO01 |
Now we need to install the Nano package provider. This is Nuget.
Install-PackageProvider NanoServerPackage |
Even though you are getting the files from Microsoft, they class them as untrusted. You are safe to select yes for both prompts.
Now we have to Import the Nano package provider.
Import-PackageProvider NanoServerPackage |
Now we have installed and imported the Nano package provider, we can search for the package we want to install.
Find-nanoserverPackage -name * |
So now we know what Packages are available, let’s install one. I have chosen to install IIS. You can choose whatever you need.
Install-NanoServerPackage -name Microsoft-NanoServer-IIS-Package -Culture en-us |
That’s it. IIS is now installed.
At the moment you will have to use PowerShell to manage IIS. Microsoft will be releasing a web-based admin GUI for IIS on Nano soon. Just not sure when.
You can read more about this here.
2 Comments
How To Create An SMB File Share On Windows Nano Server 2016 – Pixel Robots. · March 11, 2017 at 12:48 pm
[…] installed the Nano Server Package Provider. This can be done by following a previous guide “Installing Packages on Nano Server” if you have not done so […]
How To Create A Basic IIS Web Site On Windows Nano Server – Pixel Robots. · April 21, 2017 at 9:13 pm
[…] If you need to install the IIS Nano Package follow this guide. […]