ReferencePlatforms/Test/Win7 64-bit: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(typo 64bit instead of 32bit)
No edit summary
Line 107: Line 107:
  wget http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
  wget http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
  directx_Jun2010_redist.exe
  directx_Jun2010_redist.exe
Stored at:
[cltbld@dev-stage01 ~]$ cd /home/ftp/pub/mozilla.org/mozilla/libraries/win32/
[cltbld@dev-stage01 win32]$ md5sum directx_Jun2010_redist.exe
7c1fc2021cf57fed3c25c9b03cd0c31a  directx_Jun2010_redist.exe


= NVidia drivers update (Version: 260.99; Date: 2010.10.25) =
= NVidia drivers update (Version: 260.99; Date: 2010.10.25) =
Line 112: Line 117:
  wget http://us.download.nvidia.com/Windows/260.99/260.99_desktop_win7_winvista_64bit_english_whql.exe
  wget http://us.download.nvidia.com/Windows/260.99/260.99_desktop_win7_winvista_64bit_english_whql.exe
  C:\Users\cltbld\Downloads\260.99_desktop_win7_winvista_64bit_english_whql.exe
  C:\Users\cltbld\Downloads\260.99_desktop_win7_winvista_64bit_english_whql.exe
Stored at:
[cltbld@dev-stage01 ~]$ cd /home/ftp/pub/mozilla.org/mozilla/libraries/win32/
[cltbld@dev-stage01 win32]$ md5sum 260.99_desktop_win7_winvista_64bit_english_whql.exe
12173623a1980ffb3d1a0ab78d3232be  260.99_desktop_win7_winvista_64bit_english_whql.exe

Revision as of 20:17, 12 August 2011

Basic OS Setup

  • Automatic Updates
    • Start Menu -> Control Panel -> Windows Update
      • Install all critical updates. At the time of creation, these were available and installed:
        • KB971033, KB982632, KB982381, KB981793, KB981332, KB980408, KB980232, KB980218, KB980195, KB979916, KB979683, KB979559, KB979482, KB979309, KB979099, KB978637, KB978601, KB978542, KB977863, KB977074, KB976972, KB976662, KB976264, KB975560, KB975496, KB975467, KB974571, KB974431, KB972270, KB971468
    • Change Settings -> "Never Check For Updates"
    • Click "OK"
  • Turn off Windows Firewall
    • Control Panel -> System and Security -> Windows Firewall -> Turn Windows Firewall on or off -> "Turn Windows Firewall Off" (in both spots).
    • Click "OK".
  • Turn off Screensaver
    • Right click on Desktop -> "Personalize" -> Screen Saver
    • Select "None", click "OK"
  • Turn off Bluetooth
    • Start Menu -> Control Panel -> Network and Sharing Center -> Manage Adapter Settings
    • Right click on Bluetooth Network Connection -> Disable
  • Set up auto-login for cltbld
    • Start Menu -> 'netplwiz' -> Uncheck "Users must enter a username and password", click "OK", Enter Password

VNC

620329f947b7085e9361f9631e45ecf8 *UltraVN1.0.8.2_x64_Setup.exe
  • Install UltraVNC 1.0.8.2
    • Defaults up until "Additional Tasks" screen
    • Register UltraVNC as a Service
    • Start or restart UltraVNC
    • Stop 'uvnc_service'.
    • Browse to c:\program files\ultravnc and run 'winvnc.exe' as administrator (right click => 'run an administrator').
      • Use the following options:
      • Ports:
        • Main: 5900
      • [ ] Use Java Viewer
      • File Transfer
        • [ ] Enable
        • [ ] User Impersonation
    • Restart the computer

From this point forward do NOT logon with RDP. It will break the VNC service.

SSH

Install the KTS SSH server, copy the key from another machine (Goes into c:\program files (x86)\kts\kts.ini)

5ea25269b460ac3b99a5495a6602210a *kts118.exe

MozillaBuild

4c952845f1cd7d6ff15c73d18ba5743d *MozillaBuildSetup-1.4.exe
  • Install MozillaBuild through the installer with all the default options.
  • Start Menu -> Right click "Computer" -> Properties -> Advanced System Settings -> Environment Variables
    • Append "c:\mozilla-build\msys\bin;c:\mozilla-build\hg;c:\mozilla-build\vim\vim72;c:\mozilla-build\python25;c:\mozilla-build\python25\scripts;c:\mozilla-build\7zip;c:\mozilla-build\info-zip; c:\mozilla-build\wget" to the system PATH variable.
  • Import the following registry file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.5\InstallPath]
