Created
April 23, 2017 16:09
-
-
Save rgodishela/3f5ccc9260776c3ef0a7421069b53012 to your computer and use it in GitHub Desktop.
Vagrant on Windows x86_64
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
1.Download below tools into your local machine | |
Putty | |
Puttygen | |
Virtualbox | |
Vagrant | |
2.Create a project | |
Go to command Line | |
Create directory | |
Enter into that directory | |
3.Download CentOS6 box | |
In the same directory, Please run below commands | |
vagrant init geerlingguy/centos6 | |
vagrant up | |
vagrant ssh-config | |
Note down Host IP/HostName, Port | |
4.Convert Insecure Public Key to Private Key | |
In Run, go to %userprofile%/.vagrant.d/ | |
double click on insecure public key and open up with PuttyGen | |
save that as private key [ rememeber the location] | |
5.Log into CentOS 6 Machine | |
open putty | |
Enter the IPAddress and port | |
Navigate to ssh, then to auth and load the private key which you have created in previous section. | |
then go to session and click open | |
username is vagrant | |
password is vagrant | |
7.Upgrade the your CentOS 6 Machine with the latest updates | |
sudo yum update -y && sudo yum upgrade -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment