Home > Article > System Tutorial > Establish a mac virtual machine cluster
Introduction: This article is here to introduce you to the relevant content about mac virtual machine clusters. I hope it will be helpful to you, let’s take a look.
First, enter the virtual machine and open the [Finder Preferences] window. According to the picture below, check all menu options one by one. This is the first step. After completing the check, follow the arrow instructions and click the [Virtual Machine-Install Vmware Tools] option. This is the second step.
To configure shared folders in a Windows virtual machine, follow these steps: Start VMware Fusion, and then start the desired virtual machine. In the virtual machine, click on the Settings option. Then select the "Share" option. In Fusion x and x, check the "Shared Folders" option. Once completed, you can access the shared folder in the virtual machine.
Select the virtual machine on Mac where you want to set up a shared folder, and click the "Set" button. Select the "Sharing" option in the virtual machine's settings window. Enable file sharing options in the sharing settings window. Take sharing the desktop on a Mac computer as an example.
First, find the downloaded vmware fusion virtual machine software on your computer and open it. Then, click the file option above the software and select New. In the pop-up window, choose to create a virtual machine. In the CD Add Wizard page, you can choose to install the required software or system from the CD.
Download the latest version of Ubuntu system image (Kylin version) on Mac, completely free. Download link: http://(Parallels Desktop provides a variety of system downloads, or you can download them directly in the software. It is recommended to go to the Ubuntu official website to download the latest version before installation.
There are two methods to install the Linux system . First, you can install a virtual machine software, such as PD, and then select the Linux system for installation. The software will automatically guide you through the installation process. Another method is to choose different installation methods according to different Linux systems. First, you need To make a Linux boot disk, you can use a software called Linux Boot Job. If you need to install Ubuntu system on MacBook, you can search for "How to install Ubuntu tutorial on MacBook" to get detailed steps.
In Linux, there is a third method to create a virtual network card, which is to create a tap device. This method is different from the first two methods. It allows to assign different IP addresses to the created network cards, and can also assign different IP addresses to each network card. Each network card is assigned a different MAC address. This makes it very suitable for creating virtual machines.
Parallels desktop Linux installation tutorial downloads the Ubuntu system image to Mac, the latest version of the system is Kylin, completely free.
Test: Enter test on the producer, and you can see the test character on the two consumer servers at the same time, indicating that the Kafka server cluster has been successfully built.
If If you are doing a web project, you can use LVS Keepalived to implement it. You can also use Nginx as a reverse proxy.
How to build Zookeeper There are three ways to install Zookeeper, stand-alone mode, cluster mode and pseudo-cluster mode. Zookeeper High availability is achieved through replication. As long as more than half of the machines in the collection are available, it can ensure that the service continues.
Preliminary environment preparation Kubernetes 8 begins to require closing the system's Swap. If it is not closed, the default configuration kubelet will not be able to start. Method 1 changes this restriction through the kubelet startup parameter –fail-swap-on=false.
kubeadm is a tool officially provided by Kubernetes for quickly installing Kubernetes clusters, through kubeadm Installing the cluster is much more efficient than the binary installation method. It is recommended to use this method to install k8s for the first time. The binary method will quickly make people lose confidence.
Conclusion: That’s it This site has introduced to you all the content about mac virtual machine clusters. I hope it will be helpful to you. If you want to know more about this, remember to bookmark and follow this site.
The above is the detailed content of Establish a mac virtual machine cluster. For more information, please follow other related articles on the PHP Chinese website!