<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                兩個月前自己搭好了打包了一個lnmp的box,現在用`vagrant up`命令無法啟動起來,報如下提示: ``` The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below: Vagrant has detected that you have a version of VirtualBox installed that is not supported by this version of Vagrant. Please install one of the supported versions listed below to use Vagrant: 4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0 A Vagrant update may also be available that adds support for the version you specified. Please check www.vagrantup.com/downloads.html to download the latest version. ``` 在網上找到了方案,作者情況與我一樣,最后按步驟成功解決。這里照搬下,并附上原作者攻略鏈接: https://hacpai.com/article/1576163288162 以下內容為照搬,步驟很清晰了,就不做改動。 通過該鏈接點到 Vagrant 在 GitHub 上的倉庫,靈機一動去查看了 issue,果然有人和我遇到了同樣的問題,并且神通廣大的網友給出了解決方案。 [https://github.com/oracle/vagrant-boxes/issues/178](https://hacpai.com/forward?goto=https%3A%2F%2Fgithub.com%2Foracle%2Fvagrant-boxes%2Fissues%2F178) 我參考上面的步驟進行了如下操作: 1.進入我的 Vagrant 安裝目錄`D:\HashiCorp\Vagrant`(ps:默認安裝在 c 盤的這個目錄下,我安裝時只修改了盤符) 2.修改`D:\HashiCorp\Vagrant\embedded\gems\2.2.6\gems\vagrant-2.2.6\plugins\providers\virtualbox\plugin.rb`文件。在 61 行左右,添加 `autoload :Version_6_1, File.expand_path("../driver/version_6_1", __FILE__)` ![image.png](https://img.hacpai.com/file/2019/12/image-d9e4175f.png?imageView2/2/interlace/1/format/webp) 679 x 254 記住使用管理權限修改。 3.修改`D:\HashiCorp\Vagrant\embedded\gems\2.2.6\gems\ vagrant2.2.6\plugins\providers\virtualbox\driver\meta.rb`文件,在 66 行左右增加`"6.1" => Version_6_1,`,修改后如下圖: ![image.png](https://img.hacpai.com/file/2019/12/image-b2c18a2a.png?imageView2/2/interlace/1/format/webp) 472 x 212 同時在當前目錄下新建`version_6_1.rb`文件,文件內容如下: ~~~ require File.expand_path("../version_6_0", __FILE__) module VagrantPlugins module ProviderVirtualBox module Driver # Driver for VirtualBox 6.1.x class Version_6_1 < Version_6_0 def initialize(uuid) super @logger = Log4r::Logger.new("vagrant::provider::virtualbox_6_1") end end end end end ~~~ 到這里就結束了,然后嘗試啟動 CentOS7,啟動成功: ![image.png](https://img.hacpai.com/file/2019/12/image-75dba06d.png?imageView2/2/interlace/1/format/webp) 738 x 463 1044 x 655 總結:在我們使用一些開源工具的時候,如果遇到自己搞不定的問題時,可以去 GitHub 上看看 issue,也許有意外驚喜。 作者:arrayMi 鏈接:https://hacpai.com/article/1576163288162 來源:黑客派 協議:CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0/ 開源軟件的問題,直接去開源處。通常是github的issue去找方案,因為很可能別人已經遭遇過了。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看