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?

More than 5 years have passed since last update.

Windows10環境下  VirtualBox vagrant up が失敗する。

0
Last updated at Posted at 2020-07-17

【開発環境】

Windows 10 HOME
XAMPP for Windows 7.4.7
Laravel Framework 7.19.1
Apache/2.4.43 (Win64)
PHP 7.4.7
MariaDB 10.4.13
VirtualBox 6.0
Vagrant 2.2.9

【前提条件】
PowerShellでscoopを使ってVagrantをインストールしました。
※scoopは個人的には初期設定を自動で行ってくれる。

【やってみたけど効果が無かった事】

  • VirtualBoxの再インストール。
  • VirtualBoxダウングレードのインストール。。
  • ネットワーク等の見直し等。
  • その他諸々。。。

→効果無し。

【エラーメッセージ】

Stderr: VBoxManage.exe: error: The virtual machine 'any_name_default_1594961198892_98006' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Suzuki\VirtualBox VMs\any_name_default_1594961198892_98006\Logs\VBoxHardening.log'

PowerShellで実行した所、上記のようなエラーメッセージが出て、
そのVBoxHardening.log の中身を追って調べて行くと、

vagrant で仮想環境を作成

ここに原因が書いてありました。
あざっす!!!!!!!!!

【対応】

trusteerというインターネットバンキング専用ウイルス対策ソフト「Rapport(ラポート)」をアンインストールする。
これでようやく 「vagrant up」が成功しました。

PS C:\path_to_dir\any_name> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "8acc4913-0117-4422-bc37-644139d58bc6", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'any_name_default_1594961198892_98006' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Suzuki\VirtualBox VMs\any_name_default_1594961198892_98006\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
PS C:\path_to_dir\any_name>
PS C:\path_to_dir\any_name> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "8acc4913-0117-4422-bc37-644139d58bc6", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'any_name_default_1594961198892_98006' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Suzuki\VirtualBox VMs\any_name_default_1594961198892_98006\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
PS C:\path_to_dir\any_name>
PS C:\path_to_dir\any_name> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "8acc4913-0117-4422-bc37-644139d58bc6", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'any_name_default_1594961198892_98006' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Suzuki\VirtualBox VMs\any_name_default_1594961198892_98006\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
PS C:\path_to_dir\any_name>
PS C:\path_to_dir\any_name>
PS C:\path_to_dir\any_name> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection aborted. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
[default] No Virtualbox Guest Additions installation found.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package binutils.x86_64 0:2.27-43.base.el7 will be updated
---> Package binutils.x86_64 0:2.27-43.base.el7_8.1 will be an update
---> Package elfutils-libelf-devel.x86_64 0:0.176-4.el7 will be installed
--> Processing Dependency: pkgconfig(zlib) for package: elfutils-libelf-devel-0.176-4.el7.x86_64
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-39.el7.x86_64
---> Package kernel-devel.x86_64 0:3.10.0-1127.el7 will be installed
---> Package kernel-devel.x86_64 0:3.10.0-1127.13.1.el7 will be installed
---> Package perl.x86_64 4:5.16.3-295.el7 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-295.el7 for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-295.el7.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-295.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-307.el7.1 for package: glibc-devel-2.17-307.el7.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.el7.1.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-5.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-295.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-295.el7 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-307.el7.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.el7.1.x86_64
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-295.el7 will be installed
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-1127.13.1.el7 will be installed
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch      Version                   Repository  Size
================================================================================
Installing:
 elfutils-libelf-devel     x86_64    0.176-4.el7               base        40 k
 gcc                       x86_64    4.8.5-39.el7              base        16 M
 kernel-devel              x86_64    3.10.0-1127.el7           base        18 M
 kernel-devel              x86_64    3.10.0-1127.13.1.el7      updates     18 M
 perl                      x86_64    4:5.16.3-295.el7          base       8.0 M
Updating:
 binutils                  x86_64    2.27-43.base.el7_8.1      updates    5.9 M
