- sudo apt-get update
- sudo apt-get -y upgrade
- wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz
- tar -xvf go1.11.5.linux-amd64.tar.gz
- sudo mv go /usr/local
- export GOROOT=/usr/local/go
- export GOPATH=$HOME/go
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
#!/bin/sh | |
# NOTE: | |
# Make sure that the value of Name, Type, TTL are the same with your DNS Record Set | |
HOSTED_ZONE_ID=<YOUR_HOSTED_ZONE_ID> | |
RESOURCE_VALUE=<YOUR_DNS_RESOURCE_VALUE-ex:IP or dns> | |
DNS_NAME=<YOUR_DNS_NAME-ex: subdomain.domain.com> | |
RECORD_TYPE=<DNS_RECORD_TYPE-ex: A, CNAME> | |
TTL=<TTL_VALUE> |