Skip to content

Instantly share code, notes, and snippets.

Sean Whitesell seanw122

View GitHub Profile
View change_password_in_wsl.txt
Change password on WSL
Close Ubuntu if running
From CMD prompt
ubuntu config --default-user root
Start Ubuntu
View aptget_update-upgrade_noninteractive.sh
sudo DEBIAN_FRONTEND=noninteractive apt-get -y update && \
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
@seanw122
seanw122 / aspnetcore3.1_ubuntu_install.sh
Last active Mar 16, 2020
Install ASP.NET Core 3.1 on Ubuntu 18.04
View aspnetcore3.1_ubuntu_install.sh
sudo wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
sudo dpkg -i packages-microsoft-prod.deb && \
sudo DEBIAN_FRONTEND=noninteractive apt-get -y update && \
sudo DEBIAN_FRONTEND=noninteractive apt-get install apt-transport-https && \
sudo DEBIAN_FRONTEND=noninteractive apt-get -y update && \
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y aspnetcore-runtime-3.1
@seanw122
seanw122 / AKS Setup Script
Last active Oct 13, 2018
This script will setup a new Azure Resource Group and Azure Kubernetes Service cluster environment also with an Azure Container Registry resource.
View AKS Setup Script
## This creates a working single node Azure Kubernetes Cluster
## and with an Azure Container Registry. Note, the ACR is in
## the same resource group as the AKS for demo purposes. For
## dev, qa, and prod you should have ACR in separate resource group.
echo "Beginning AKS Setup for Demo"
date
AKS_RESOURCE_GROUP=aks-rg1
AKS_CLUSTER_NAME=aks-c1
You can’t perform that action at this time.