實體機轉虛擬機(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可以正常運作,
隨機文章
- 用Ubuntu架設Samba Server 備份資料 (2011-01-03)
- [名詞解釋] IDC(Internet Data Center) (2008-01-12)
- curl: (23) Failure writing output to destination issue fixed (2024-02-10)
- 自動刪除舊檔案 / 老舊備份 Linux上的指令不錯用 (2022-07-10)
- 特稿﹕200元買電腦不是夢﹐多種廠牌任你選 (2007-11-03)








