0326 linux === ###### tags: `linux` ## 安裝ubuntu desktop時,遇到無法全螢幕化使用: apt install oper-vm-tools-desktop ## 在desktop環境下,切換主控台指令: 1.CTRL+ALT+F3~F6 可進行緊急救援之事項 2.ctrl+alt+F2可切回圖形介面 ## 在server環境下,切換主控台指令: 1.CTRL+ALT+F1~F6 可進行緊急救援之事項 *desktop 安裝預設無import SSH 需自行安裝 SSH=Secure Shell 查詢網路服務資訊指令: 1.netstat -tunlp 2.lsof -nPi ## 終端機 應用程式 (對接anther linux os) 1.conEmu 安裝網址:https://conemu.github.io/ 2.putty 安裝網址:https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 3.mobaxterm 安裝網址:https://mobaxterm.mobatek.net/download.html 4.git ver. 2.34.1 :https://github.com/git/git/releases/tag/v2.34.1 ## recommand book :The Linux command Line 老師推薦 閱讀1-9ch 可免費下載 PDF檔 https://wiki.lib.sun.ac.za/images/c/ca/TLCL-13.07.pdf ## 利用終端機連線至linux server 指令: 1.ssh josephchang@172.22.34.15 伺服器使用者名稱+IP位址 2.ssh josephchang@192.168.88.128 本+機使用者名稱+IP位址 ## NAT 簡介 教室為例: vmware vsphere 業界常用virtualization 軟體 ubuntu Desktop "ip addr show " 由 VMware DHCP SERVER 提供 經由 NAT Service 轉IP至(host ip 本機IP) > 教室網路 >教室router >中華 電信(實體IP) > internet. NAT Service IP查詢=>ubuntu desktop環境使用:ip route list查詢 實際IP查詢 =>host環境使用:tracert ## Bridge ubuntu Server "ip addr show" 與host,本機網段相同