https://github.com/kitsuyaazuma/learn-linux-kernel
Learn Linux Kernel on Azure VM
https://github.com/kitsuyaazuma/learn-linux-kernel
azure golang linux-kernel python terraform
Last synced: 3 months ago
JSON representation
Learn Linux Kernel on Azure VM
- Host: GitHub
- URL: https://github.com/kitsuyaazuma/learn-linux-kernel
- Owner: kitsuyaazuma
- Created: 2023-04-22T03:55:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T06:56:26.000Z (about 3 years ago)
- Last Synced: 2026-01-20T06:44:32.897Z (6 months ago)
- Topics: azure, golang, linux-kernel, python, terraform
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learn Linux Kernel
The implementation code for the following book:
[[試して理解]Linuxのしくみ ―実験と図解で学ぶOS、仮想マシン、コンテナの基礎知識【増補改訂版】](https://amzn.asia/d/4Kf8V8v)
## Use Terraform to create a Linux VM
Terraform code to set up a VM in Azure for learners who do not have a Linux machine.

[クイック スタート: Terraform を使用して Linux VM を作成する \- Azure Virtual Machines \| Microsoft Learn](https://learn.microsoft.com/ja-jp/azure/virtual-machines/linux/quick-create-terraform)
```bash
cd terraform
terraform init -upgrade
terraform plan -out main.tfplan
terraform apply main.tfplan
terraform output -raw tls_private_key > id_rsa
terraform output public_ip_address | sed -e 's/"//g' | pbcopy
eval `ssh-agent`
ssh-add
ssh -i id_rsa -A azureuser@
terraform plan -destroy -out main.destroy.tfplan
terraform apply main.destroy.tfplan
```