Vagrant Box installation Centos encounter pit
The main thing is that there are some pits when installing Centos. Moreover, most of the online tutorials are not complete, so I am writing this blog to help some of the newcomers to the pit of Vagrant Box.
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox>
virtualBox> Virtualbox-6.0.18-136238-win
1. CMD below to initialize your virtual environment vagrant init your environment name, which I use when
D:\self\vagrant_workspace>vagrant init centos7
2. Generally, this process is extremely slow and may not succeed, because it needs to go to the remote factory to download, you can use the University of Science and Technology of China mirror this is faster
D:\self\vagrant_workspace>vagrant init centos7 https://mirrors.ustc.edu.cn/centos-cloud/centos/7/vagrant/x86_64/images/CentOS-7.box
3. Don’t worry about the following errors that may occur in the first and second steps
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.
again.
4. Use the following command to view the Vagrant installation list to see if the installation was successful
D:\self\vagrant_workspace>vagrant box list
5. Start the vagrant
D:\self\vagrant_workspace>vagrant up
The following error may occur
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 D:/self/vagrant_workspace/base
Box = “base”, default is “base”, you need to change the name of your own environment, here I will change it to “config.vm.box =” centos7 “
and then execute the command again
D:\self\vagrant_workspace>vagrant up
The presence of this indicates successful startup
default: SSH username: vagrant
default: SSH auth method: private key
Read More:
- How to Solve Infinite scroll the pit encountered
- Pit encountered by entity class data type BigDecimal
- Using the pit in Git that rebase encountered two could not apply XXXX
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- The solution to frequently pop up “cannot find a valid baseurl for repo” error prompt box in CentOS 6.7
- After CentOS 7 starts, the login box cannot be displayed. Press Alt + F2 to display “failed to start authorization manager”
- Invalidation of margin top property of nested box in CSS style box
- CentOS 8.2 installation-solve Error setting up base repository
- Centos7 quick installation of docker and configuration of image acceleration
- Putty encountered an error when logging into alicloud CentOS: dis connected:No supported authentication methods available
- Pits encountered during installation of vs2017
- CentOS 7 installation error: Cannot find a valid baseurl for repo: base/7/x86_6
- Error: nothing to do in centos7’s Yum installation
- Ubuntu 18.04 installation of opencv2.4.13 encountered fatal error. Possible solutions
- Problems encountered in VTK installation
- Problems encountered in the installation of pyromacoustics
- The installation of Homebrew encountered a 400 Bad Request error
- NPM installation module encountered enoent: no such file or directory, rename error
- Centos7 installation interface without interface
- Linux rhel7/centos7 source code compilation and installation Emacs Error NO x toolkit could be found