Eweb 移機說明-校園快優網(windows server 2008r2 篇)

Eweb 移機說明

 

準備一臺windows server2008 r2

灌好xamppxampp-win32-1.8.2-6-VC9-installer 版本

Apache Mysql FileZila 三個服務啟動

 xampp-win32-1.8.2-6-VC9-installer.exe

Windows Server 2008 R2 x64.iso

將防火牆規則中,打開80port apache應用程式

 

把舊主機中的xammp裡的htdocs資料夾內的eweb和,mysql資料夾內的eweb兩個資料夾的資料備份起來,放到新的機器的相對路徑上。

網站: I:xampphtdocseweb  的eweb資料夾

資料庫:  Ixamppmysqldataeweb  的eweb資料夾

 

最重要的關鍵:打開xampp程式後,點選Mysql裡的admin欄位,然後在使用者的欄位點一下,把root localhost的旁邊點選編輯權限,然後再設定,點選修改密碼,最後按執行,再回到127.0.0.1/phpmyadmin的網頁中

當出現 #1045 Access-denied for user’root’@localhost(using password: NO)

 

 

請到xammpphpmyadminconfig.inc 用記事本打開,找到一行$cfg[‘Servers’][$i][‘auth_type’]=config,把”config”的關鍵字,改成”http”,重新登入,系統就啟動了。

————————————————————

 若出現登入管理的介面無法正常啟動時(如以下文字):

 

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

192.136.1.86
Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.4.31
 

 

請檢查 xampp裡的htdocs裡eweb/system_admin/login.php 是否有這個檔案。 把這個路徑底下的 system_admin 整個變壓縮檔,傳送到新主機的相對路徑上,並解壓縮即可。