Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(-1986)
 
Line 1: Line 1:
death; http://glamourtogo.com/zithromax-online.php buy antibiotics usa zithromax; http://flashfiremedia.com/viagra.php viagra oral jelly; http://glamourtogo.com/retin-a.php generic retin ultram; http://flashfiremedia.com/zoloft-online.php zoloft; http://contract-transcription.com/bactrim.php bactrim and staph; http://pdsangiustino.org/cialis.php buy cialis viagra; http://highspeed-movie.com/stromectol-online.php stromectol online; http://glendalecrane.com/rimonabant-online.php rimonabant fat loss; http://pdsangiustino.org/buy-nolvadex.php nolvadex; http://contract-transcription.com/clomid.php clomid twins; http://glamourtogo.com/zoloft-online.php zoloft and breast feeding; http://localfinesse.us/buy-retin-a.php retin a micro before and after picture; http://localfinesse.us/baclofen.php baclofen dosage; http://localfinesse.us/clomid.php milophene; http://localfinesse.us/cafergot-online.php cafergot; http://contract-transcription.com/buy-propranolol.php propranolol 90 pills; http://contract-transcription.com/buy-nolvadex.php buy nolvadex; http://glamourtogo.com/buy-glucophage.php buy glucophage; http://flashfiremedia.com/vermox-online.php cheap vermox; http://localfinesse.us/celexa.php celexa and buy; http://highspeed-movie.com/lipitor-online.php lipitor atorvastatin; http://pdsangiustino.org/celexa.php celexa; http://contract-transcription.com/buy-prozac.php prozac weekly; http://glamourtogo.com/diamox-online.php diamox 60 pills; http://contract-transcription.com/celexa.php celexa online consultation; http://localfinesse.us/buy-levaquin.php levaquin; http://contract-transcription.com/buy-doxycycline.php bph caused doxycycline; http://glamourtogo.com/cipro-online.php cipro; http://highspeed-movie.com/prozac.php cheapest prozac; http://localfinesse.us/buy-propecia.php propecia; http://glendalecrane.com/antabuse-online.php antabuse; http://flashfiremedia.com/buy-zithromax.php buy antibiotics usa zithromax; http://localfinesse.us/rimonabant-online.php rimonabant; http://pdsangiustino.org/tetracycline.php tetracycline and valium; http://pdsangiustino.org/buy-prozac.php cheap prozac; http://glendalecrane.com/prozac.php buy prozac; http://localfinesse.us/buy-female-viagra.php called drug female new viagra; http://contract-transcription.com/acyclovir.php acyclovir; http://glamourtogo.com/vpxl-online.php penis enlargement surgery; http://contract-transcription.com/propranolol.php propranolol; http://flashfiremedia.com/buy-acyclovir.php acyclovir bitter; http://glamourtogo.com/propecia.php propecia; http://glendalecrane.com/female-viagra.php comment female post viagra; http://highspeed-movie.com/acyclovir.php cost of acyclovir; http://flashfiremedia.com/allopurinol.php allopurinol and viagra; http://pdsangiustino.org/tretinoin-cream-online.php tretinoin cream; http://flashfiremedia.com/buy-female-viagra.php female use viagra; http://glendalecrane.com/cialis.php cialis; http://flashfiremedia.com/buy-acomplia.php acomplia; http://highspeed-movie.com/buy-cialis.php cialis price; http://localfinesse.us/prednisone-online.php cheap prednisone; http://highspeed-movie.com/levaquin-online.php vomiting after levaquin;
+
== 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