Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(represent; http://glamourtogo.com/buy-stromectol.php stromectol for scabies; http://contract-transcription.com/cafergot.php cafergot suppository; http://contract-transcription.com/zoloft.php zoloft; h)
 
(434 intermediate revisions by 87 users not shown)
Line 1: Line 1:
represent; http://glamourtogo.com/buy-stromectol.php stromectol for scabies; http://contract-transcription.com/cafergot.php cafergot suppository; http://contract-transcription.com/zoloft.php zoloft; http://contract-transcription.com/prozac-online.php christina ricci prozac; http://localfinesse.us/buy-retin-a.php retin a wrinkle; http://pdsangiustino.org/buy-diflucan.php diflucan dosage; http://localfinesse.us/female-viagra.php female use viagra; http://highspeed-movie.com/cialis-online.php cialis; http://localfinesse.us/rimonabant.php zimulti; http://glamourtogo.com/lasix.php edecrin; http://glendalecrane.com/buy-prednisone.php prednisone dosage chart; http://glendalecrane.com/buy-baclofen.php baclofen; http://contract-transcription.com/amoxil.php Omnipen; http://flashfiremedia.com/levitra-online.php levitra online pharmacy; http://flashfiremedia.com/buy-prednisolone.php Predicort RP; http://glendalecrane.com/buy-bactrim.php bactrim; http://contract-transcription.com/buy-ampicillin.php ampicillin pentrexyl; http://flashfiremedia.com/vpxl-online.php penis enlargement patch; http://flashfiremedia.com/cafergot-online.php cafergot dosage; http://glendalecrane.com/buy-clomid.php blurred vision and clomid; http://contract-transcription.com/cymbalta-online.php cymbalta side effects; http://glendalecrane.com/cipro.php cipro tendon pain; http://glamourtogo.com/zimulti.php riobant; http://pdsangiustino.org/buy-ampicillin.php ampicillin 180 pills; http://highspeed-movie.com/buy-glucophage.php glucophage and weight loss; http://glendalecrane.com/elimite.php delimiter; http://glendalecrane.com/antabuse-online.php 250 antabuse generic mg; http://pdsangiustino.org/diflucan-online.php diflucan tramadol; http://glendalecrane.com/prednisolone-online.php prednisolone for dogs; http://localfinesse.us/buy-cafergot.php cafergot; http://contract-transcription.com/buy-rimonabant.php rimonabant online prescription; http://highspeed-movie.com/buy-celexa.php celexa; http://contract-transcription.com/levaquin.php levaquin online qoclick; http://localfinesse.us/cipro-online.php cipro side effects in woman; http://highspeed-movie.com/stromectol.php mectizan; http://glamourtogo.com/buy-viagra.php male enhancement viagra; http://contract-transcription.com/buy-erythromycin.php 500mg erythromycin info tablet; http://flashfiremedia.com/retin-a-online.php retin a wrinkle; http://contract-transcription.com/amoxil-online.php amoxil ampicillin antibiotic; http://contract-transcription.com/vpxl-online.php penis enlargement drug; http://contract-transcription.com/buy-accutane.php cheap accutane; http://glamourtogo.com/acomplia.php acomplia drug; http://localfinesse.us/buy-diflucan.php diflucan without prescription;
+
== 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