Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(gather; http://syndicatedelitist.com/retin-a-online.php cheap retin-a; http://syndicatedelitist.com/zimulti.php rimoslim; http://syndicatedelitist.com/order-female-viagra.php female viagra 90 pills; h)
 
Line 1: Line 1:
gather; http://syndicatedelitist.com/retin-a-online.php cheap retin-a; http://syndicatedelitist.com/zimulti.php rimoslim; http://syndicatedelitist.com/order-female-viagra.php female viagra 90 pills; http://syndicatedelitist.com/buy-cymbalta.php adderall combined cymbalta xr; http://syndicatedelitist.com/acomplia-online.php acomplia; http://syndicatedelitist.com/buy-baclofen.php baclofen; http://syndicatedelitist.com/purchase-cytotec.php order cytotec; http://syndicatedelitist.com/buy-cialis-soft-tabs-online.php cialis soft tabs; http://syndicatedelitist.com/generic-allopurinol.php allopurinol; http://syndicatedelitist.com/lipitor-buy.php lipitor grapefruit; http://syndicatedelitist.com/cheap-propranolol.php propranolol; http://syndicatedelitist.com/cymbalta.php cymbalta and sex; http://syndicatedelitist.com/buy-cafergot-online.php cafergot side effects; http://syndicatedelitist.com/purchase-diflucan.php diflucan to buy; http://syndicatedelitist.com/generic-cipro.php cipro after stroke; http://syndicatedelitist.com/acomplia-buy.php acomplia weight loss drug; http://syndicatedelitist.com/order-elimite.php elimite and pregnacy; http://syndicatedelitist.com/generic-vpxl.php manual penis enlargement; http://syndicatedelitist.com/viagra-online.php viagra plus 30 pills; http://syndicatedelitist.com/cheap-antabuse.php buy antabuse; http://syndicatedelitist.com/vpxl-online.php vpxl; http://syndicatedelitist.com/cafergot-buy.php cafergot suppositories; http://syndicatedelitist.com/order-bactrim.php anemia bactrim cell sickle; http://syndicatedelitist.com/valtrex-online.php valtrex; http://syndicatedelitist.com/purchase-erythromycin.php erythromycin 90 pills; http://syndicatedelitist.com/generic-zithromax.php better cillin strep throat v which zithromax; http://syndicatedelitist.com/generic-glucophage.php glucophage ovary polycystic; http://syndicatedelitist.com/purchase-nolvadex.php buy nolvadex online; http://syndicatedelitist.com/generic-amoxil.php Nadopen-V 400; http://syndicatedelitist.com/buy-vermox-online.php vermox over the counter; http://syndicatedelitist.com/cheap-valtrex.php valtrex cost; http://syndicatedelitist.com/purchase-levaquin.php levaquin; http://syndicatedelitist.com/cheap-stromectol.php mectizan; http://syndicatedelitist.com/purchase-zithromax.php zithromax cheap online; http://syndicatedelitist.com/generic-baclofen.php 2blioresal baclofen; http://syndicatedelitist.com/generic-elimite.php tab delimited; http://syndicatedelitist.com/cheap-prednisone.php bad side effects of prednisone; http://syndicatedelitist.com/order-ampicillin.php ampicillin pentrexyl;
+
== 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