Installing for dependencies:
 cpp                       x86_64    4.8.5-39.el7              base       5.9 M
 glibc-devel               x86_64    2.17-307.el7.1            base       1.1 M
 glibc-headers             x86_64    2.17-307.el7.1            base       689 k
 kernel-headers            x86_64    3.10.0-1127.13.1.el7      updates    9.0 M
 libmpc                    x86_64    1.0.1-3.el7               base        51 k
 mpfr                      x86_64    3.1.1-4.el7               base       203 k
 perl-Carp                 noarch    1.26-244.el7              base        19 k
 perl-Encode               x86_64    2.51-7.el7                base       1.5 M
 perl-Exporter             noarch    5.68-3.el7                base        28 k
 perl-File-Path            noarch    2.09-2.el7                base        26 k
 perl-File-Temp            noarch    0.23.01-3.el7             base        56 k
 perl-Filter               x86_64    1.49-3.el7                base        76 k
 perl-Getopt-Long          noarch    2.40-3.el7                base        56 k
 perl-HTTP-Tiny            noarch    0.033-3.el7               base        38 k
 perl-PathTools            x86_64    3.40-5.el7                base        82 k
 perl-Pod-Escapes          noarch    1:1.04-295.el7            base        51 k
 perl-Pod-Perldoc          noarch    3.20-4.el7                base        87 k
 perl-Pod-Simple           noarch    1:3.28-4.el7              base       216 k
 perl-Pod-Usage            noarch    1.63-3.el7                base        27 k
 perl-Scalar-List-Utils    x86_64    1.27-248.el7              base        36 k
 perl-Socket               x86_64    2.010-5.el7               base        49 k
 perl-Storable             x86_64    2.45-3.el7                base        77 k
 perl-Text-ParseWords      noarch    3.29-4.el7                base        14 k
 perl-Time-HiRes           x86_64    4:1.9725-3.el7            base        45 k
 perl-Time-Local           noarch    1.2300-2.el7              base        24 k
 perl-constant             noarch    1.27-2.el7                base        19 k
 perl-libs                 x86_64    4:5.16.3-295.el7          base       689 k
 perl-macros               x86_64    4:5.16.3-295.el7          base        44 k
 perl-parent               noarch    1:0.225-244.el7           base        12 k
 perl-podlators            noarch    2.5.1-3.el7               base       112 k
 perl-threads              x86_64    1.87-4.el7                base        49 k
 perl-threads-shared       x86_64    1.43-6.el7                base        39 k
 zlib-devel                x86_64    1.2.7-18.el7              base        50 k

Transaction Summary
================================================================================
Install  5 Packages (+33 Dependent packages)
Upgrade  1 Package

Total download size: 86 M
Downloading packages:
No Presto metadata available for base
No Presto metadata available for updates
Public key for elfutils-libelf-devel-0.176-4.el7.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/base/packages/elfutils-libelf-devel-0.176-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for binutils-2.27-43.base.el7_8.1.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              1.6 MB/s |  86 MB  00:55
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-8.2003.0.el7.centos.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mpfr-3.1.1-4.el7.x86_64                                     1/40
  Installing : libmpc-1.0.1-3.el7.x86_64                                   2/40
  Installing : cpp-4.8.5-39.el7.x86_64                                     3/40
  Installing : 1:perl-parent-0.225-244.el7.noarch                          4/40
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           5/40
  Installing : perl-podlators-2.5.1-3.el7.noarch                           6/40
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          7/40
  Installing : 1:perl-Pod-Escapes-1.04-295.el7.noarch                      8/40
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                      9/40
  Installing : perl-Encode-2.51-7.el7.x86_64                              10/40
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                           11/40
  Installing : 4:perl-libs-5.16.3-295.el7.x86_64                          12/40
  Installing : 4:perl-macros-5.16.3-295.el7.x86_64                        13/40
  Installing : perl-Storable-2.45-3.el7.x86_64                            14/40
  Installing : perl-Exporter-5.68-3.el7.noarch                            15/40
  Installing : perl-constant-1.27-2.el7.noarch                            16/40
  Installing : perl-Socket-2.010-5.el7.x86_64                             17/40
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        18/40
  Installing : perl-Carp-1.26-244.el7.noarch                              19/40
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      20/40
  Installing : perl-PathTools-3.40-5.el7.x86_64                           21/40
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 22/40
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        23/40
  Installing : perl-File-Path-2.09-2.el7.noarch                           24/40
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      25/40
  Installing : perl-threads-1.87-4.el7.x86_64                             26/40
  Installing : perl-Filter-1.49-3.el7.x86_64                              27/40
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        28/40
  Installing : perl-Getopt-Long-2.40-3.el7.noarch                         29/40
  Installing : 4:perl-5.16.3-295.el7.x86_64                               30/40
  Updating   : binutils-2.27-43.base.el7_8.1.x86_64                       31/40
  Installing : zlib-devel-1.2.7-18.el7.x86_64                             32/40
  Installing : kernel-headers-3.10.0-1127.13.1.el7.x86_64                 33/40
  Installing : glibc-headers-2.17-307.el7.1.x86_64                        34/40
  Installing : glibc-devel-2.17-307.el7.1.x86_64                          35/40
  Installing : gcc-4.8.5-39.el7.x86_64                                    36/40
  Installing : elfutils-libelf-devel-0.176-4.el7.x86_64                   37/40
  Installing : kernel-devel-3.10.0-1127.13.1.el7.x86_64                   38/40
  Installing : kernel-devel-3.10.0-1127.el7.x86_64                        39/40
  Cleanup    : binutils-2.27-43.base.el7.x86_64                           40/40
  Verifying  : kernel-headers-3.10.0-1127.13.1.el7.x86_64                  1/40
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           2/40
  Verifying  : kernel-devel-3.10.0-1127.13.1.el7.x86_64                    3/40
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       4/40
  Verifying  : perl-Storable-2.45-3.el7.x86_64                             5/40
  Verifying  : 1:perl-Pod-Escapes-1.04-295.el7.noarch                      6/40
  Verifying  : mpfr-3.1.1-4.el7.x86_64                                     7/40
  Verifying  : perl-Exporter-5.68-3.el7.noarch                             8/40
  Verifying  : perl-constant-1.27-2.el7.noarch                             9/40
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                           10/40
  Verifying  : gcc-4.8.5-39.el7.x86_64                                    11/40
  Verifying  : perl-Socket-2.010-5.el7.x86_64                             12/40
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         13/40
  Verifying  : zlib-devel-1.2.7-18.el7.x86_64                             14/40
  Verifying  : 4:perl-libs-5.16.3-295.el7.x86_64                          15/40
  Verifying  : binutils-2.27-43.base.el7_8.1.x86_64                       16/40
  Verifying  : kernel-devel-3.10.0-1127.el7.x86_64                        17/40
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        18/40
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        19/40
  Verifying  : 4:perl-macros-5.16.3-295.el7.x86_64                        20/40
  Verifying  : 4:perl-5.16.3-295.el7.x86_64                               21/40
  Verifying  : perl-Carp-1.26-244.el7.noarch                              22/40
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      23/40
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 24/40
  Verifying  : libmpc-1.0.1-3.el7.x86_64                                  25/40
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        26/40
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           27/40
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              28/40
  Verifying  : glibc-headers-2.17-307.el7.1.x86_64                        29/40
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         30/40
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          31/40
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           32/40
  Verifying  : glibc-devel-2.17-307.el7.1.x86_64                          33/40
  Verifying  : perl-threads-1.87-4.el7.x86_64                             34/40
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              35/40
  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                         36/40
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     37/40
  Verifying  : cpp-4.8.5-39.el7.x86_64                                    38/40
  Verifying  : elfutils-libelf-devel-0.176-4.el7.x86_64                   39/40
  Verifying  : binutils-2.27-43.base.el7.x86_64                           40/40

