Statement: This article usesVirualboxThe Virtual Machine System is used as an example to build a learning environment for learners.VirtualboxRemote connection. If you have better suggestions, leave a message.
To learn, you need a good learning environment. This article uses a virtual machine as an example to build a learning environment for learners in the Virtual Machine for later learning. In this way, when there is a problem, the learning environment can be quickly restored and the environment is clean, the current system is not affected.
1 first, select a virtual machine system. There are two options: VMware and virtualbox . Of course, I recommend virtualbox first, it is free and open-source without copyright; second, it is running in reality, it is indeed faster than VMware fast. virtualbox as an example, build a learning environment.
Let's start. We need to downloadVirtualbox. ToHttp://www.virtualbox.org/wiki/DownloadsDownload the latest4.0Version. Here we use the basicWindows XPFor example, download32BitVirtualboxVirtual Machine System.
Start installation. Installation is simple. All the way next that's all. Of course, here we can remove one of the options... virtualbox cannot be installed in green or cloud virtualization (4.0 version ) , Note that the installation must be completely new and cannot be used in a green manner. The installation mainly involves installing components at the underlying level of the system, such as virtual networks. If a prompt appears during installation, click "continue installation" .
2After the Virtual Machine Platform is installed, You need to configure the storage path. Here I selectVirtualbox_systemDirectory. Later, the virtual machine systems will be installed in this directory.
Then install the operating system. This is the same as the general process of installing the operating system, but you need to register the virtual disk before using it. The following is an example.
The following installation is the same as installing windows.
3Next, you need to configure the Virtual Machine network to support networking and remote connection.The connection and remote connection of virtual machines cannot coexist here. I searched the network and found no effective solution. Here is a method of my personal practice, if you have other methods that can be connected to the Internet and remotely, leave a message..
1) Close the virtual machine, open settings, Open Network items, and join network connection 2.
Open the local network connection and check the IP address of the VB host.
2) Save the settings, open the virtual machine, and open the network connection.
3) Open local connection 2 and set it.
4) then, you can use the IP address (192.168.56.6...
The principle is as follows: two NICs are installed on the VM and two NICs are installed on the host. One Nic of the VM obtains the IP address through DHCP of the host through NAT for networking; another Nic creates a CIDR Block through the host's hostip for remote LAN connection.
4And then install programming tools, databases, and other systems.
5And summary.
The learning environment has been set up and tested. Well, the database connection between the two virtual machines is successful (two Windows2003 virtual machines are installed, one is programming, and the other is a server). Of course, you can also install development tools and databases on the same machine. The simulation here is the separate configuration method between the running server and the database server. Although the connection and query speed may be a little slow, however, the performance of the existing system does not affect a lot. Please install it.
Now, our environment has been set up, and relevant series of learners will be available in the future.Article...
Note: This article is written in stages, however, there should be no points that you cannot understand. Of course, you can also use VMware , however, we recommend that you set up a virtual machine system for your learning and use based on the system's rapid recovery effect.