實體機轉虛擬機(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可以正常運作,
隨機文章
- 網站排名SEO五忌 (2008-08-30)
- 一階段、兩階段都不如我的「蔣氏零階段」 (2008-01-14)
- 建商賺錢無道造成社區住戶與鄰居的矛盾 (2012-04-07)
- rclone Dropbox backup to Google Drive, Failed to copy: failed to open source object: path/restricted_content/.. (2020-06-05)
- 受保護的內容: XenServer Remove Storage CLI (2016-08-28)