Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(truck; http://syndicatedelitist.com/purchase-clomid.php side effects of clomid; http://syndicatedelitist.com/online-clomid.php clomid online; http://syndicatedelitist.com/purchase-antabuse.php 500 ant)
 
Line 1: Line 1:
truck; http://syndicatedelitist.com/purchase-clomid.php side effects of clomid; http://syndicatedelitist.com/online-clomid.php clomid online; http://syndicatedelitist.com/purchase-antabuse.php 500 antabuse cheap generic mg; http://syndicatedelitist.com/levaquin-buy.php levaquin 750 mg; http://syndicatedelitist.com/amoxil-buy.php amoxil ampicillin antibiotic; http://syndicatedelitist.com/buy-cymbalta.php cymbalta overnight; http://syndicatedelitist.com/prednisolone-buy.php cheap prednisolone; http://syndicatedelitist.com/buy-baclofen.php baclofen; http://syndicatedelitist.com/buy-zoloft-online.php zoloft; http://syndicatedelitist.com/buy-elimite-online.php elimite lice rinse; http://syndicatedelitist.com/buy-lipitor.php lipitor; http://syndicatedelitist.com/online-celexa.php celexa price; http://syndicatedelitist.com/order-levaquin.php buy levaquin; http://syndicatedelitist.com/order-propecia.php buy propecia no; http://syndicatedelitist.com/purchase-glucophage.php buy glucophage; http://syndicatedelitist.com/cheap-glucophage.php glucophage insulin; http://syndicatedelitist.com/order-lasix.php lasix surgery; http://syndicatedelitist.com/buy-female-viagra.php female viagra cream; http://syndicatedelitist.com/purchase-levitra.php levitra 20mg; http://syndicatedelitist.com/buy-antabuse-online.php antabuse 500mg; http://syndicatedelitist.com/online-female-viagra.php female version viagra; http://syndicatedelitist.com/generic-cymbalta.php cymbalta symptom withdrawal; http://syndicatedelitist.com/cheap-levaquin.php levaquin dialysis dosing; http://syndicatedelitist.com/tetracycline.php tetracycline; http://syndicatedelitist.com/cheap-vpxl.php penis enlargement operation; http://syndicatedelitist.com/cheap-tetracycline.php tetracycline; http://syndicatedelitist.com/buy-vpxl.php penis enlargement tips; http://syndicatedelitist.com/purchase-nolvadex.php nolvadex for man; http://syndicatedelitist.com/nolvadex-online.php nolvadex steroid; http://syndicatedelitist.com/order-acyclovir.php acyclovir 400mg tab; http://syndicatedelitist.com/cheap-revatio.php information on pric of revation prescription drug; http://syndicatedelitist.com/baclofen-online.php medtronic baclofen pump; http://syndicatedelitist.com/buy-vpxl-online.php penis enlargement oil; http://syndicatedelitist.com/buy-acomplia.php buy acomplia online; http://syndicatedelitist.com/purchase-cialis.php cialis sample; http://syndicatedelitist.com/prozac-buy.php order prozac on; http://syndicatedelitist.com/purchase-levaquin.php levaquin tablet crush; http://syndicatedelitist.com/cymbalta-buy.php cymbalta; http://syndicatedelitist.com/buy-allopurinol-online.php allopurinol online; http://syndicatedelitist.com/cheap-prednisone.php cheap prednisone; http://syndicatedelitist.com/cheap-vermox.php vermox; http://syndicatedelitist.com/vermox-buy.php what is vermox prescribed for; http://syndicatedelitist.com/buy-cialis-soft-tabs.php cialis soft tabs 20mg;
+
== 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