CI Mac Tester Setup

From Qt Wiki
Jump to: navigation, search


Instructions on how to set up Mac testers

Mac 10.6 64-bit (Snow leopard)

  • Install Snow leopard
    • Language: English
    • Utilities->Disk Utility (From menu)
    • Select VMWare Virtual Disk Media
    • Go to partition tab, and add new partition with '+'
    • I used Name Volume1, and Format Mac OS Extended (journaled)
    • Apply -> Partition
    • Close Disk Utility
    • Continue
    • Agree English license agreement
    • Select Volume1 and click Install
  • After Reboot
    • Start by selecting your country or region
    • Select the keyboard layout for the server
    • Enter a Mac OS X Server serial number.
    • Setup a new server
    • Skip "Registration"-> Continue
    • Skip "A few more questions" -> Continue
    • TimeZone: Closest City
    • Adminstrator account:
    • Network: Defaults (using DHCP)
    • Primary DNS name: (i.e. ci-osx106-x64-00)
    • Users and Groups: Create Users and Groups
    • Services: Disabled all services
    • Review: Setup
  • Reboot and remove disk from CD/DVD driver
  • Install VMWareTools (Need to check if this needs compilers)
  • Reboot and install 10.6.8 combo update
    • Mac_OSX_Server_10.6.8_Build_10K540.iso
    • Install update with default options
  • Create user
    • Administrative user
    • username 'qt'
    • Name "Qt Auto Builder"
    • password (Your choice)
    • Set as Automatic login
  • Enable remote access
    • From Sharing preferences
    • Enable Remote Login for All users
    • Enable Remote Managment for All users
    • From Remote Management/Options: Allow all access for all users
    • From Remote Management/Computer Settings: Set check mark to "Show Remote Management status in menu bar"
  • Check DNS server is not set to 127.0.0.1 (10.6 server may have it)
  • Reboot
  • Run Puppet
curl http://qt.gitorious.org/qtqa/sysadmin/blobs/raw/master/bootstrap/mac_106_bootstrap.sh -o mac_106_bootstrap.sh
chmod ''x mac_106_bootstrap.sh
sudo su -
cd /Users/qt
./mac_106_bootstrap.sh git://gitorious.org/qtqa/sysadmin.git
  • Options for the interactive part:
    • location: Doesn't matter and is a legacy question that can be removed
    • qtgitreadonly: default (git://qt.gitorious.org/)
    • input: (your local cache)
    • email: (your email address) (used by automated system to send you emails in case Puppet encouters problems)
    • smtp: (your smtp server)
    • Select: (5) ci_testser
    • testuser: default (qt)
    • network_test_server_ip: (IP of your network test server, if you have one. Else just hit entter.)
    • qt_gerrit_mirror: default (leave blank)
    • jenkins_enabled: default (no)
    • vmware_enabled: (depends if you installed this as a virtual machine on vmware)
    • icecc_enabled: no

Mac 10.7 64-bit (Lion)

  • Install IOS 10.7 (Lion)
    • Use English for the main language
    • Create disk with Disk Utility
    • Select VMWare Virtual Disk Media
    • Go to partition tab, and add new partition with '
    • I used Name Volume1, and Format Mac OS Extended (journaled)
    • Apply-> Partition
    • Close Disk Utility
    • Select "Reinstall OS X" and Continue
    • Continue
    • Agree English license agreement
    • Select Volume1 and click Install
  • OS configurations after installation as follows:
    • Welcome -> Show All, (Your choice)
    • Select Your keyboard: (Your choice)
    • Transfer Information to This Mac: Don't transfer now
    • Enter your apple ID: continue
    • Registration information: continue/continue
    • Create your computer account: See account detail from
    • Select Your Time Zone
  • Install all SW updates
  • Restart and remove disk from CD/DVD driver
  • Install VMWareTools (Need to check if this needs compilers)
  • Create user
    • Administrative user
    • username 'qt'
    • Name "Qt Auto Builder"
    • password (Your choice)
    • Set as Automatic login
  • Enable remote access
    • From Sharing preferences
    • Enable Remote Login for All users
    • Enable Remote Managment for All users
    • From Remote Management/Options: Allow all access for all users
    • From Remote Management/Computer Settings: Set check mark to "Show Remote Management status in menu bar"
  • Check DNS server is not set to 127.0.0.1 (10.6 server may have it)
  • Reboot
  • Run Puppet
curl http://qt.gitorious.org/qtqa/sysadmin/blobs/raw/master/bootstrap/mac_107_bootstrap.sh -o mac_107_bootstrap.sh
chmod +x mac_107_bootstrap.sh
sudo su-
cd /Users/qt
./mac_107_bootstrap.sh git://gitorious.org/qtqa/sysadmin.git
  • Options for the interactive part:
    • location: Doesn't matter and is a legacy question that can be removed
    • qtgitreadonly: default (git://qt.gitorious.org/)
    • input: (your local cache)
    • email: (your email address) (used by automated system to send you emails in case Puppet encouters problems)
    • smtp: (your smtp server)
    • Select: (5) ci_testser
    • testuser: default (qt)
    • network_test_server_ip: (IP of your network test server, if you have one. Else just hit entter.)
    • qt_gerrit_mirror: default (leave blank)
    • jenkins_enabled: default (no)
    • vmware_enabled: (depends if you installed this as a virtual machine on vmware)
    • icecc_enabled: no

Mac 10.8 64-bit (Mountain Lion)

  • Follow instructions given for 10.7 and adapt

Mac 10.9 64-bit (Mavericks)

coming ...