Last active
February 14, 2022 16:04
-
-
Save shimomura1004/fb73878ca423bde64ac4f66dd479b7ab to your computer and use it in GitHub Desktop.
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
ブリッジ作成 | |
# ip link add name xenbr0 type bridge | |
# ip link set dev enp0s3 master xenbr0 | |
# ip link set dev xenbr0 up | |
仮想マシン作成 | |
# xen-create-image --hostname=my-jessie --dir=/home/xen --dhcp --memory=256mb --pygrub --dist=jessie | |
仮想マシン起動 | |
# xl create /etc/xen/my-jessie.cfg | |
起動確認 | |
# xl list | |
コンソールに入る | |
# xl console my-jessie | |
コンソールから抜ける | |
Ctrl-] | |
仮想マシン停止 | |
# xl destroy my-jessie | |
仮想マシン破棄 | |
# xen-destroy-image --dir=/home/xen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment