wiki:MacInstall

Version 12 (modified by wrb, 10 years ago) (diff)

--

  1. Install MacOSX from DVD, default user UW SIG/uwsig
  2. Install various Apps/UWICK and run Software Update until there are no more updates
  3. In System Preferences:
    • Software Updates: run daily, download in background
    • Energy Saver: Never sleep, (under Options) restart automatically
    • Sharing: Enable Remote Login (SSH)

Other things to investigate:

LDAP for login info

http://www.spack.org/wiki/AppleOsxIntegrationWithOpenLdap Note: install the UWICK kit first since our LDAP certificate is signed by the UW.

  1. Launch Directory Access from /Applications/Utilities?
  2. Click on LDAPv3 and Configure...
  3. Click on New... and enter ldap1.biostr.washington.edu and chech the SSL box
  4. Choose the Unix template, and add the search base dc=sig,dc=biostr,dc=washington,dc=edu
  5. In Terminal, verify with dscl localhost list /LDAPv3/ldap1.biostr.washington.edu/Users
  6. Back in the Directory Access window, choose Authentication
  7. In the Search drop-down, choose Custom path, Add..., and LDAPv3
  8. In Terminal, verify with dscl localhost list /Search/Users

If you want to make a LDAP group have local admin privleges, edit /etc/authorizations and change all references to '<string>admin</string>' to the LDAP group name.

Automounting NFS shares

http://www.bombich.com/mactips/automount.html

From CLI: mount -t nfs -o"-P" host:/foo /mnt

  1. Launch NetInfo Manager; it is located in the /Applications/Utilities? folder.
  2. Authenticate by clicking on the lock in the lower left corner.
  3. Click on the /mounts directory.
  4. Click on "New+" icon. An item named "new_directory" will appear.
  5. Double-click on the value "new_directory" for the "name" property and change it to "servername:/sharepoint".
  6. Select "New Property" from the "Directory" menu. Set the property name to "vfstype". Set the value to "nfs".
  7. Select "New Property" from the "Directory" menu. Set the property to "dir". If this sharepoint will mount dynamically, set the value to "/Network/Servers/?". If this is a statically mounted sharepoint, set the value to "/Network/sharepoint".
  8. Mounting a Linux NFS export requires opt -P (low port), unfortunately there's no GUI to add it, so we get to do lots of escaping with NetInfo:
    nicl . create /mounts/vagal:\\/usr\\/local\\/data opts "-P"
    nicl . create /mounts/$SERVER:\\/home\\/$LDAPUSER opts "-P"
    

Imaging

Drive imaging seems to be a popular way to deploy multiple Macs, either from an external firewire drive or across the network. Some free tools to do it are CCC and NetRestore

http://www.bombich.com/software/index.html

There are even some tips for dual-booting Windows XP:

http://www.bombich.com/mactips/dualboot.html

Time Machine Backups

To make a locally connected external disk drive available as a network backup drive, the drive needs to be mounted at boot. If it isn't, it won't be visible over the net until someone logs in.

In other words, local drives aren't mounted until someone logs in, and that's a bad thing if you need to use the drive for backups. Unless...

Use the command from Terminal:

defaults write /Library/Preferences/SystemConfiguration autodiskmount AutomountDiskWithoutUserLogin -bool -true

to force the host Mac to mount the external disk at boot. Then its visible without anyone needing to be logged in.

On the client side, automount can mount a network drive at boot, but TimeMachine wants a drive on the desktop; a drive mounted by automount does not do this.

Here's the work around First, mount the network drive by hand via Finder->Go->Connect To. After the drive is mounted on the Desktop, you can make it "automount" at login via Apple Menu->System Preferences->Accounts; Click on User; Unlock; Select the Login Items tab, and add the backup disk to the Login Items. Afterwards, the network drive will be mounted when you login, and Time Machine will be happy.

(wrb: 20080424)