erhunter.blogg.se

Vmboxes
Vmboxes










vmboxes

Virtualization has advantages for both the data center and the desktop: data centers use it to increase server hardware utilization, while desktop users use it for modeling, testing, and development work. I've been a fan of virtualization technology for many years, using many different products along the way. We only submit the source code and pom files to the code cloud 2. Modify the of the total project gitignore template to ignore the garbage files in small projectsĪfter ignoring these files, git will not be submitted to the warehouse when it is submitted.

vmboxes

Downloading from foreign websites is slowĦ. By default, images are downloaded from the docker hub.

vmboxes

At this time, it is an empty list ~]$ sudo docker imagesĭocker is set to start automatically, and virtual machine starts automatically ~]$ sudo systemctl enable dockerĬreated symlink from /etc/systemd/system//rvice to ~]$Ĭonfigure docker alicloud image acceleration. Install docker engine sudo yum install docker-ce docker-ce-cli containerd.ioĪfter installation of docker, start dockerĬheck whether docker is started by viewing the docker version docker -vĬheck the image list downloaded by the virtual machine. Tell Linux docker where to install sudo yum-config-manager \ Test whether the windows host and virtual machine can ping each otherĢ, Installing docker for linux virtual machine Modify the vagrant file to configure the virtualbox port on the windows host View the virtualbox ip address on windows native The virtual machine is created using vagrant, so you can directly configure the vagrant file Just use the ip address to access it directly Windows and linux virtual machines ping each other, so that linux installs the software and windows We will give the virtual machine a fixed ip addressĨ. After installing a software in virtualbox linux, you need to set port forwarding rules in virtualboxħ. For example, accessing port 3333 of windows is equivalent to accessing port 3306 of linuxĦ. virtualbox needs to bind the port of its software in linux system with the port of windows system. mysql and redis also have their own default ports, such as 33ĥ. mysql, redis and other software will be installed in linux systemĤ. Inside the virtualbox is the linux systemģ. virtualbox is installed on windows systemĢ. Network address translation, port forwardingġ. Connect to virtual machine //Connect vagrant to virtual machine Exit the command because the vmbox is already started ctrl cĥ. Start a CentOS 7 virtual machine to quickly download CentOS 7 vagrant init centos7 Ĭmd directly into the directory where vagrant is located, because we put the vagrant file in the C: \ users \ 13754 > directory during initialization //Start the virtual machine or operate directly on the vmbox interfaceĤ. Remember to turn on cpu virtualization 2.












Vmboxes