How to change the interface font size of the Linux virtual machine?
1. First shut down the Linux virtual system;
Settings;3. Click "Monitor" in the pop-up dialog box;
4. Specify "Monitor" as "Specify monitor settings", and in "Maximum resolution of any monitor", select a large resolution. A little bit;
5. Click "OK";
6. Restart the Linux virtual machine and you can see that the screen size has changed.
What should you pay attention to when shutting down a Linux virtual machine?
1. The shutdown command is used to safely shut down the system. ?Many users will shut down the Linux server by pressing the power button directly, which is wrong. The Linux server is very different from the Windows server. There are many processes running in the background. Forced shutdown will cause data loss of the process, make the system unstable, and even damage the hardware. 2. During work, the shutdown command is often used with some parameters. Among them: restart the calculator. After the execution, you can still log in to the server after the network port identification is completed; with this parameter, it does not actually shut down_it just sends a warning signal to each login; after shutting down the server, turn off the power. After execution, you cannot log in to the server unless you press the power button of the server to start it. 3. The halt command can be said to be the simplest shutdown command. To put it bluntly, the halt command actually calls shutdown-h. When halt is executed, it kills the application process and stops the kernel after the file system write operation is completed. 4. When the halt command is actually used, it also has some commonly used parameters. Among them: force shutdown or restart without calling shutdown; shut down all network interfaces before shutting down; this is the default option, which actually calls poweroff when shutting down. 5. Reboot command. The working process of reboot is basically the same as that of halt, except that it causes the host to restart, while halt shuts down and does not start again. Don't be surprised that the server cannot be logged in after executing the halt command. Its parameters are also similar to halt. 6. Init command, init is the origin of all processes, and its process number is 1. It can send signals to terminate all user processes, daemon processes, etc. The shutdown command actually uses this mechanism. init defines 8 runlevels (runlevel), init0 is shutdown, and init1 is restart.
How to run commands in a virtual machine Linux system?
First of all, it depends on which virtual software you are using. Currently, the mainstream virtual machine software that comes with Linux is usually boxes and virt-manager. The command executes the boxes method: $sudognome-boxes command executes the virt-manager method. :$sudovirt-manager
Three modes of Linux?
Linux virtual machines have three network modes, namely Bridged (bridge mode), NAT (network address translation mode), and Host-only (host mode).
1. NAT (Network Address Translation Mode)
Using NAT mode allows the virtual system to use the function of NAT to access the public network through the network where the host is located. In this mode, the host becomes a dual-network card host and participates in the existing host LAN and the new virtual LAN at the same time. However, due to the addition of a virtual NAT server, the virtual machines in the virtual LAN use the It is the IP address of the host machine. From the external network, only the host machine can be seen, and the newly created virtual LAN cannot be seen at all.
2. Bridged (bridge mode)
In this mode, the operating system virtualized by Virtualbox is like an independent host in the LAN, which can access the network Any machine needs to manually configure the IP address and netmask for the virtual system, and it must be on the same network segment as the host machine, so that the virtual system can communicate with the host machine. The relationship between the virtual system and the host machine is like a connection. Two computers on the same Hub. From a network technology perspective, it is equivalent to adding a virtual switch on the front end of the host, and then the host and all virtual machines share this switch.
3. Host-only (host mode)
In some special network debugging environments, it is required to isolate the real environment and the virtual environment. In this case, host-only can be used. only mode, in this mode all virtual machines on the host can communicate with each other, but the virtual machines and the real network are isolated.
Restore factory settings of virtual machine Linux?
Using the "Undo" function of the virtual machine, you can immediately restore the virtual machine to the state before installing the software.
上一篇:pve虚拟机修改时间
下一篇:pve虚拟机启动不了