- set up network with nmcli/nmtui/whatever
- sudo yum update
- sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdvsV | |
SDvSV | |
WVDW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | |
// https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/debian | |
{ | |
"name": "pyspark", | |
"image": "jupyter/pyspark-notebook", | |
// Set *default* container specific settings.json values on container create. | |
"settings": { | |
"terminal.integrated.shell.linux": "/bin/bash" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCATION=uksouth | |
RESOURCE_GROUP_NAME=webapp-config-demo | |
SERVICE_PLAN_NAME=app-service-plan-free-wp | |
SERVICE_PLAN_SKU=FREE | |
WEB_APP_NAME=mywpsite-ahfdskf | |
MARIADB_SKU=B_Gen5_1 | |
MARIADB_SERVER_NAME=dbserver-ahfdskf | |
MARIADB_ADMIN_USER=BOSS_HOGG | |
MARIADB_ADMIN_PASSWORD=R05coePColtrane | |
WORDPRESS_DB_NAME=wpdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/!\[\(.*\)\] \?(https:\/\/.*\/\(.*\))/{{< figure src="\2" caption="\1" >}}/g' index.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json", | |
"contentVersion": "0.0.0.1", | |
"parameters": { | |
"vnetName": { | |
"type": "string" | |
}, | |
"vnetAddressPrefix": { | |
"type": "string" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"build_location": "uksouth", | |
"build_vm_size": "Standard_DS2_v2", | |
"sp_client_id": "{{env `PACKER_CLIENT_ID`}}", | |
"sp_client_secret": "{{env `PACKER_CLIENT_SECRET`}}", | |
"sp_tenant_id": "{{env `PACKER_TENANT_ID`}}", | |
"sp_subscription_id": "{{env `PACKER_SUBSCRIPTION_ID`}}", | |
"output_resource_group" : "packer-vm-images", | |
"output_image_name_prefix" : "sql-2019-win-2019" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Output "Disabling WinRM over HTTP..." | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP" | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" | |
Get-ChildItem WSMan:\Localhost\listener | Remove-Item -Recurse | |
Write-Output "Configuring WinRM for HTTPS..." | |
Set-Item -Path WSMan:\LocalHost\MaxTimeoutms -Value '1800000' | |
Set-Item -Path WSMan:\LocalHost\Shell\MaxMemoryPerShellMB -Value '1024' | |
Set-Item -Path WSMan:\LocalHost\Service\AllowUnencrypted -Value 'false' | |
Set-Item -Path WSMan:\LocalHost\Service\Auth\Basic -Value 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### VARIABLES ### | |
PRE_PACK="openssl-devel pcre-devel make gcc" | |
VER="1.8.14" | |
# Setup Colours | |
black='\E[30;40m' | |
red='\E[31;40m' | |
green='\E[32;40m' |
NewerOlder