Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
update Renaming 的方式與資源
How to rename a Team Foundation Server
基本上做法滿單純的
步驟一)
透過 TFSAdminUtil ActivateAT Command Line 工具來更新 TFS Server 內部機碼 (這些機碼都放在 DB)
TFSAdminUtil ActivateAT www.yourtfs.com
步驟二)
更改 TFS 本機 Registry 修改 RS 的 URL
找到 HKLM\Software\Microsoft\VisualStudio\8.0\TeamFoundation\ReportServer 並修正 URL
步驟三)
找到 :\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services 路徑 修改 Web.config 把你看到的 舊URL 改為新的
修改
[ADD value="https://tfsrtm:8080" key="TFSNameUrl" /]
[ADD value="tfsrtm" key="TFS Name" /]
到
[ADD value="https://www.yourtfs.com:8080" key="TFSNameUrl" /]
[ADD value="www.yourtfs.com" key="TFS Name" /]
有個 Tag 原本是被 Comment 掉的,請 uncomment 回來,因為 TFS Project Alert 需要他來定義
修改
[ADD value="https://www.microsoft.com:8081" key="TFSUrlPublic" /]
到
[ADD value="https://ww.yourtfs.com:8080" key="TFSUrlPublic" /]
步驟四)
修正 TFSServerScheduler 服務,請先停止該服務並找到目錄 \Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TFSServerScheduler 修正 TFSServerScheduler.exe.config 再重新啟動
修改
[ADD value="https://rtmtgbs001 :8080" key="BisDomainUrl" /]
到
[ADD value="https://www.yourtfs.com:8080" key="TFSNameUrl" /]
步驟五)
將 IIS 重新啟動,最好也讓 Client 端 Reset Cache. :)