How to Setup a Mac mini: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Setting up a Mac Mini 10.6
Setting up a Mac Mini 10.8.X


1) Power on
1) Power on
Line 21: Line 21:
10) Put the terminal in the Dock
10) Put the terminal in the Dock


11)Making stuff secure
11) Update the OS


12) Install xcode


a)System Preferences>>Accounts>Login Option
13) Install xcode command line package
 
14) Making stuff secure
 
a)System Preferences>>Users and Groups>Login Option


b)Unlock ...
b)Unlock ...


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


d) Auto-login = off
d) Auto-login = off
Line 42: Line 47:
c)unlock
c)unlock


d)double click LDAP
d)double click LDAPv3


e) show option
e) show option
Line 63: Line 68:


Enter these commands:
Enter these commands:
id kmoorman
id kmoorman


Line 70: Line 74:
(enter the password... I hope you know it)
(enter the password... I hope you know it)


cd /etc/exports/
vi /etc/exports and add the client machine


exportfs -av
exportfs -av




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


su- # switches user switch to root
su - # switches user switch to root
 




Line 89: Line 91:


automount -vc
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
reboot



AFTER REBOOT
.AFTER REBOOT


change name of computer in system preferences>>sharing If you are on machine x... change the name to x!
change name of computer in system preferences>>sharing If you are on machine x... change the name to x!
Line 118: Line 137:
i) Search domains = transy.edu
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  
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.
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.
j) while here, turn off the wireless.  


--------------------------------
--------------------------------
Line 148: Line 168:
i) ls -l /classes/cs1124  If you see all the files there then you have successfully set that up.
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
Setting up the Sleep, Printer, and SSH


Line 168: Line 189:


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

Revision as of 14:32, 28 August 2013

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