@="c:\\mozilla-build\\python25"

Buildbot/Talos toolchain

6a21eda4fd11176b3817f813e6114ad3 *Twisted-9.0.0.win32-py2.5.exe
d51f6a4dff29eabf34054903d758f003 *simplejson-2.1.1.win32-py2.5.exe
90492a3b47b71ac9472a4b9719c40d21 *PyYAML-3.09.win32-py2.5.exe
c7bd4ed060dbb6164caa568a59fab835 *nircmd.zip
  • Install Twisted with installer using all defaults
    • Apply patches with:
cd c:\users\cltbld\downloads
wget -Ob128.patch --no-check-certificate http://hg.mozilla.org/build/twisted/raw-rev/0b441f0f68b4
wget -Osubproc.patch --no-check-certificate https://bugzilla.mozilla.org/attachment.cgi?id=451277
cd c:\mozilla-build\python25\lib\site-packages
patch -p0 < c:\users\cltbld\downloads\b128.patch
cd twisted
patch -p0 < c:\users\cltbld\downloads\subproc.patch
  • Install Simplejson with installer, use "Run as Administrator", all defaults
  • Install PyYAML with installer, use "Run as Administrator", all defaults
  • Install buildbot 0.8.0:
hg clone http://hg.mozilla.org/build/buildbot
cd buildbot
hg up -r 6cce543c9b15
python setup.py install
  • nircmd.exe:
copy nircmd.exe c:\
  • Tools repository:
cd c:\
hg clone http://hg.mozilla.org/tools

Apache

449d033ebcc056ec1f203c6a59f9b2bd *httpd-2.2.15-win32-x86-no_ssl.msi
  • Download and install Apache version 2.2.15
  • Set 'Network Domain' and 'Server Name' to 'localhost'.
  • Create an empty directory so Apache doesn't complain:
mkdir c:/talos-slave/talos-data/talos
  • Change DocumentRoot and 'C:/Program Files..." <Directory> tag to 'c:/talos-slave/talos-data/talos'.
  • Turn off logging, remove any lines that begin with "CustomLog"
  • Reboot

Buildbot Startup / Post-clone automation

The Task Scheduler is used to start Buildbot on boot. To enable it, run the following in a cmd window:

cd c:\users\cltbld\desktop
wget -OstartTalos.bat --no-check-certificate https://bugzilla.mozilla.org/attachment.cgi?id=451304
wget -O"talos slave.xml" --no-check-certificate https://bugzilla.mozilla.org/attachment.cgi?id=451305
schtasks /create /xml "talos slave.xml" /tn slave

Path Verification

With all of this done, the %PATH% should be:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\python26;c:\python26\scripts;C:\Program Files (x86)\GnuWin32\bin;c:\mozilla-build\msys\bin;c:\mozilla-build\hg;c:\mozilla-build\vim\vim72;c:\mozilla-build\python25;c:\mozilla-build\7zip;c:\mozilla-build\info-zip;c:\mozilla-build\wget;c:\mozilla-build\python25\scripts

DirectX runtime (June 2010)

See bug 671260

wget http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
directx_Jun2010_redist.exe

Stored at:

[cltbld@dev-stage01 ~]$ cd /home/ftp/pub/mozilla.org/mozilla/libraries/win32/
[cltbld@dev-stage01 win32]$ md5sum directx_Jun2010_redist.exe 
7c1fc2021cf57fed3c25c9b03cd0c31a  directx_Jun2010_redist.exe

NVidia drivers update (Version: 260.99; Date: 2010.10.25)

See bug 671260. Read more about the driver in this link.

wget http://us.download.nvidia.com/Windows/260.99/260.99_desktop_win7_winvista_64bit_english_whql.exe
C:\Users\cltbld\Downloads\260.99_desktop_win7_winvista_64bit_english_whql.exe

Stored at:

[cltbld@dev-stage01 ~]$ cd /home/ftp/pub/mozilla.org/mozilla/libraries/win32/
[cltbld@dev-stage01 win32]$ md5sum 260.99_desktop_win7_winvista_64bit_english_whql.exe 
12173623a1980ffb3d1a0ab78d3232be  260.99_desktop_win7_winvista_64bit_english_whql.exe