temporary:vagrant
                差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| temporary:vagrant [2015/05/14 00:38] – clownclown | temporary:vagrant [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 263: | 行 263: | ||
| </ | </ | ||
| - | ===== プラグイン「sahara」   | + | ===== 追加ディスク  | 
| + | 「db01-disk001.vdi」という5GBのファイルを作成して、アタッチする。 | ||
| + | |||
| + | < | ||
| + | Vagrant.configure(2) do |config| | ||
| + | config.vm.define :db01 do |node| | ||
| + |     node.vm.box = " | ||
| + |     node.vm.hostname = " | ||
| + |     node.vm.network " | ||
| + |      | ||
| + |     node.vm.provider " | ||
| + |       ext_disk = ' | ||
| + |       unless File.exists? | ||
| + |         vm.customize [' | ||
| + | end | ||
| + |       vm.customize [' | ||
| + |                     ' | ||
| + |                     ' | ||
| + |                     ' | ||
| + |                     ' | ||
| + |                     ' | ||
| + | end | ||
| + | end | ||
| + | end | ||
| + | </ | ||
| + | |||
| + | ===== プラグイン「sahara」  | ||
| ==== インストール  | ==== インストール  | ||
| < | < | ||
| 行 402: | 行 428: | ||
| < | < | ||
| - | # yum install  | + | # / | 
| - | # yum install  | + | Removing existing VirtualBox non-DKMS kernel modules  | 
| - | # yum install kernel-devel-2.6.32-504.16.2.el6.x86_64 | + | Building the VirtualBox Guest Additions kernel modules | 
| + | The headers for the current running kernel were not found. If the following | ||
| + | module compilation fails then this could be the reason. | ||
| + | The missing package can be probably installed with | ||
| + | yum install  | ||
| + | |||
| + | Building the main Guest Additions module  | ||
| + | (Look at / | ||
| + | Doing non-kernel setup of the Guest Additions  | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # yum -y install  | ||
| # / | # / | ||
| </ | </ | ||
temporary/vagrant.1431563886.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)
                
                