實體機轉虛擬機(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可以正常運作,
隨機文章
- 這就是我們的政府官員 (2007-12-10)
- CloudFlare 反應特別慢 (2015-11-10)
- 看到光世代降價的新聞~我傻掉了 (2011-01-04)
- 2007台北車展 雷歐帝斯作品 3/6 (2008-01-03)
- 測試Zoundry_Fatal_Bug (2007-11-20)





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


