How to Setup a Mac mini

From CSLLabWiki
Revision as of 14:32, 28 August 2013 by Admin (talk | contribs)
Jump to navigation Jump to search

Setting up a Mac Mini 10.8.X

1) Power on

2) Wait for initialization to do its thing.

3) Do obvious choices -- Do not transfer

4) no Apple ID

5) Enter Dr. Moorman's info. -- His info (address and etc is the school info)

6) college = Transy

7) more good stuff

8) Full Name = Transy CS Administrator User Name = admin

9) let keyboard do its thing

10) Put the terminal in the Dock

11) Update the OS

12) Install xcode

13) Install xcode command line package

14) Making stuff secure

a)System Preferences>>Users and Groups>Login Option

b)Unlock ...

c)Unclick these two : Show Restart/Sleep and Show password hints.

d) Auto-login = off

e)display login window = name/password

12)Network account server

a) Click Join

b)Open Directory Utility

c)unlock

d)double click LDAPv3

e) show option

f) click new

g)uncheck use for contacts

h) Server IP 10.20.3.8

i) Continue

j) RFC 2307

k) continue/ok

l) edit>>security uncheck disable text passwords

13) Open your Terminal

Enter these commands: id kmoorman

ssh -l root babbage

(enter the password... I hope you know it)

vi /etc/exports and add the client machine

exportfs -av


Set up your password

sudo passwd #changes password (don't actually put in the pound comments!)

su - # switches user switch to root


emacs /etc/auto-master ensure that home is uncommented.

emacs /etc/auto-home comment the + line add this line * 10.20.3.8:/data/exportfs/home/&

automount -vc

There is a bug in the LDAP of >10.7 systems that prohibits network logins! So, here's the work around. First, run the following: ldapsearch -x -h 10.20.3.8 -b "" -s base "(objectclass=*)" supportedSASLMechanisms

If this machine is like the others, you will see: supportedSASLMechanisms: DIGEST-MD5 supportedSASLMechanisms: CRAM-MD5

Now, open the Finder and go to /Library/Preferences/OpenDirectory/Configurations/LDAPv3 and open the plist for 10.20.3.8

Go to module options > ldap > Denied SASL Methods

You should see the DIGEST entry but NOT the CRAM. Add it.

reboot

.AFTER REBOOT

change name of computer in system preferences>>sharing If you are on machine x... change the name to x!


Set up a static IP

a) Login to Babbage through ssh once again.

b) view the file in /etc/ called hosts. Find your computer and note what its static IP is. 10.20.3.x.

c) Sys prefs>>network

d) Not DHCP but Manually.

e) Take the static IP you found and put it in for the static IP

f) Subnet will always be 255.255.255.0

g) Router is 10.20.3.1

h) DNS server is always 10.20.70.16, 10.20.70.17

i) Search domains = transy.edu

Note ----> DNS server and Search domains are grey. This is tricky. Don't be fooled into leaving it in there. If you do not manua lly put it in, MAC will be evil and make you put it in anyway.

j) while here, turn off the wireless.


Set up an NFS mount for /classes/

a) su -

b)cd /etc/

c) cp /etc/auto_home /etc/auto_classes

d) emacs auto_classes

      i) change where you see home to classes

e) emacs auto_master

       go to the home line
       ctrl + K  ctrl + Y  <ENTER> ctrl + Y
       change where you see home to classes

f) mkdir / classes/

g) chown root:wheel /classes/

h) automount -vc

i) ls -l /classes/cs1124 If you see all the files there then you have successfully set that up.


Setting up the Sleep, Printer, and SSH

1) Sleep

   a) System Preferences >> Energy Saver          Change to Never

2) Printer

   a)System Preferences >> Print & Fax  
   b)IP
   c) Set up these two printers:  10.20.3.6   and 10.20.3.7
            First set up starkweather: 10.20.3.6, let it configure, change name to starkweather, change location to BSC 106
            Then watson... 10.20.3.7 
            Make watson the default printer!

3) SSH

   a)System Preferences  >> Sharing  ... Click Remote Login