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

From MozillaWiki
Jump to navigation Jump to search
Line 34: Line 34:
** Restart the computer
** Restart the computer
'''From this point forward do NOT logon with RDP. It will break the VNC service.'''
'''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
5ea25269b460ac3b99a5495a6602210a *kts118.exe


= Buildbot/Talos toolchain =
= Buildbot/Talos toolchain =
9cd2c4d23dea7dfcd964449c3008f042 *python-2.6.5.amd64.msi       
19bb3d33f27627688e3f3f7dc6cecb5f *Twisted-10.0.0.in32-py2.6.msi
edc642a8cb2ec0657f5a4fc7a194fae8 *zope.interface-3.6.1-py2.6-win-amd64.zip
d6c179981b72bdc095141d4cb0c5065a *pywin32-214.win-amd64-py2.6.exe
3133f0ff265207e1d642e87058df2147 *PyYAML-3.09.zip             
925a5d4d9b4a63ff1a473cc4d47f2f05 *unzip-5.51-1-bin.zip
5003ef04cc60cb5ca0ff3181b013a384 *cvs-1-11-22.zip   
bd126a7b59d5d1f97ba89a3e71425731 *wget.exe
5a3e9d30b906dadf54de0635522fd62c *coreutils-5.3.0.exe     
* Install python 2.6.5
* Install python 2.6.5
* Install twisted 10.0
* Install twisted 10.0
** apply http://hg.mozilla.org/build/twisted/rev/510653655551
** apply google's patch
* install zope.interface 3.6.1
* install zope.interface 3.6.1
* install pywin32 214 for py2.6/amd64
* install pywin32 214 for py2.6/amd64
* install buildbot 0.8.0
* install buildbot 0.8.0 (our repository)
* install pyyaml 3.09
* install pyyaml 3.09
* change screen res to 1280x1024h
* change screen res to 1280x1024h
Line 60: Line 75:


== Apache ==
== Apache ==
449d033ebcc056ec1f203c6a59f9b2bd *httpd-2.2.15-win32-x86-no_ssl.msi
The DocumentRoot will be dependent on the builddir of your Buildbot slave. In this section that directory will be referred to as $BUILDDIR.
The DocumentRoot will be dependent on the builddir of your Buildbot slave. In this section that directory will be referred to as $BUILDDIR.



Revision as of 14:10, 15 June 2010

this is very rough right now, it will be organized & detailed later

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"
  • 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

5ea25269b460ac3b99a5495a6602210a *kts118.exe 

Buildbot/Talos toolchain

9cd2c4d23dea7dfcd964449c3008f042 *python-2.6.5.amd64.msi         
19bb3d33f27627688e3f3f7dc6cecb5f *Twisted-10.0.0.in32-py2.6.msi
edc642a8cb2ec0657f5a4fc7a194fae8 *zope.interface-3.6.1-py2.6-win-amd64.zip
d6c179981b72bdc095141d4cb0c5065a *pywin32-214.win-amd64-py2.6.exe
3133f0ff265207e1d642e87058df2147 *PyYAML-3.09.zip              
925a5d4d9b4a63ff1a473cc4d47f2f05 *unzip-5.51-1-bin.zip
5003ef04cc60cb5ca0ff3181b013a384 *cvs-1-11-22.zip    
bd126a7b59d5d1f97ba89a3e71425731 *wget.exe
5a3e9d30b906dadf54de0635522fd62c *coreutils-5.3.0.exe      

  • Install python 2.6.5
  • Install twisted 10.0
    • apply google's patch
  • install zope.interface 3.6.1
  • install pywin32 214 for py2.6/amd64
  • install buildbot 0.8.0 (our repository)
  • install pyyaml 3.09
  • change screen res to 1280x1024h
  • nircmd.exe
  • sshd
  • tools repo
  • Info-Zip
    1. Download and extract Info-Zip
    2. Place 'unzip.exe' and 'unzip32.dll' in c:\windows
  • CVS
    1. Download CVS
    2. Extract to c:\windows
  • Wget
    1. Download Wget to c:\windows
  • Chmod, rm, etc.
    1. Download and install Coreutils
    2. Append 'c:\program files\gnuwin32\bin' to PATH.

Apache

449d033ebcc056ec1f203c6a59f9b2bd *httpd-2.2.15-win32-x86-no_ssl.msi

The DocumentRoot will be dependent on the builddir of your Buildbot slave. In this section that directory will be referred to as $BUILDDIR.

For machines in the pool of slaves, $BUILDDIR should be 'talos-data'.

Pageset

You will need to install a page set in c:\pages.

The rest

  • Download and install Apache version ????
  • Set 'Network Domain' and 'Server Name' to 'localhost'.
  • Create an empty directory so Apache doesn't complain:
mkdir c:/talos-slave/$BUILDDIR/talos
  • Change DocumentRoot and 'C:/Program Files..." <Directory> tag to 'c:/talos-slave/$BUILDDIR/talos'.
  • Restart Apache from the system tray icon
  • Turn off logging, remove any lines that begin with "CustomLog"

a

schtasks /create /xml "talos slave.xml" /tn slave