1、鏡像獲取
https://next.itellyou.cn/Original/#cbp=Product?ID=deb4715d-5e52-ea11-bd34-b025aa28351d
2、創(chuàng)建虛擬機
- 添加下載的鏡像文件
- 設(shè)置用戶信息
- 設(shè)置磁盤大小
3、開始安裝
- 檢查硬盤可以Ctrl+c跳過
- 開始安裝
4、配置SSH
(1) 查看本地ssh版本
ssh localhost
(2) 安裝ssh
sudo apt-get install openssh-server
- 再次查看本地ssh版本
(3) 查看ssh運行狀態(tài)
sudo systemctl status ssh
(4) 設(shè)置開機自動啟動
sudo systemctl enable ssh
(5) 重啟
sudo reboot
- 驗證是否開機自動啟動
(6) 安裝net-tools
sudo apt install net-tools
(7) 查看ip
ifconfig -a
5、SSH連接
- 這里使用Xshell連接
- 輸入ubuntu的賬號和密碼
文章來源:http://www.zghlxwxcb.cn/news/detail-799278.html
- 鏈接成功
文章來源地址http://www.zghlxwxcb.cn/news/detail-799278.html
到了這里,關(guān)于【運維工程師學(xué)習(xí)】ubuntu20.04安裝并配置SSH的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!