This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| Verifying my Blockstack ID is secured with the address 1HdYEGYe6SL1PbqPEpxNGJdetEHWSYbbs6 https://explorer.blockstack.org/address/1HdYEGYe6SL1PbqPEpxNGJdetEHWSYbbs6 |
This file contains hidden or 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
| # Server requirement: Ubuntu 16.04 | |
| # mount aion to separate storage: | |
| # IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)" | |
| set -e | |
| purpleColor='\033[0;95m' | |
| normalColor='\033[0m' |
This file contains hidden or 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
| CUDA_REPO_PKG=cuda-repo-ubuntu1604_9.1.85-1_amd64.deb | |
| wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG} | |
| sudo dpkg -i /tmp/${CUDA_REPO_PKG} | |
| sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
| rm -f /tmp/${CUDA_REPO_PKG} | |
| sudo apt-get update | |
| sudo apt-get install cuda-drivers -y | |
| sudo apt-get install cuda -y |
This file contains hidden or 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
| # IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)" | |
| set -e | |
| purpleColor='\033[0;95m' | |
| normalColor='\033[0m' | |
| USER=$(whoami) | |
| # Dependencies: | |
| curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - |
This file contains hidden or 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
| # Server requirement: Ubuntu 16.04 | |
| # IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)" | |
| set -e | |
| purpleColor='\033[0;95m' | |
| normalColor='\033[0m' | |
| USER=$(whoami) | |
| # https://www.youtube.com/watch?v=Qkhj1SaDJZA&t=802s |
This file contains hidden or 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
| # Server requirement: Ubuntu 16.04 | |
| # Step 0: VM: NV24 (GPU: 12) | |
| # Step 1: Install cuda installer gist. | |
| # IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)" | |
| set -e | |
| purpleColor='\033[0;95m' | |
| normalColor='\033[0m' | |
| USER=$(whoami) |
This file contains hidden or 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
| # Server requirement: Ubuntu 16.04 | |
| # mount aion to separate storage: | |
| # IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)" | |
| set -e | |
| purpleColor='\033[0;95m' | |
| normalColor='\033[0m' |
This file contains hidden or 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": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "adminUsername": { | |
| "type": "String", | |
| "metadata": { | |
| "description": "Admin username" | |
| } | |
| }, |