How to Setup a Mac mini: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 136: Line 136:


e) emacs auto_master
e) emacs auto_master
      i) go to the home line
        go to the home line
      ii) ctrl + K  ctrl + Y  <ENTER> ctrl + Y
        ctrl + K  ctrl + Y  <ENTER> ctrl + Y
      iii) change where you see home to classes
        change where you see home to classes


f) mkdir / classes/
f) mkdir / classes/
Line 161: Line 161:


     c) Set up these two printers:  10.20.3.6  and 10.20.3.7
     c) Set up these two printers:  10.20.3.6  and 10.20.3.7
             i) First set up starkweather: 10.20.3.6, let it configure, change name to starkweather, change location to BSC 106
             First set up starkweather: 10.20.3.6, let it configure, change name to starkweather, change location to BSC 106
             ii) Then watson... 10.20.3.7  
             Then watson... 10.20.3.7  
             iii) Make watson the default printer!
             Make watson the default printer!


3) SSH
3) SSH

Revision as of 20:14, 27 April 2010

Setting up a Mac Mini 10.6

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)Making stuff secure


a)System Preferences>>Accounts>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 LDAP

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)

cd /etc/exports/

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

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 manually put it in, MAC will be evil and make you put it in anyway.

Have Dr. Moorman go to apple.developer.com and put in his magic passwords and such and download the iPhone SDK and XCode.


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