Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
cpanel更換主機的問題 – unethost無限空間虛擬主機 技術分享部落格

cpanel更換主機的問題

how_to_change_cpanel_to_another_server_issue_wp

cpanel通常是應用於linux主機上,
透過gui介面便於管理linux裡的部份service,易於維護大量主機及網站。

安裝cpanel是相當簡單的,只要一行語法即可解決。

本篇講解的是:如果是硬體問題,導致需要更換主機,
該如何進行呢?

為什麼需要更換主機?

升級硬體或是主機版有問題,直接抽換主機版,
可能會產生問題(開不了機);甚至於系統碟損毀,
也得要重新安裝最佳,所以最佳情況需要有兩部主機的狀況。

新主機的部份:

1.準備好新的主機(硬體)
2.新主機安裝好新的os (像是 centos)
3.新主機需要重新安裝一次cpanel。
4.將cpanel license改到新主機的ip。
5.登入linux shell或whm調整php等相關函式庫,
以及其他特殊設定。

開始搬移作業

6.如果舊主機還可上線,只要透過 whm的搬站功能,
就能將資料拉到新主機。

7.如果舊主機已經無法上線,就要看partition還能不能讀到,
否則就要考backup檔案還原,所以平常server上線,
就最好靠兩顆HD去運作,區分主系統碟和備份碟。

8.更換的網站,得視情況切換dns ip。

 

心得:

這是我們多年操作的sop,照此操作就可以避開相當多奇怪的狀況,
並省下更換主機的時間。

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。