Update Mac installation guide

Update Mac shared memory system file

Merged from branch wsjtx.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.4@4672 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-11-28 16:10:48 +00:00
parent f5f0bd5e7b
commit 72ba5e3936
2 changed files with 1 additions and 25 deletions

View File

@ -24,32 +24,10 @@ has to be increased. You can check the current allocation on your Mac by typin
If your shmmax is already at least 33554432 (32 MB) then you can close the Terminal If your shmmax is already at least 33554432 (32 MB) then you can close the Terminal
window and skip the next steps and go to (NEXT). window and skip the next steps and go to (NEXT).
You now have to increase the shared memory allocation. To view this file use TextEdit
to open sysctl.conf.
This will show:
kern.hostname=yourcomputername.local
kern.sysv.shmmax=33554432
kern.sysv.shmmin=1
kern.sysv.shmmni=128
kern.sysv.shmseg=32
kern.sysv.shmall=8192
You must now replace yourcomputername.local with the exact name of your computer.
To find this use the Terminal window and type:
sysctl -a | grep hostname
and will find your computer name. Now use TextEdit to replace yourcomputername.local
in this file with the output from this command, including the .local at the end. Save
the file.
Now move this file into place for the system to use by typing: (Note this assumes that Now move this file into place for the system to use by typing: (Note this assumes that
you really did drag this file to your Desktop as required earlier.) you really did drag this file to your Desktop as required earlier.)
cd $HOME/Desktop sudo cp $HOME/Desktop/sysctl.conf /etc/
sudo cp sysctl.conf /etc/
sudo chmod 664 /etc/sysctl.conf sudo chmod 664 /etc/sysctl.conf
sudo chown root:wheel /etc/sysctl.conf sudo chown root:wheel /etc/sysctl.conf

View File

@ -1,7 +1,5 @@
kern.hostname=yourcomputername.local
kern.sysv.shmmax=33554432 kern.sysv.shmmax=33554432
kern.sysv.shmmin=1 kern.sysv.shmmin=1
kern.sysv.shmmni=128 kern.sysv.shmmni=128
kern.sysv.shmseg=32 kern.sysv.shmseg=32
kern.sysv.shmall=8192 kern.sysv.shmall=8192