apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
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/sh | |
#Lernu esperanton :-) | |
wget -nc http://www.oreilly.com/programming/free/files/microservices-for-java-developers.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/java-the-legend.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/hadoop-with-python.pdf | |
wget -nc http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.pdf |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS CloudFormation Template: This template installs a single-instance with dev environment for elastic beanstalk as well as Jenkins server. This template creates an Amazon EC2 instance. You will be billed for the AWS resources used if you create a stack from this template.", | |
"Parameters" : { | |
"EC2Tag" : { | |
"Description" : "EC2 tag name", | |
"Type" : "String" | |
}, |
aws cloudformation create-stack --stack-name hogehoge --template-body file://conf.json --region ap-northeast-1 --parameters file://param.json
NewerOlder