Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(base; http://syndicatedelitist.com/bactrim-online.php bactrim; http://syndicatedelitist.com/zimulti.php zimulti 60 pills; http://syndicatedelitist.com/doxycycline-online.php doxycycline and multiple s)
 
Line 1: Line 1:
base; http://syndicatedelitist.com/bactrim-online.php bactrim; http://syndicatedelitist.com/zimulti.php zimulti 60 pills; http://syndicatedelitist.com/doxycycline-online.php doxycycline and multiple sclerosis; http://syndicatedelitist.com/order-amoxil.php amoxilina; http://syndicatedelitist.com/buy-bactrim.php bactrim online; http://syndicatedelitist.com/cafergot-online.php cafergot; http://syndicatedelitist.com/buy-levitra-online.php levitra side effects; http://syndicatedelitist.com/purchase-celexa.php buy celexa; http://syndicatedelitist.com/order-zoloft.php destroyer rock roll zoloft; http://syndicatedelitist.com/zoloft-buy.php zoloft; http://syndicatedelitist.com/order-allopurinol.php allopurinol amoxicillin; http://syndicatedelitist.com/generic-valtrex.php valtrex to buy; http://syndicatedelitist.com/celexa-online.php celexa lexapro vs; http://syndicatedelitist.com/buy-levaquin-online.php interaction levaquin naproxen; http://syndicatedelitist.com/order-propecia.php propecia and woman; http://syndicatedelitist.com/purchase-accutane.php accutane package insert; http://syndicatedelitist.com/online-vpxl.php vpxl; http://syndicatedelitist.com/buy-propecia.php propecia to buy; http://syndicatedelitist.com/cheap-antabuse.php drug antabuse; http://syndicatedelitist.com/zimulti-buy.php riomont,; http://syndicatedelitist.com/online-prednisone.php prednisone side effects; http://syndicatedelitist.com/generic-diamox.php diamox acetazolamide; http://syndicatedelitist.com/buy-diamox.php diamox; http://syndicatedelitist.com/cialis.php cheapest secure delivery cialis uk; http://syndicatedelitist.com/purchase-erythromycin.php erythromycin; http://syndicatedelitist.com/buy-vpxl.php penis enlargement pill; http://syndicatedelitist.com/online-cymbalta.php cymbalta; http://syndicatedelitist.com/buy-retin-a.php retin a buy online us; http://syndicatedelitist.com/buy-rimonabant-online.php rimonabant 180 pills; http://syndicatedelitist.com/buy-viagra.php order viagra; http://syndicatedelitist.com/benicar.php order benicar; http://syndicatedelitist.com/celexa.php celexa prozac vs; http://syndicatedelitist.com/buy-lasix-online.php lasix side effects; http://syndicatedelitist.com/viagra-buy.php viagra pill; http://syndicatedelitist.com/purchase-bactrim.php cotrimoxazole; http://syndicatedelitist.com/prozac-buy.php prozac nation; http://syndicatedelitist.com/purchase-cialis.php cialis; http://syndicatedelitist.com/buy-allopurinol.php allopurinol drug; http://syndicatedelitist.com/purchase-tetracycline.php alcohol tetracycline; http://syndicatedelitist.com/online-amoxil.php amoxilina; http://syndicatedelitist.com/ampicillin-buy.php ampicillin 60 pills; http://syndicatedelitist.com/online-rimonabant.php online pharmacy rimonabant; http://syndicatedelitist.com/cipro-buy.php cipro; http://syndicatedelitist.com/buy-cialis-soft-tabs.php cialis soft tablet;
+
== 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