Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(here; http://flashfiremedia.com/female-viagra-online.php female herbal viagra; http://localfinesse.us/acomplia.php acomplia; http://pdsangiustino.org/lipitor.php lipitor lawsuits; http://highspeed-mov)
 
Line 1: Line 1:
here; http://flashfiremedia.com/female-viagra-online.php female herbal viagra; http://localfinesse.us/acomplia.php acomplia; http://pdsangiustino.org/lipitor.php lipitor lawsuits; http://highspeed-movie.com/diflucan.php buy order diflucan diflucan; http://pdsangiustino.org/buy-vermox.php purchase vermox online; http://flashfiremedia.com/buy-diamox.php diamox side effects; http://contract-transcription.com/revatio-online.php information on pric of revatio prescription drug; http://flashfiremedia.com/buy-prozac.php prozac purchase online; http://flashfiremedia.com/cymbalta-online.php cymbalta pain; http://highspeed-movie.com/ampicillin.php ampicillin; http://pdsangiustino.org/cafergot.php cafergot generic; http://flashfiremedia.com/cialis-soft-tabs-online.php cialis soft tabs; http://glendalecrane.com/buy-prednisone.php prednisone side effects in dog; http://contract-transcription.com/glucophage-online.php glucophage 500 mg; http://pdsangiustino.org/buy-lipitor.php lipitor; http://pdsangiustino.org/propranolol-online.php inderal james mcgaugh propranolol; http://contract-transcription.com/propecia.php propecia; http://glamourtogo.com/viagra.php order viagra; http://contract-transcription.com/elimite-online.php buy elimite; http://glamourtogo.com/buy-prozac.php prozac; http://localfinesse.us/bactrim-online.php bactrim; http://contract-transcription.com/buy-bactrim.php order bactrim; http://glendalecrane.com/buy-bactrim.php buy bactrim; http://flashfiremedia.com/cymbalta.php discount cymbalta; http://contract-transcription.com/tretinoin-cream-online.php tretinoin cream; http://highspeed-movie.com/acomplia-online.php acomplia order; http://glendalecrane.com/buy-erythromycin.php erythromycin inad notice receipt; http://glamourtogo.com/prednisone-online.php prednisone without prescription; http://glamourtogo.com/zimulti.php riomont,; http://pdsangiustino.org/buy-lasix.php lasix problem; http://highspeed-movie.com/cafergot.php cafergot tablets; http://localfinesse.us/benicar-online.php benicar side effects; http://localfinesse.us/diflucan.php buy diflucan; http://glendalecrane.com/antabuse-online.php antabuse; http://localfinesse.us/buy-acyclovir.php acyclovir herpes simplex; http://flashfiremedia.com/buy-cytotec.php cytotec online; http://pdsangiustino.org/buy-tretinoin-cream.php tretinoin peel; http://localfinesse.us/retin-a.php retin a acne scars; http://flashfiremedia.com/acyclovir-online.php acyclovir online; http://highspeed-movie.com/buy-valtrex.php pregnancy valtrex; http://localfinesse.us/cipro-online.php cipro metabolism purine; http://highspeed-movie.com/buy-stromectol.php buy stromectol; http://contract-transcription.com/valtrex.php valtrex pills online; http://glendalecrane.com/acyclovir.php acyclovir; http://contract-transcription.com/buy-allopurinol.php no prescription allopurinol; http://contract-transcription.com/buy-antabuse.php alcoholism antabuse treatment; http://highspeed-movie.com/valtrex-online.php valtrex; http://flashfiremedia.com/allopurinol.php no prescription allopurinol; http://pdsangiustino.org/buy-cymbalta.php cymbalta for anxiety; http://flashfiremedia.com/nolvadex-online.php tamoxifen; http://pdsangiustino.org/rimonabant.php order rimonabant; http://localfinesse.us/cytotec-online.php cytotechnology jobs; http://glendalecrane.com/tetracycline-online.php tetracycline online; http://flashfiremedia.com/buy-viagra.php lowest price viagra; http://flashfiremedia.com/zithromax-online.php zithromax ngu; http://pdsangiustino.org/prozac.php order prozac; http://flashfiremedia.com/cytotec-online.php cytotec induction labor;
+
== Useful Software ==
 +
* Perian
 +
* Plex
 +
* MobileMouse
 +
* BetterTouchTool
 +
* JollysFastVNC
 +
* RemoteBuddy
 +
 
 +
== Useful Commands ==
 +
; mdinfo : Mac equivalent to locate (since it seems locatedb isn't periodically updated for OS X)
 +
 
 +
== Setup ==
 +
=== Windows UK Keyboard Mapping ===
 +
http://neuro.me.uk/2009/08/31/getting-the-uk-keyboard-layout-right-in-snow-leopard/
 +
 
 +
=== VNC ===
 +
http://sourceforge.net/projects/osxvnc/
 +
 
 +
=== rsync ===
 +
http://maxpowerindustries.com/2009/09/21/how-to-install-the-rsync-daemon-on-mac-os-x/
 +
 
 +
=== SNMP ===
 +
http://scott.wallace.sh/2009/12/04/enabling-snmp-in-mac-os-x-10-6-snow-leopard/
 +
 
 +
=== Compiling mythtv ===
 +
At the time of writing the current (14660) revision of mythtv does not build for Mac OS X. One working build is 14225. To build this:
 +
 
 +
NB. Ensure you don't have xmms or xmms-shlibs installed via fink/apt-get
 +
 
 +
* svn co -r 14225 http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv-14225
 +
* cd mythtv-14225
 +
* ./osx-packager.pl -svnrev 14225
 +
 
 +
Alternatively, to fix the latest version for an Intel Mac:
 +
 
 +
* svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv
 +
* cd mythtv
 +
* Add "'--arch=pentium4'," to the mythtv args list around line 488 of osx-packager.pl
 +
* ./osx-packager.pl
 +
* You'll get an "ERROR: CPU specific ./configure options failed compile test" warning when osx-packager runs configure for mythtv, but this can be ignored
 +
 
 +
=== Setting the domain name ===
 +
This only seems to work until the next DHCP refresh. Better to set this at the DHCP server so that it hands out the domain with a DHCP request.
 +
<pre>
 +
sudo hostname -s host.domain.com
 +
</pre>
 +
 
 +
=== Backup with timemachine to Ubuntu ===
 +
See: http://www.mike-hughes.net/it/mac/filesharing-for-osx-afp-on-debian/
 +
and for the Ubuntu specific stuff (just the apt-get, since the rest looks incorrect): http://notepad.bobkmertz.com/2010/01/apple-time-machine-backups-to-ubuntu.html
 +
 
 +
 
 +
== Installing from the command line ==
 +
* hdiutil attach ''file''.dmg
 +
* cd /Volumes/''mount''/
 +
* sudo installer -pkg ''install''.pkg -target "/"
 +
 
 +
== Munin ==
 +
* The munin-node process doesn't run properly on Lion, so simply install the snmp plugins on the munin server and add the remote node to /etc/munin/munin.conf on the server
 +
 
 +
== Disable creation of .AppleDouble and .DS_Store files ==
 +
* Run: defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Latest revision as of 15:33, 24 May 2012

Useful Software

  • Perian
  • Plex
  • MobileMouse
  • BetterTouchTool
  • JollysFastVNC
  • RemoteBuddy

Useful Commands

mdinfo 
Mac equivalent to locate (since it seems locatedb isn't periodically updated for OS X)

Setup

Windows UK Keyboard Mapping

http://neuro.me.uk/2009/08/31/getting-the-uk-keyboard-layout-right-in-snow-leopard/

VNC

http://sourceforge.net/projects/osxvnc/

rsync

http://maxpowerindustries.com/2009/09/21/how-to-install-the-rsync-daemon-on-mac-os-x/

SNMP

http://scott.wallace.sh/2009/12/04/enabling-snmp-in-mac-os-x-10-6-snow-leopard/

Compiling mythtv

At the time of writing the current (14660) revision of mythtv does not build for Mac OS X. One working build is 14225. To build this:

NB. Ensure you don't have xmms or xmms-shlibs installed via fink/apt-get

Alternatively, to fix the latest version for an Intel Mac:

  • svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv
  • cd mythtv
  • Add "'--arch=pentium4'," to the mythtv args list around line 488 of osx-packager.pl
  • ./osx-packager.pl
  • You'll get an "ERROR: CPU specific ./configure options failed compile test" warning when osx-packager runs configure for mythtv, but this can be ignored

Setting the domain name

This only seems to work until the next DHCP refresh. Better to set this at the DHCP server so that it hands out the domain with a DHCP request.

sudo hostname -s host.domain.com

Backup with timemachine to Ubuntu

See: http://www.mike-hughes.net/it/mac/filesharing-for-osx-afp-on-debian/ and for the Ubuntu specific stuff (just the apt-get, since the rest looks incorrect): http://notepad.bobkmertz.com/2010/01/apple-time-machine-backups-to-ubuntu.html


Installing from the command line

  • hdiutil attach file.dmg
  • cd /Volumes/mount/
  • sudo installer -pkg install.pkg -target "/"

Munin

  • The munin-node process doesn't run properly on Lion, so simply install the snmp plugins on the munin server and add the remote node to /etc/munin/munin.conf on the server

Disable creation of .AppleDouble and .DS_Store files

  • Run: defaults write com.apple.desktopservices DSDontWriteNetworkStores true