Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1HdYEGYe6SL1PbqPEpxNGJdetEHWSYbbs6 https://explorer.blockstack.org/address/1HdYEGYe6SL1PbqPEpxNGJdetEHWSYbbs6
#!/usr/bin/env bash
# IPV6 enable guide for Azure: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-ipv6-for-linux
# Add inbount NAT rules in azure loadbalancer: 1) ssh (22) 2) zen (9033) on ipv4 3) zen (9033) on ipv6
# run below command in root user login (sudo su):
# fallocate -l 4G /swapfile
# chmod 600 /swapfile
# mkswap /swapfile
# swapon /swapfile
#!/usr/bin/env bash
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
# (optional): Preparing the environment if you want to install zen from source:
# Once you get the VM up and running you need to login with your root account and run below commands.
# apt-get update && apt-get upgrade -y
# apt-get install -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libgtk2.0-dev && apt-get autoremove -y
0x68Dd0dFCbc4172903e37da21Ce2263E872251382
0x68Dd0dFCbc4172903e37da21Ce2263E872251382
0x68Dd0dFCbc4172903e37da21Ce2263E872251382
@rnkhouse
rnkhouse / 02-azure-dbserver.json
Last active April 25, 2017 20:27
2 VMs with Internal Load Balancer and load balancing rules (DBserver - Backend)
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "String"
},
"virtualNetworkName": {
"type": "string",
"metadata": {
@rnkhouse
rnkhouse / 01-azure-webserver.json
Last active April 25, 2017 21:02
2 VMs in a Load Balancer and load balancing rules (Webserver - Frontend)
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "String"
},
"storageAccountName": {
"type": "string",
"metadata": {
@rnkhouse
rnkhouse / 04-azure-external-lb.json
Last active April 13, 2017 22:23
Create External Loadbalancer for Subnet
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string"
},
"location": {
"type": "string"
},
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string"
},
"location": {
"type": "string"
},