Preface When a Linux is fully set up, you can use cloning to create multiple Linux in a short time; this article will give you a detailed introduction about centos cloning Linux virtual machines. Let's take a look at the detailed introduction. The steps are as follows 1) Clone a new virtual machine 2) Enter in the terminal command window [root@hadoop105 /]#vim /etc/udev/rules.d/70-persistent-net.rules Go to the following page, delete the line of eth0, change eth1 to eth0, and copy the physical IP address 3) Modify IP address [root@hadoop102 /]#vim /etc/sysconfig/network-scripts/ifcfg-eth0 :wq save and exit 4) Modify hostname Enter vi /etc/sysconfig/network in the command line :wq! Save and exit 5) Verify whether the IP address is changed successfully Enter sync on the command line to save memory Enter reboot in the command line After restarting, enter ifconfig in the command line You can see that the IP address has been updated to the one just set. Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support for 123WORDPRESS.COM. You may also be interested in:
|
<<: JavaScript implements mouse drag to adjust div size
>>: 50 lines of code to implement Webpack component usage statistics
This article shares the specific code for JavaScr...
Table of contents 1. Introduction 2. Why do we ne...
When the Docker container exits, the file system ...
IE8 new feature Web Slices (Web Slices) Microsoft...
Use CSS filter to write mouse over effect <div...
Preface At work, I need to count the materials su...
I was in a meeting when a colleague called to rep...
When rendering Markdown before, I used the previe...
Table of contents Install Tomcat Download Tomcat ...
Linux change hostname command 1. If you only need...
Get the local public IP address through the conta...
Table of contents Why understand the life cycle W...
Preface It took two days to reconstruct a puzzle ...
This article shares the specific code of JavaScri...
1. Embed is illegal The <embed> tag is a pri...