-
Install Chocolatey
This services packages internally named 'Chocolatey Server' or 'Chocolatey Simple Server.' Personally, this is a great option for getting a repository up and running quickly. While you can install Chocolatey Server via Chocolatey itself, I prefer to do so via Puppet or another configuration management solution. The Chocolatey DSC Resource knows how to access a NuGet Server (among others), download packages, install packages, and so on. There are many other DSC Resources in the PowerShell Gallery. These modules are installed into your Azure Automation State Configuration Pull Server (by you) so they can be used by your configurations. Course Transcript - The first step in using Chocolatey is to install it. Be aware, it's not a traditional install. Remember that it's an extension of PowerShell.
May 29, 2018 - The software deployment solution Chocolatey allows you to install the 5800 packages from the online repository. Yet you can also deploy.
Microsoft Azure Stack is an extension of Azure—bringing the agility and innovation of cloud computing to your on-premises environment and enabling the only hybrid cloud that allows you to build and deploy hybrid applications anywhere. We bring together the best of the edge and cloud to deliver Azure services anywhere in your environment. This blog gives an overview of how to run Chocolatey commands on a remote Azure VM using Custom Script Extension. Is a package manager for windows (similar to Yum/Apt-Get) used by Azure customers for installing packages. While there are many ways to automate this package installation, in this blog post we’ll do it using Custom Script Extension (CSE). Custom Script Extension for windows is a mechanism for running PowerShell scripts on a remote VM, without requiring to open any additional ports or manually downloading the scripts on the VM.
The Proxy Bay maintains a list of proxy sites that allow access to The Pirate Bay. Check the for other ways of accessing The Pirate Bay If you want to help, you can also create your own proxy site. There are instructions for setting up a simple proxy (using a PHP script) and advanced method using NGINX as a reverse proxy. There is more information about the blocks on Proxy sites are the easiest methods to bypass the block. These proxy sites are hosted in countries where The Pirate Bay has not been blocked.
As with any VM Extension, it can be added to a VM during VM provisioning or anytime while the VM running. The extension can be added from Azure Portal, and and Azure Xplat CLI. Running Chocolatey cmdlets using CSE is actually pretty straightforward because Chocolatey commands can be already run from PowerShell. Lets look at the scenario of installing on a remote VM using Chocolatey.
Create a.ps1 file with the following commands: iex ((new-object net.webclient).DownloadString('choco install WindowsAzurePowershell The first command installs Chocolatey on the VM and the second one installs Azure PowerShell cmdlets. Now create a VM and add the script for remote execution. Save the script file locally. From Azure Ibiza portal, browse to your VM and add Custom Script Extension by providing the saved script as input.
Once the script finishes execution, the script output can be viewed in the Extension blade of the UI. So as you can see the combination of Chocolatey and Custom Script Extension can automate many deployment scenarios. All of the above steps can be automated using Azure PowerShell cmdlets as described in a previous.