Installed:
  elfutils-libelf-devel.x86_64 0:0.176-4.el7
  gcc.x86_64 0:4.8.5-39.el7
  kernel-devel.x86_64 0:3.10.0-1127.el7
  kernel-devel.x86_64 0:3.10.0-1127.13.1.el7
  perl.x86_64 4:5.16.3-295.el7

Dependency Installed:
  cpp.x86_64 0:4.8.5-39.el7
  glibc-devel.x86_64 0:2.17-307.el7.1
  glibc-headers.x86_64 0:2.17-307.el7.1
  kernel-headers.x86_64 0:3.10.0-1127.13.1.el7
  libmpc.x86_64 0:1.0.1-3.el7
  mpfr.x86_64 0:3.1.1-4.el7
  perl-Carp.noarch 0:1.26-244.el7
  perl-Encode.x86_64 0:2.51-7.el7
  perl-Exporter.noarch 0:5.68-3.el7
  perl-File-Path.noarch 0:2.09-2.el7
  perl-File-Temp.noarch 0:0.23.01-3.el7
  perl-Filter.x86_64 0:1.49-3.el7
  perl-Getopt-Long.noarch 0:2.40-3.el7
  perl-HTTP-Tiny.noarch 0:0.033-3.el7
  perl-PathTools.x86_64 0:3.40-5.el7
  perl-Pod-Escapes.noarch 1:1.04-295.el7
  perl-Pod-Perldoc.noarch 0:3.20-4.el7
  perl-Pod-Simple.noarch 1:3.28-4.el7
  perl-Pod-Usage.noarch 0:1.63-3.el7
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
  perl-Socket.x86_64 0:2.010-5.el7
  perl-Storable.x86_64 0:2.45-3.el7
  perl-Text-ParseWords.noarch 0:3.29-4.el7
  perl-Time-HiRes.x86_64 4:1.9725-3.el7
  perl-Time-Local.noarch 0:1.2300-2.el7
  perl-constant.noarch 0:1.27-2.el7
  perl-libs.x86_64 4:5.16.3-295.el7
  perl-macros.x86_64 4:5.16.3-295.el7
  perl-parent.noarch 1:0.225-244.el7
  perl-podlators.noarch 0:2.5.1-3.el7
  perl-threads.x86_64 0:1.87-4.el7
  perl-threads-shared.x86_64 0:1.43-6.el7
  zlib-devel.x86_64 0:1.2.7-18.el7

Updated:
  binutils.x86_64 0:2.27-43.base.el7_8.1

Complete!
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /dev/loop0 is write-protected, mounting read-only
Installing Virtualbox Guest Additions 6.0.24 - guest version is unknown
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.24 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
3.10.0-1127.el7.x86_64.
Redirecting to /bin/systemctl start vboxadd.service
Redirecting to /bin/systemctl start vboxadd-service.service
Unmounting Virtualbox Guest Additions ISO from: /mnt
==> default: Checking for guest additions in VM...
==> default: Rsyncing folder: /cygdrive/c/path_to_dir/any_name/ => /vagrant

こんな感じで色々メッセージが表示されて

PowerShell

PS C:\path_to_dir\any_name>
PS C:\path_to_dir\any_name> vagrant ssh
[vagrant@localhost ~]$ h

sshで無事ログインも出来ました。

【参考】

Windows10でVirtualBox+Vagrant+CentOS7の仮想マシンを作る

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?