Commit c0406bc5 authored by Jonah Meijers's avatar Jonah Meijers

merge of linux container branch

parent 03dad67c
<html>
<head>
<title>testtitle</title>
</head>
<body>
this is test content
</body>
</html>
#!/bin/bash
#.NET Core Install
brew update
brew install openssl
mkdir -p /usr/local/lib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
brew install wget
wget https://download.microsoft.com/download/1/4/1/141760B3-805B-4583-B17C-8C5BC5A876AB/Installers/dotnet-dev-osx-x64.1.0.0-preview2-1-003177.pkg
sudo installer -pkg dotnet-dev-osx-x64.1.0.0-preview2-1-003177.pkg -target /
#PowerShell Core 6.14
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell-6.0.0-alpha.14.pkg
sudo installer -pkg powershell-6.0.0-alpha.14.pkg -target /
#Azure RM NetCore Preview Module Install
powershell Install-Module AzureRM.NetCore.Preview
powershell Import-Module AzureRM.NetCore.Preview
if [[ $? -eq 0 ]]
then
echo "Successfully installed PowerShell Core with AzureRM NetCore Preview Module."
else
echo "PowerShell Core with AzureRM NetCore Preview Module did not install successfully." >&2
fi
#Install Azure CLI
#Address https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/
read -p "Do you want to install Azure CLI? y/n" -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
brew install npm
brew install node.js
sudo npm install -g azure-cli
# sudo ln -s /usr/bin/nodejs /usr/bin/node
if [[ $? -eq 0 ]]
then
echo "Successfully installed Azure CLI"
else
echo "Azure CLI not installed successfully." >&2
fi
else
echo "You chose not to install Azure CLI. Exiting now."
fi
#non brew install
# wget http://aka.ms/mac-azure-cli
# sudo hdiutil attach azure-cli.0.10.5.dmg
# sudo installer -pkg /Volumes/azure-cli.0.10.5/azure-cli.0.10.5.dmg -target /
#!/bin/bash
## Install powershell
# Download the powershell '.tar.gz' archive
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx-x64.tar.gz
# Create the target folder where powershell will be placed
sudo mkdir -p /usr/local/microsoft/powershell/6.0.0-rc
# Expand powershell to the target folder
sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/6.0.0-rc
# Set execute permissions
sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc/pwsh
# Create the symbolic link that points to pwsh
sudo ln -s /usr/local/microsoft/powershell/6.0.0-rc/pwsh /usr/local/bin/pwsh
# Show version of PowerShellGet
pwsh -c 'Get-Module PowerShellGet -list | Select-Object Name,Version,Path'
# Install azure module for powershell
sudo pwsh -c 'Install-Module AzureRM -AllowClobber'
# Verify that the module has been installed correctly
pwsh -c 'Get-Module AzureRM -list | Select-Object Name,Version,Path'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment