ReferencePlatforms/Test/Mac: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 34: Line 34:
  sudo python setup.py install
  sudo python setup.py install
=== Install BuildBot ===
=== Install BuildBot ===
  cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot
  ocvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot
  cd buildbot
  cd buildbot
  python setup.py build
  python setup.py build
Line 46: Line 46:
  python setup.py build
  python setup.py build
  sudo python setup.py install
  sudo python setup.py install
=== Installing Talos ===
=== Install Talos ===
  cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos
  ocvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos
=== Configure Apache ===
Open up /etc/httpd/httpd.conf and change both references of "/Library/WebServer/Documents" to "/Users/mozqa/talos".
Restart apache with:
sudo apachectl restart

Revision as of 09:22, 23 August 2007

Talos configuration done on qm-pmac04

OS Setup

  1. Change the resolution to 1024 x 768, 60 Hz, under System Preferences->Displays.
  2. Under System Preferences->Desktop&Screen Saver, set "Start Screen Saver" to 'never'
  3. Create a new admin-equiv account for the mozqa user using the standard password.
  4. Under System Preferences->Sharing->Apple Remote Desktop->Access Privileges change the VNC screen control password to the standard password. NOTE: your VNC session will drop when you do this. You'll need to reconnect with the new password.
  5. Under System Preferences->Software Update, run Software Update, updating everything to the latest patch level, then turn off automatic update checking.
  6. Install the cltbld ssh key in ~/.ssh

XCode Installation

  1. The next step is to retrieve the Mac reference platform packages from CVS:
export CVS_RSH=ssh
ocvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac
  1. Mount the xcode_2.2.1_8g1165_018213632.dmg disk image by double clicking on it and and begin installing the XcodeTools.mpkg.
  2. When it comes time to choose the Installation Type, choose "Customize"
  3. Under "Cross-Development," select all the available SDKs, and then click "Install"

BuildBot Setup

Install Python 2.4.4

  1. Download MacPython 2.4.4
  2. Mount the DMG and run the installer

Install Twisted and Zope-Interface

wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2
tar -jvxf Twisted-2.4.0.tar.bz2
cd ZopeInterface-3.1.0c1
python setup.py build
sudo python setup.py install
cd ../TwistedCore-2.4.0/
python setup.py build
sudo python setup.py install
cd ..
python setup.py build
sudo python setup.py install

Install BuildBot

ocvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot
cd buildbot
python setup.py build
sudo python setup.py install

Talos Setup

Install PyYAML

curl http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz > pyyaml.tar.gz
tar -zvxf pyyaml.tar.gz
cd PyYAML-3.05
python setup.py build
sudo python setup.py install

Install Talos

ocvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos

Configure Apache

Open up /etc/httpd/httpd.conf and change both references of "/Library/WebServer/Documents" to "/Users/mozqa/talos". Restart apache with:

sudo apachectl restart