computers:mac_basic_setup
This is an old revision of the document!
Table of Contents
Mac Basic Setup
Applications
Basic
- Firefox: web browser
- TextWrangler: text editor
- Smultron: text editor
- FileZilla:
sftp
client
Optional
- gcc: C compiler, install using the Xcode Tools (under
Download Software/Developer Tools
on the Apple Developer Connection).
- Jalview: multiple sequence alignment viewer (Java-based)
- GelAnalyzer: electrophoresis gel image analyzer (Java-based)
- R: software environment for statistical computing and graphics
System Preferences
- Energy Saver: Computer sleep = never, Display sleep = 10 min, shutdown when UPS battery level is below 20%, enable start up automatically after a power failure.
- Print & Fax: add lab printer
- Network: set up lab intranet using AirPort
- Bluetooth: off
- Sharing: set Computer Name, enable File Sharing and Remote Login
- Accounts: disable Automatic login, display login window as Name and password, enable Show input menu in login window
Backup
- Assign one external hard drive for each mac workstation as the Time Machine backup drive.
Ownership and permission
- Use
/etc/crontab
to maintain ownership and permission of shared files on the file server:
$ cat /etc/crontab # /etc/crontab: system-wide crontab # m h dom mon dow user command 0 * * * * root /usr/sbin/chown -R root:wheel /Users/Shared 1 * * * * root /bin/chmod -R a+rw /Users/Shared
Maintenance
Check Time Stamps
Check when the maintenance scripts were run:
ls -al /var/log/*.out
Output should look like this:
chkuo@mesquite[~]$ ls -al /var/log/*.out -rw-r--r-- 1 root wheel 91407 Jun 18 10:39 /var/log/daily.out -rw-r--r-- 1 root wheel 84 Jun 18 10:58 /var/log/monthly.out -rw-r--r-- 1 root wheel 3625 Jun 18 10:57 /var/log/weekly.out
Manual Execution
In case the computer was shut down when the scripts were scheduled to run.
sudo periodic daily sudo periodic weekly sudo periodic monthly
Or, to run all three at once:
sudo periodic daily weekly monthly
More Info
Troubleshooting
computers/mac_basic_setup.1341063798.txt.gz · Last modified: by chkuo