實體機轉虛擬機(P2V, physical 2 Virtual),進行虛擬化,冷轉換是最安全的,最便利的,而Vcenter Convert 即時線上熱轉換,還不用安裝軟體,可以直接轉,根本就是神器。
轉換Windows 作業系統時,沒有遇到任何問題,順利正常完成,裡面是Windows Server 2003+SQL Server 2005及鼎新WorkFlow 3.1 ERP。這個轉換完成,作業系統和資料庫都沒有問題,但是ERP無法順利運作卡在授權中。
但是在轉換Linux Server時,DNS Server正常,但是Webserver卻不正常,出現下面的問題。
Unable to query the live Linux srouce machine. Make sure that you can run sudo without entering a password when logged in to the source over SSH as “xxxx”。

執行Live Linux 線上轉換,唯一執行sudo不要密碼的是root,但是ubuntu預設是管理員登入,不是root。無法執行,與ssh的port無關,也與管理員無關,只跟root有關。
解法
1.sudo passwd root
(輸入2次密碼)
2.vi /etc/ssh/sshd_config
PermitRootLogin 改成yes
PermitRootLogin yes
存檔離開
3.sudo service sshd restart
收工
DNS可以正常運作,
隨機文章
- 用Chrome在電腦上讀QRCode (2012-03-12)
- PHP網站使用網盤備份策略 API評估 (2014-11-11)
- 澀女郎&雙響炮之朱德庸 (2011-08-16)
- Notion 測試 還不能滿足我日常使用的部份 (2021-03-23)
- [ChatGPT 3.5 VS Mistral OpenOrca VS Wizard v1.2 VS Hermes] 多個模型 文章產生比較 (2024-01-01)

![[chatGPT 測試] 評測開箱 Synology DS918+](https://chihping.aflypen.com/wp-content/uploads/2023/03/hdd-g6fc6f0659_640-300x228.png)





![[ChatGPT] 4o的圖片視覺測試](https://chihping.aflypen.com/wp-content/uploads/2024/09/eye-4367141_640-300x200.jpg)
