{"id":180652,"date":"2020-05-04T12:39:52","date_gmt":"2020-05-04T04:39:52","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=180652"},"modified":"2020-04-26T09:22:44","modified_gmt":"2020-04-26T01:22:44","slug":"make-system-image","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/make-system-image.html","title":{"rendered":"Linux \u5236\u4f5c\u7cfb\u7edf\u955c\u50cf"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728 RHEL 7.3 \u4e0a\u9762\u642d\u5efa\u597d\u4e86 Apache Web \u670d\u52a1\uff0c\u73b0\u5728\u60f3\u628a RHEL 8.1 \u7cfb\u7edf\u955c\u50cf\u4e0a\u4f20\u5230 Apache Web \u6839\u76ee\u5f55\uff0c\u4f46\u7531\u4e8e RHEL 8.1 \u7cfb\u7edf\u955c\u50cf\u7684\u5927\u5c0f\u4e3a 7.31 GB\uff0c\u5df2\u7ecf\u8d85\u8fc7 4 GB \uff0c\u901a\u8fc7 rz \u65e0\u6cd5\u4e0a\u4f20\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u628a RHEL 8.1 \u7cfb\u7edf\u955c\u50cf\u6302\u8f7d\u5230 RHEL 7.3 \u7cfb\u7edf\u4e0a\u518d\u5236\u4f5c\u4e00\u4e2a\u65b0\u7cfb\u7edf\u955c\u50cf\uff0c\u7136\u540e\u628a\u65b0\u7cfb\u7edf\u955c\u50cf\u79fb\u52a8\u5230 Apache Web \u6839\u76ee\u5f55\u91cc\u9762\u7684\u7cfb\u7edf\u955c\u50cf\u76ee\u5f55\u5373\u53ef\uff0c\u4e5f\u53ef\u4ee5\u5148\u5230 Apache Web \u6839\u76ee\u5f55\u91cc\u7684\u7cfb\u7edf\u955c\u50cf\u76ee\u5f55\u518d\u5236\u4f5c\u65b0\u7cfb\u7edf\u955c\u50cf\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u7701\u53bb\u79fb\u52a8\u65b0\u7cfb\u7edf\u955c\u50cf\u7684\u6b65\u9aa4\u4e86\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u73af\u5883<\/strong><\/div>\n

Red Hat Enterprise Linux Server release 7.3
\nVMware Workstation Pro 14<\/strong><\/p>\n

\u6dfb\u52a0\u955c\u50cf<\/strong><\/div>\n

\"\"<\/p>\n

[root@Jaking ~]# ifconfig\r\nens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255\r\n        inet6 fe80::20c:29ff:fe84:eae5  prefixlen 64  scopeid 0x20\r\n        ether 00:0c:29:84:ea:e5  txqueuelen 1000  (Ethernet)\r\n        RX packets 636  bytes 53068 (51.8 KiB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 508  bytes 85327 (83.3 KiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\r\n        inet 127.0.0.1  netmask 255.0.0.0\r\n        inet6 ::1  prefixlen 128  scopeid 0x10\r\n        loop  txqueuelen 1  (Local Loopback)\r\n        RX packets 4  bytes 340 (340.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 4  bytes 340 (340.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nvirbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\r\n        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255\r\n        ether 52:54:00:25:a2:80  txqueuelen 1000  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 0  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\n[root@Jaking ~]# df -h      \r\nFilesystem             Size  Used Avail Use% Mounted on\r\n\/dev\/mapper\/rhel-root   48G  4.9G   41G  11% \/\r\ndevtmpfs               478M     0  478M   0% \/dev\r\ntmpfs                  489M     0  489M   0% \/dev\/shm\r\ntmpfs                  489M  6.7M  482M   2% \/run\r\ntmpfs                  489M     0  489M   0% \/sys\/fs\/cgroup\r\n\/dev\/sr0               3.6G  3.6G     0 100% \/media\/cdrom\r\n\/dev\/sdd                40G   27G   14G  67% \/download\r\n\/dev\/sda2             1014M  145M  870M  15% \/boot\r\n\/dev\/mapper\/rhel-data   10G   33M   10G   1% \/data\r\ntmpfs                   98M     0   98M   0% \/run\/user\/0\r\n[root@Jaking ~]# ls \/dev\/sr*\r\n\/dev\/sr0  \/dev\/sr1\r\n#\/dev\/sr1\u4e3a\u65b0\u6dfb\u52a0\u7684\u955c\u50cf\r\n<\/pre>\n
\u5236\u4f5c\u65b0\u7cfb\u7edf\u955c\u50cf<\/strong><\/div>\n

\u5207\u6362\u5230 Apache Web \u6839\u76ee\u5f55\u91cc\u7684\u7cfb\u7edf\u955c\u50cf\u76ee\u5f55<\/p>\n

[root@Jaking ~]# cd \/download\/\u7cfb\u7edf\u955c\u50cf\/\r\n[root@Jaking \u7cfb\u7edf\u955c\u50cf]# ls\r\nCentOS-7.6-x86_64-DVD-1810.iso  rhel-server-7.3-x86_64-dvd.iso    Windows 7 x64.iso\r\nLaoMaoTao.iso                   ubuntu-18.04.1-desktop-amd64.iso  Windows Sever 2008.iso\r\nrhel-server-6.5-x86_64-dvd.iso  Windows 2003 SP2.iso\r\n[root@Jaking \u7cfb\u7edf\u955c\u50cf]# dd if=\/dev\/sr1 of=RHEL-8.1.iso\r\n15335424+0 records in\r\n15335424+0 records out\r\n7851737088 bytes (7.9 GB) copied, 174.329 s, 45.0 MB\/s\r\n<\/pre>\n
\u901a\u8fc7Web\u754c\u9762\u67e5\u770b\u65b0\u7cfb\u7edf\u955c\u50cf<\/strong><\/div>\n

http:\/\/192.168.10.10\/\u7cfb\u7edf\u955c\u50cf\/<\/p>\n

\"\"<\/p>\n

\u4e0b\u8f7d\u955c\u50cf<\/strong><\/div>\n

\"\"<\/p>\n

\u7528 watch ifstat \u5b9e\u65f6\u67e5\u770b\u7f51\u5361\u6d41\u91cf<\/strong><\/div>\n

\"\"<\/p>\n

\u603b\u7ed3<\/strong><\/div>\n

\u81f3\u6b64\uff0c\u955c\u50cf\u5df2\u7ecf\u5236\u4f5c\u6210\u529f\uff0c\u4e0b\u8f7d\u540e\u5c31\u80fd\u76f4\u63a5\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Red Hat Enterprise Linux Server release 7.3 VMware Work […]<\/p>\n","protected":false},"author":63,"featured_media":180653,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-180652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/180652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=180652"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/180652\/revisions"}],"predecessor-version":[{"id":180809,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/180652\/revisions\/180809"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/180653"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=180652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=180652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=180652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}