Last active
June 19, 2017 21:39
-
-
Save muzudho/55c5ed2c9518abb9764f70c6a6c5fdc3 to your computer and use it in GitHub Desktop.
Webアプリ案件を受注しようぜ<その1> ref: http://qiita.com/muzudho1/items/d17799dfacc6d84a4c8a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant box add hashicorp/precise64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant box add centos/7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Box 'CentOS7' could not be found. Attempting to find and install... | |
default: Box Provider: virtualbox | |
default: Box Version: >= 0 | |
==> default: Box file was not detected as metadata. Adding it directly... | |
==> default: Adding box 'CentOS7' (v0) for provider: virtualbox | |
default: Downloading: CentOS7 | |
default: | |
An error occurred while downloading the remote file. The error | |
message, if any, is reproduced below. Please fix this error and try | |
again. | |
Couldn't open file /c:/myCentOSVM/CentOS7 | |
c:\myCentOSVM> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant box list | |
centos/7 (virtualbox, 1704.01) | |
hashicorp/precise64 (virtualbox, 1.1.0) | |
c:\myCentOSVM> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant init centos/7 | |
`Vagrantfile` already exists in this directory. Remove it before | |
running `vagrant init`. | |
c:\myCentOSVM> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant init centos/7 | |
`Vagrantfile` already exists in this directory. Remove it before | |
running `vagrant init`. | |
c:\myCentOSVM>vagrant init -f centos/7 | |
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. | |
c:\myCentOSVM> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant init -f CentOS7 | |
vagrant up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant ssh | |
`ssh` executable not found in any directories in the %PATH% variable. Is an | |
SSH client installed? Try installing Cygwin, MinGW or Git, all of which | |
contain an SSH client. Or use your favorite SSH client with the following | |
authentication information shown below: | |
Host: 127.0.0.1 | |
Port: 2222 | |
Username: vagrant | |
Private key: C:/Users/Takahashi/.vagrant.d/insecure_private_key | |
c:\myCentOSVM> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set PATH=%PATH%;C:\Program Files\Git\usr\bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_exchange_identification: read: Connection reset by peer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant box list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_exchange_identification: read: Connection reset by peer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If the box appears to be booting properly, you may want to increase | |
the timeout ("config.vm.boot_timeout") value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> default: Attempting graceful shutdown of VM... | |
default: Guest communication could not be established! This is usually because | |
default: SSH is not running, the authentication information was changed, | |
default: or some other networking issue. Vagrant will force halt, if | |
default: capable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.boot_timeout = 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This kernel requires an x86-64 CPU, but only detected an i686 CPU. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install kernel-devel gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\>mkdir myCentOSVM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\>cd myCentOSVM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>cd vagrant init centos/7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant init -f CentOS7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\myCentOSVM>vagrant init CentOS7 | |
`Vagrantfile` already exists in this directory. Remove it before | |
running `vagrant init`. | |
c:\myCentOSVM> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment