当前位置:网站首页>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
边栏推荐
- Domestic lightweight Kanban scrum agile project management tool
- Android high-level interview must ask: overall business and project architecture design and reconstruction
- The express project changes the jade template to art template
- Go语言web中间件的使用
- JZ76 删除链表中重复的结点
- Source code and some understanding of employee management system based on polymorphism
- Codeforces Round #784 (Div. 4) (A - H)题解
- Flink stream processing engine system learning (III)
- php+mysql對下拉框搜索的內容修改
- 基于ele封装下拉菜单等组件
猜你喜欢

Slave should be able to synchronize with the master in tests/integration/replication-psync. tcl
![[wechat applet] set the bottom menu (tabbar) for the applet](/img/e2/98711dfb1350599cbdbdf13508b84f.png)
[wechat applet] set the bottom menu (tabbar) for the applet

Modification du contenu de la recherche dans la boîte déroulante par PHP + MySQL

How big the program development of single chip microcomputer project can be, it represents your level of knocking code

国产轻量级看板式Scrum敏捷项目管理工具

JVM class loader
![[XJTU計算機網絡安全與管理]第二講 密碼技術](/img/b0/263e8dcbfeb2ce9f504a9c8eb76b07.png)
[XJTU計算機網絡安全與管理]第二講 密碼技術

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

leangoo脑图-共享式多人协作思维导图工具分享

Shell script learning notes - regular expressions
随机推荐
Log cutting - build a remote log collection server
Domestic lightweight Kanban scrum agile project management tool
Les derniers noeuds K de la liste jz22
Those years can not do math problems, using pyhon only takes 1 minute?
JDBC JDBC
Rhcsa day 4 operation
The problem of removing spaces from strings
Shell script learning -- practical case
期中汇总(概论+应用层+运输层)
JDBC JDBC
Leetcode cooking
Specific field information of MySQL export table (detailed operation of Navicat client)
[wechat applet] set the bottom menu (tabbar) for the applet
[XJTU計算機網絡安全與管理]第二講 密碼技術
Store consumption SMS notification template
Suggestion: block reference sorting is in the order of keywords
【Hcip】OSPF常用的6种LSA详解
JVM运行时数据区(一)
OCR识别PDF文件
MySQL insert free column