History of OSX setting (No. 11)


FrontPage

Lion setting(OSX 10.7.3)

Xcode installation through "App Store"
"Command Line Tools for Xcode" install through downloading from ADC(Xcode>Open Developer Tool>More Developer Tools...)
"Graphic Tools for Xcode" install(if you want)

fink install(0.32.5.5)

./bootstrap<RET>
fink selfupdate-rsync<RET>
fink -f index<RET>

fink install fftw3<RET>
fink install openmotif4<RET>
fink install mesa-libglw-openmotif4<RET>
fink install gnuplot<RET>
fink install octave<RET>
fink install gdl<RET>

OLD description below

 Developper tools
 X11sdk
 X11
 xterm
 xterm -rv -aw -sb -sl 5000 -geometry 80x66 -cr gold -bc -ms orange -bd yellow~
 fink
 install fink
 fink selfupdate
 fink install ***
 openmotif3--(maybe no need)
 libtiff
 xview(for stimulate)--(maybe no need)
 xview install
''Installation''
 OSX install(partition setting if necessary)
 XCode install
 Developer tools install
 X11 sdk install--(maybe no need)
 fink install
  openmotif--(maybe no need)
 NFS client setting(UID change)
 SSH client setting(RSA key), Edit /etc/ssh_config
    ForwardX11 yes  << permit X-Forwarding same as -X flag for ssh command
    ForwardX11Trusted yes  << Expand permission same as -Y flag for ssh command
    ServerAliveInterval 30  << Not to have sudden communication close for long time processing

How to change UID(for NFS mount)

If you transfer your user account from your old mac, this procedure isn't necessary.

For Leopard(10.5) or later
 System Preference>Account
 Cmd-key + click on User name>
 You may still need to change the owner of your files/folders manually.(chown)

Following is the old way..
1.Make root user available
2.Logout from the user account
3.Login with root
4.Change UID with NetInfoManager
5.Change file owner setting
 chown -Rh <UID> /Users/<username>
6.Logout from root
Perl path setting
sudo mkdir /usr/local/<RET>
sudo mkdir /usr/local/bin<RET>
sudo ln -s /usr/bin/perl /usr/local/bin/<RET>

SSH access setting

>>ssh-keygen -t rsa<Return>
You need to set your "passphrase" for the ssh access. Including space is highly recommended for the passphrase(Like, "This is a pen").
Then you'll have "id_rsa" and "id_rsa.pub".
Paste the content of the local ~/.ssh/id_rsa.pub file into the file ~/.ssh/authorized_keys on the remote host.
e.g.)
 cat ~/.ssh/id_rsa.pub >> /usr4/<your account>/.ssh/authorized_keys <RET>
 (When you have nfs mount of /usr4 on your mac and your home directory of the remote is /usr4/<your account>)

SSH client's default setting
Edit /etc/ssh_config
Put the following 3 lines at the end.
 ForwardX11 yes
 ForwardX11Trusted yes
 ServerAliveInterval 30

Change your passphrase
 ssh-keygen -p [-P  OLD_passphrase ] [-N NEW_passphrase  ] <RET>

File server volume mounting

You need to register your fixed IP address to our servers.
For snow leopard or later, "Disk Utility" can make automatic mounting.

How to put your mounted volume in the side bar menu of file browser

Assume you have /usr4 mounted as /usr4

1.Open terminal and cd / <RET>
2.$>open ./ <RET>
3.Click the volume folder and hit "Apple"+'t' keys

Old information

Stimulate on Leopard
 [.Xdefaults]
 OpenWindows.RegularFont:-adobe-helvetica-medium-r-normal--13-120-75-75-p-0-iso8859-1
 OpenWindows.BoldFont:-adobe-helvetica-bold-r-normal--13-120-75-75-p-0-iso8859-1
 
 xrdb .Xdefaults<RET>