Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make system Mirror with Linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to make a system image in Linux. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Environment

Red Hat Enterprise Linux Server release 7.3 VMware Workstation Pro 14

Add Linux to make system image # ifconfigens32: flags=4163 mtu 1500 inet 192.168.10.10 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::20c:29ff:fe84:eae5 prefixlen 64 scopeid 0x20 ether 00:0c:29:84:ea:e5 txqueuelen 1000 (Ethernet) RX packets 636 bytes 53068 (51.8 KiB) RX errors 0 dropped 0 overruns 0 Frame 0 TX packets 508 bytes 85327 (83.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6:: 1 prefixlen 128 scopeid 0x10 loop txqueuelen 1 (Local Loopback) RX packets 4 bytes 340 (340.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4 bytes 340 (340.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0virbr0: flags=4099 mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether 52:54:00:25:a2:80 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@Jaking ~ ] # df-h Filesystem Size Used Avail Use% Mounted on/dev/mapper/rhel-root 48G 4.9G 41G 11% / devtmpfs 478M 0478M 0% / devtmpfs 489M 0 489m 0% / dev/shmtmpfs 489M 6.7m 482m 2% / runtmpfs 489M 0489M 0% / sys/fs / cgroup/dev/sr0 3.6G 3.6G 0% / media/cdrom/dev/sdd 40G 27G 14G 67% / download/dev/sda2 1014M 145m 870M 15% / boot/dev/mapper/rhel-data 10G 33m 10G 1% / datatmpfs 98m 098m 0% / run/user/0 [root@Jaking ~] # Ls / dev/sr*/dev/sr0 / dev/sr1#/dev/sr1 create a new system image for the newly added image

Change to the system image directory in the Apache Web root directory

[root@Jaking ~] # cd / download/ system Image / [root@Jaking system Image] # lsCentOS-7.6-x86_64-DVD-1810.iso rhel-server-7.3-x86_64-dvd.iso Windows 7 x64.isoLaoMaoTao.iso ubuntu-18.04.1-desktop-amd64.iso Windows Sever 2008.isorhel-server-6.5-x86_64-dvd.iso Windows 2003 SP2.iso [root@Jaking system Image] # Dd if=/dev/sr1 of=RHEL-8.1.iso15335424+0 records in15335424+0 records out7851737088 bytes (7.9 GB) copied 174.329 s, 45.0 MB/s view the new system image through the Web interface

Http://192.168.10.10/ system Mirror /

Download the image and use watch ifstat to view the network card traffic in real time. This is the end of the article on "how to make a system image in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report