Installing ZeroTier on Windows Server 2012 R2 with Chocolatey
-
@scottalanmiller said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
Status: ZeroTier is in review for Chocolatey and cannot be installed using this method... yet
Getting ZeroTier installed on Windows is easier than ever now that it is available via the Chocolatey package management system. Assuming that we have not yet installed Chocolatey, we can do this from an Administrative PowerShell session with this command:
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
This gets Chocolatey working. Once that is working we can install ZeroTier using Chocolatey:
choco install zerotier-one
bad instructions. you are glossing over issues with getting chocolatey installed. If the thread is about installing ZeroTier, then only discuss that. If you want to discuss installing Chocolatey, either do it completely or do not skip steps.
Then past that, you are glossing over setting up ZeroTier. it is not magic and requires manual configuration to finish the setup.
No one cares about installing software and never configuring it.
The command you listed for installing Chocolatey will fail on a clean install of server 2012R2 or Windows 10. As Chocolatey's website specifically states, you need to ensure that the PowerShell Execution Policy is set to at least RemoteSigned.
- Open PowerShell as an administrator
Set-ExecutionPolicy RemoteSigned
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
- Close your PowerShell window.
- Open a command prompt as administrator
choco install -y zerotier-one
- Launch ZertoTier from the start menu and add the network
- Approve the new device on the ZeroTier controller (generally hosted website interface)
- Assign static IP, if desired, for the new device on the ZeroTier controller
Now you have successfully installed chocolatey and ZeroTier, as well as setup ZeroTier
-
@JaredBusch said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
The command you listed for installing Chocolatey will fail on a clean install of server 2012R2 or Windows 10.
I tested it on a fresh install of 2012 R2 Core.
-
It appears to be down today
C:\>choco install zerotier-one Installing the following packages: zerotier-one By installing you accept licenses for the packages. zerotier-one not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is pos sible that the package name exists but the version does not. Version: "" Source(s): "https://chocolatey.org/api/v2/" Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - zerotier-one - zerotier-one not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is pos sible that the package name exists but the version does not. Version: "" Source(s): "https://chocolatey.org/api/v2/" C:\>
-
@JaredBusch said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
It appears to be down today
hence my note that the package has not been released yet. The instructions here are pre-emptive for when it releases. the package is in moderation right now, so the command does not work.
-
@scottalanmiller said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
@JaredBusch said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
It appears to be down today
hence my note that the package has not been released yet. The instructions here are pre-emptive for when it releases. the package is in moderation right now, so the command does not work.
I misinterpreted his post here that it was out of moderation.
https://mangolassi.it/topic/9781/zerotier-rpm-installer-script-failing/67 -
@JaredBusch said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
@scottalanmiller said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
@JaredBusch said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
It appears to be down today
hence my note that the package has not been released yet. The instructions here are pre-emptive for when it releases. the package is in moderation right now, so the command does not work.
I misinterpreted his post here that it was out of moderation.
https://mangolassi.it/topic/9781/zerotier-rpm-installer-script-failing/67Ah, I thought that too, that's why I starting writing this up. Then realized it was still unavailable but coming soon. I checked the page for it. So I continued to put this up as a placeholder so that I wouldn't forget, but will circle back once it is released so that it can be all updated.
-
For anyone wanting to test it out, you can install even a pending approval package by specifying the version.
choco install -y zerotier-one -version 1.1.14
https://chocolatey.org/packages?q=zerotier&moderatorQueue=true&prerelease=true&sortOrder=relevance
-
https://chocolatey.org/packages/zerotier-one/1.1.14
Seems approved.
-
@adam.ierymenko said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
https://chocolatey.org/packages/zerotier-one/1.1.14
Seems approved.
Congrats!
-
@adam.ierymenko said in Installing ZeroTier on Windows Server 2012 R2 with Chocolatey:
https://chocolatey.org/packages/zerotier-one/1.1.14
Seems approved.
yeah! I have been using it quite a bit already.
-
Sweet. Thanks for getting this for us @adam-ierymenko