【folio/Q1-2019 Vagrant box 基本資訊】
- https://app.vagrantup.com/folio/boxes/Q1-2019
- 裝在 Server 上的效能會比較好,個人電腦可能會跑不動
【安裝 Vagrant】
- 下載 Vagrant 2.2.7
- Windows 64-bit : vagrant_2.2.7_x86_64 ( 210 MB )
- 安裝 ( 10 分鐘 )
- 重開機
【下載並安裝 folio/Q1-2019】
- 建立一個目錄:_folioQ1-2019
- 開啟命令提示字元
- 進入這個工作目錄:cd _folioQ1-2019
- 輸入指令讓 Vagrant 下載設定檔:vagrant init folio/Q1-2019
F:\_folioQ1-2019>vagrant init folio/Q1-2019 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.
- 輸入指令讓 Vagrant 下載並啟動 folio/Q1-2019:vagrant up ( 10 分鐘 )
F:\_folioQ1-2019>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'folio/Q1-2019' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'folio/Q1-2019' default: URL: https://vagrantcloud.com/folio/Q1-2019 ==> default: Adding box 'folio/Q1-2019' (v1.0.1) for provider: virtualbox default: Downloading: https://vagrantcloud.com/folio/boxes/Q1-2019/versions/1.0.1/providers/virtualbox.box default: Download redirected to host: s3.amazonaws.com default: Progress: 2% (Rate: 8060k/s, Estimated time remaining: 0:08:35) ... ==> default: Successfully added box 'folio/Q1-2019' (v1.0.1) for 'virtualbox'! ==> default: Importing base box 'folio/Q1-2019'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'folio/Q1-2019' version '1.0.1' is up to date... ==> default: Setting the name of the VM: _folioQ1-2019_default_1587607398561_66870 Vagrant is currently configured to create VirtualBox synced folders with the `SharedFoldersEnableSymlinksCreate` option enabled. If the Vagrant guest is not trusted, you may want to disable this option. For more information on this option, please refer to the VirtualBox manual: https://www.virtualbox.org/manual/ch04.html#sharedfolders This option can be disabled globally with an environment variable: VAGRANT_DISABLE_VBOXSYMLINKCREATE=1 or on a per folder basis within the Vagrantfile: config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 9130 (guest) => 9130 (host) (adapter 1) default: 3000 (guest) => 3000 (host) (adapter 1) default: 8000 (guest) => 8000 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> 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: 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: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 5.2.22 default: VirtualBox Version: 6.1 ==> default: Mounting shared folders... default: /vagrant => F:/_folioQ1-2019
- 開始使用 FOLIO:http://localhost:3000 ( diku_admin / admin )