虛擬機軟件: vmware workstation虛擬機
iso鏡像:debian-10.7.0-amd64-DVD-1
提前創建安裝目錄:D:\linux\debian_pc_1
1、打開vmware workstation虛擬機,點擊創建新的虛擬機
2、
3、
4、
5、
6、
7、
8、
9、
10、
11、
12、
13、
14、
15、
16、
17、
18、移除這三項
19、
20、
21、
22、把鼠標點擊虛擬機空白處,然后使用方向鍵,選擇 圖形安裝,然后回車
23、
24、雙擊 other
25、雙擊asia
26、
27、
28、
29、
30、
31、
32、
33、
34、
35、
36、
37、
38、
39、
40、
41、此時,右擊虛擬機名稱,選設置
42、把已連接前面的鈎去掉,點確定
43、
44、
45、
46、
47、
48、
49、
50、
51、右擊虛擬機名稱,選設置
52、勾選已連接
53、點擊activity,在輸入框輸入termi,點擊下面的Terminal
54、右擊終端標題,點擊move to workkspace down
55、
56、檢測ip
57、測試ssh登錄
login as: xiaoxiami xiaoxiami@192.168.3.33's password:
Linux debianpc1 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. xiaoxiami@debianpc1:~$ whoami xiaoxiami xiaoxiami@debianpc1:~$ hostname debianpc1 xiaoxiami@debianpc1:~$ hostnamectl Static hostname: debianpc1 Icon name: computer-vm Chassis: vm Machine ID: 1bcda09948cb4402aa6903bf28166846 Boot ID: 4bf6cb03c0f8423fa80ec54144687350 Virtualization: vmware Operating System: Debian GNU/Linux 10 (buster) Kernel: Linux 4.19.0-13-amd64 Architecture: x86-64
58、測試網絡
xiaoxiami@debianpc1:~$ ping www.baidu.com ## 測試外網 PING www.a.shifen.com (39.156.66.14) 56(84) bytes of data. 64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=1 ttl=51 time=10.9 ms 64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=2 ttl=51 time=11.2 ms 64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=3 ttl=51 time=11.1 ms ^C --- www.a.shifen.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 23ms rtt min/avg/max/mdev = 10.918/11.093/11.247/0.160 ms
xiaoxiami@debianpc1:~$ ping 192.168.3.4 ## 測試物理機 PING 192.168.3.4 (192.168.3.4) 56(84) bytes of data. 64 bytes from 192.168.3.4: icmp_seq=1 ttl=128 time=0.102 ms 64 bytes from 192.168.3.4: icmp_seq=2 ttl=128 time=0.181 ms 64 bytes from 192.168.3.4: icmp_seq=3 ttl=128 time=0.202 ms ^C --- 192.168.3.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 40ms rtt min/avg/max/mdev = 0.102/0.161/0.202/0.045 ms
C:\Users\75377>ping 192.168.3.33 ## 物理機pingdebian虛擬機 正在 Ping 192.168.3.33 具有 32 字節的數據: 來自 192.168.3.33 的回復: 字節=32 時間<1ms TTL=64 來自 192.168.3.33 的回復: 字節=32 時間<1ms TTL=64 來自 192.168.3.33 的回復: 字節=32 時間<1ms TTL=64 來自 192.168.3.33 的回復: 字節=32 時間<1ms TTL=64
192.168.3.33 的 Ping 統計信息: 數據包: 已發送 = 4,已接收 = 4,丟失 = 0 (0% 丟失), 往返行程的估計時間(以毫秒為單位): 最短 = 0ms,最長 = 0ms,平均 = 0ms
網絡連通。