当前位置:网站首页>VirtualBox virtual machine (Oracle VM)
VirtualBox virtual machine (Oracle VM)
2022-04-23 02:48:00 【REMLILI】
virtual machine
- One 、VirtualBox install
- Two 、Vagrant: Tools for building a virtual development environment
- 3、 ... and 、Vagrant Download the installation image : Mirror warehouse
- 3、 ... and 、VirtualBox Network virtual port forwarding
One 、VirtualBox install
( One ) Software download address :
Address :https://www.virtualbox.org/wiki/Downloads
( Two ) Virtualization on :
On the main board bios Set up
Two 、Vagrant: Tools for building a virtual development environment
( One ) characteristic
Unified development environment
Avoid building a development environment repeatedly
Multiple isolated development environments
( Two ) download :
Address :https://www.vagrantup.com/downloads
( 3、 ... and ) install :
vagrant_2.2.19_i686.msi
Direct installation → Choose the path → restart
( 3、 ... and ) test :
Instructions :vagrant
( Four )Vagrant Download the installation image : Mirror warehouse
1、 Create an environment
Instructions (CENTOS7):vagrant init centos/7
2、 Download mirroring : Install the boot system
Instructions :vagrant up
After completion :ctrl + C Pause
3、 Start the system : Turn it on
Method 1: Instructions :vagrant up
Method 2: Right click Oracle VM VirtualBox The system inside
4、 Connect SSH
Instructions :vagrant ssh
5、 Restart the virtual machine
Instructions :vagrant reload
6、 Exit connection
Instructions :exit ;
( 5、 ... and )Vagrant problem : If something goes wrong, directly delete the installation directory
C:\HashiCorp\Vagrant\
3、 ... and 、Vagrant Download the installation image : Mirror warehouse
( One ) user name
vargant
1、 Display login user information
Instructions :W
Instructions :who
Instructions :last
( Two ) jurisdiction
$ Ordinary
# Super
1、 Change permissions
Instructions :su
root Default password :vagrant
vagrant Default password :vagrant
2、 Change Password
Instructions :sudo passwd root
Enter the new password :2 Time
( 3、 ... and ) To turn it off
1、 Turn off immediately.
Instructions :poweroff
Instructions :shutdown -h now
Instructions :init 0
2、 restart
Instructions :reboot
Instructions :shutdown -r now
Instructions :init 6
3、 ... and 、VirtualBox Network virtual port forwarding
IP Address to access applications in the virtual machine
( One ) Settings in virtual machine
Set up → The Internet → senior → Port forwarding → add to / modify
( Two ) File configuration settings
C:\Users\Administrator\Vagrantfile
# config.vm.network "private_network", ip: "192.168.33.10"
Get rid of #: config.vm.network "private_network", ip: "192.168.33.10"
change ip:ipconfig Query the local virtual machine address
Then according to the virtual machine local ip Make changes —— The last group is different
192.168.56.1——> 192.168.56.10
版权声明
本文为[REMLILI]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220741227338.html
边栏推荐
猜你喜欢
Slave should be able to synchronize with the master in tests/integration/replication-psync. tcl
The input of El input input box is invalid, and error in data(): "referenceerror: El is not defined“
Practice of industrial defect detection project (III) -- Based on FPN_ PCB defect detection of tensorflow
基于ele封装下拉菜单等组件
Target narak
[XJTU计算机网络安全与管理]第二讲 密码技术
ROP Emporium x86_ 64 7 ~ 8 questions
Windows MySQL 8 zip installation
Actual combat of industrial defect detection project (IV) -- ceramic defect detection based on hrnet
下载正版Origin Pro 2022 教程 及 如何 激 活
随机推荐
PIP install shutil reports an error
Day 4 of learning rhcsa
ROP Emporium x86_64 7~8题
[wechat applet] set the bottom menu (tabbar) for the applet
JZ22 链表中倒数最后k个结点
Innovation and management based on Scrum
《信息系统项目管理师总结》第七章 项目沟通管理
ele之Table表格的封装
MySQL复杂查询使用临时表/with as(类似表变量)
Renesas electronic MCU RT thread development and Design Competition
Shell script learning notes -- shell operation on files sed
[xjtu Computer Network Security and Management] session 2 Cryptographic Technology
MySQL complex query uses temporary table / with as (similar to table variable)
期中汇总(概论+应用层+运输层)
接口请求时间太长,jstack观察锁持有情况
Devil cold rice 𞓜 078 devil answers the market in Shanghai and Nanjing; Communication and guidance; Winning the country and killing and screening; The purpose of making money; Change other people's op
Niuke hand speed monthly race 48 C (I can't understand the difference. It belongs to yes)
Linux redis - redis ha sentinel cluster construction details & redis master-slave deployment
Log cutting - build a remote log collection server
The input of El input input box is invalid, and error in data(): "referenceerror: El is not defined“