ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing ZeroTier on Windows Server 2012 R2 with Chocolatey

    IT Discussion
    zerotier chocolatey windows windows server command line powershell windows server 2012 r2
    4
    12
    5.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      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
      
      JaredBuschJ 1 Reply Last reply Reply Quote 4
      • JaredBuschJ
        JaredBusch @scottalanmiller
        last edited by

        @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.

        1. Open PowerShell as an administrator
        2. Set-ExecutionPolicy RemoteSigned
        3. iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
        4. Close your PowerShell window.
        5. Open a command prompt as administrator
        6. choco install -y zerotier-one
        7. Launch ZertoTier from the start menu and add the network
        8. Approve the new device on the ZeroTier controller (generally hosted website interface)
        9. 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

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @JaredBusch
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            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:\>
            
            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @JaredBusch
              last edited by

              @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.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scottalanmiller
                last edited by

                @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

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by

                  @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/67

                  Ah, 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.

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    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
                    

                    0_1469298685043_upload-b49ce07a-a3a8-49cd-9860-43d85136ffa6

                    https://chocolatey.org/packages?q=zerotier&moderatorQueue=true&prerelease=true&sortOrder=relevance

                    1 Reply Last reply Reply Quote 2
                    • A
                      adam.ierymenko
                      last edited by

                      https://chocolatey.org/packages/zerotier-one/1.1.14

                      Seems approved.

                      scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 3
                      • scottalanmillerS
                        scottalanmiller @adam.ierymenko
                        last edited by

                        @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!

                        1 Reply Last reply Reply Quote 1
                        • JaredBuschJ
                          JaredBusch @adam.ierymenko
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • StrongBadS
                            StrongBad
                            last edited by

                            Sweet. Thanks for getting this for us @adam-ierymenko

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post