How to Setup a Mac mini: Difference between revisions

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


e)display login window = name/password
e)display login window = name/password
12)Network account server
12)Network account server
a) Click Join
a) Click Join
b)Open Directory Utility
b)Open Directory Utility
c)unlock
c)unlock
d)double click LDAP
d)double click LDAP
e) show option
e) show option
f) click new
f) click new
g)uncheck use for contacts
g)uncheck use for contacts
h) Server IP 10.20.3.8
h) Server IP 10.20.3.8
i) Continue
i) Continue
j) RFC 2307
j) RFC 2307
k) continue/ok
k) continue/ok
l) edit>>security uncheck disable text passwords
l) edit>>security uncheck disable text passwords
13) Open your Terminal
13) Open your Terminal
Enter these commands:
Enter these commands:
id kmoorman
id kmoorman
ssh -l root babbage
ssh -l root babbage
(enter the password... I hope you know it)
(enter the password... I hope you know it)
cd /etc/exports/
cd /etc/exports/
exportfs -av
exportfs -av


Set up your password
Set up your password
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


emacs /etc/auto-master ensure that home is uncommented.
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/&
emacs /etc/auto-home comment the + line add this line * 10.20.3.8:/data/exportfs/home/&
automount -vc
automount -vc
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!


Set up a static IP
Set up a static IP
a) Login to Babbage through ssh once again.
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.
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
c) Sys prefs>>network
d) Not DHCP but Manually.
d) Not DHCP but Manually.
e) Take the static IP you found and put it in for the static IP
e) Take the static IP you found and put it in for the static IP
f) Subnet will always be 255.255.255.0
f) Subnet will always be 255.255.255.0
g) Router is 10.20.3.1
g) Router is 10.20.3.1
h) DNS server is always 10.20.70.16, 10.20.70.17
h) DNS server is always 10.20.70.16, 10.20.70.17
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 be evil and make you put it in anyway.
 
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.
Have Dr. Moorman go to apple.developer.com and put in his magic passwords and such and download the iPhone SDK and XCode.
We're done!
We're done!

Revision as of 19:34, 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. We're done!