0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

「仮想マシンをとても簡単シンプルに構築・操作するソフトウェア」Vagrant

Last updated at Posted at 2025-01-24

まず

「仮想マシンをとても簡単シンプルに構築・操作するソフトウェア」Vagrantです。前回の記事よりもっと簡単に設定し、Vagrantで仮想環境構築します。

vagrantのインストール

・Windows I686 Version: 2.4.1

centos8

vagrant init centos/8
出力
A Vagrantfile has been placed in this directory. You are now
ready to vagrant up your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
vagrantup.com for more information on using Vagrant.

環境の複製

Vagrantfileにコマンドを書き、書き終わったら都度以下を実行する
vagrant up
vagrant ssh

エラー①

vagrant initをしたがエラー
-> 解決した : vagrant の作成ディレクトリが異なっていた
https://qiita.com/Ryohei_U/items/8d8ea718b6d265c81bd7

③vagrantがうまく動かない
->再起動して解決(vagrant reload)
https://qiita.com/nakamurashun0621/items/980890ed14645da5aee6

完了

簡単にCentOS8の環境が構築できました!
次は環境構築した仮想マシンにいろいろしていきます!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?