Lab Workstation Setup

macOS

  1. If this is a new workstation, go to https://school.apple.com, search for it under "Devices" by serial number, and edit its management settings to point to "Profile Manager - Math".
    1. If it's not found on school.apple.com, you can add it manually later.
  2. If the machine was available as a managed workstation on school.apple.com, it should now appear as a device in Profile Manager on https://noether.math.ucsb.edu/. Add it to the "Lab Workstations" device group.
  3. Boot the machine (reinstalling the OS first, if necessary.) If it was a managed machine, it should automatically create a System Administrator account -- log in as this account when the process is done.
  4. Go to System Preferences, Sharing, and set the machine's name.
  5. If the machine was not listed on school.apple.com:
    1. Navigate to https://noether.math.ucsb.edu/, select My Devices, and enroll it.
    2. On recent macOS versions you will need to visit System Preferences, Profiles to add the management profile.
    3. Add the machine to the "Lab Workstations" group as above, then reboot it to ensure the new profile gets applied
  6. Edit the DHCP table on self-help.math.ucsb.edu to assign the machine to the Lab Workstation group. Optionally, assign it a static IP. Restart the dhcpd service when done.
  7. Install the latest munkitools. Reboot, then run Managed Software Center and let it install all the updates it finds. This will install most of the necessary packages.
  8. Install any packages not handled by munki:
    1. MATLAB
    2. Microsoft Office (if applicable) -- note that Microsoft AutoUpdate will not update apps that have not yet been run.
  9. Once the machine has picked up the new DHCP lease (and has 128.111.88.14 and 128.111.88.15 as DHCP servers), open Profile Manager and add it to the Active DIrectory Clients group.
  10. Reboot, then log into the machine as a network user and make sure it can authenticate to Active Directory. (Joining should happen automatically via Profile Manager.)

Windows

Initial setup and domain join

  1. Go through the startup wizard as usual.
  2. Choose "Set up for an organization"
  3. Choose "Domain join instead"
  4. You'll be asked to create a local account. Do so -- you'll need this to do the domain join (and not afterwards, although it may be useful as a local admin account.)
  5. Open the network settings and click "Change adapter options"
  6. Right-click on the active ethernet connection and choose Properties
  7. Click Internet Protocol Version 4 and click Properties.
  8. Check "Use the following DNS server addresses. Enter 128.111.88.14 and 128.111.88.15.
  9. Open the "Change workgroup name" control panel.
  10. Click "Change".
  11. Give the computer a name, then check "Domain" and enter "math.ucsb.edu".
  12. Sign in with a Domain Administrator account.
  13. Once you get the "Welcome to the math.ucsb.edu domain" message, restart.
  14. Log into a workstation already joined to the domain, as a domain administrator.
  15. Open Active Directory Users and Computers.
  16. Open the Computers OU, and double-click on the "Lab Workstations" group.
  17. Click Members, then Add.
  18. Click Object Types and check "Computers"
  19. Search for the computer name, and add it to the group. This ensures the right Group Policy Objects get applied.
  20. Log in as a domain account to make sure the system is joined correctly.
  21. If desired you can remove the local account created earlier, although having one can be useful in some situations.
  22. Edit the DHCP table on self-help.math.ucsb.edu and assign the machine to the lab machine group. Optionally (recommended) assign it a static IP as well.

Software installation

  1. For the most part this is self-explanatory. There's no central installation setup for Windows so everything needs to be installed by hand. These packages install with no complications:
    1. Chrome
    2. Code
    3. FileZilla
    4. Firefox
    5. TeXLive
  2. The following have some quirks:
    1. MATLAB -- must install the network.lic file under C:\Program Files\MATLAB\R20XXx\licenses
    2. Mathematica -- after install, run the program and set the license server to boole.math.ucsb.edu.
    3. Office -- enough of a mess to warrant its own section.

Microsoft Office

  1. Log into the workstation as an account with administrative privileges.
  2. If there's a trial copy of Office 365 pre-installed (common), remove it. (All language versions, if there's more than one.)
  3. Browse to \\shared.math.ucsb.edu\System Admin\Software\Win\Microsoft Office\Deployment Tools 2019
  4. Copy the contents of that folder to C:\temp\Office2019.
  5. Open a command prompt. Change directory to C:\temp\Office2019, and run .\office2019pro.bat
  6. Remove C:\temp\Office 2019. In fact, it's probably a good idea to remove C:\temp unless something else is using it.