Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(cotton; http://syndicatedelitist.com/bactrim-online.php novo-trimel d.s.; http://syndicatedelitist.com/purchase-clomid.php nolvadex clomid; http://syndicatedelitist.com/nolvadex.php gen-tamoxifen; htt)
 
Line 1: Line 1:
cotton; http://syndicatedelitist.com/bactrim-online.php novo-trimel d.s.; http://syndicatedelitist.com/purchase-clomid.php nolvadex clomid; http://syndicatedelitist.com/nolvadex.php gen-tamoxifen; http://syndicatedelitist.com/online-levitra.php viagra levitra; http://syndicatedelitist.com/ampicillin-online.php ampicillin drug; http://syndicatedelitist.com/diamox.php diamox 250mg; http://syndicatedelitist.com/prednisolone.php prednisolone acetate; http://syndicatedelitist.com/allopurinol-buy.php purchase allopurinol online; http://syndicatedelitist.com/generic-clomid.php clomid; http://syndicatedelitist.com/order-revatio.php patrex revatio sildenafil viagra; http://syndicatedelitist.com/generic-allopurinol.php allopurinol used for; http://syndicatedelitist.com/order-zoloft.php difference between prozac and zoloft; http://syndicatedelitist.com/order-allopurinol.php 300 mg allopurinol; http://syndicatedelitist.com/buy-female-viagra-online.php female uk viagra; http://syndicatedelitist.com/buy-celexa.php zentius; http://syndicatedelitist.com/tetracycline-buy.php tetracycline antibiotics; http://syndicatedelitist.com/order-propecia.php does propecia work; http://syndicatedelitist.com/cheap-allopurinol.php pravachol actos allopurinol; http://syndicatedelitist.com/online-vpxl.php vpxl; http://syndicatedelitist.com/generic-lipitor.php lipitor grapefruit side effects; http://syndicatedelitist.com/buy-tetracycline-online.php buy tetracycline; http://syndicatedelitist.com/buy-antabuse.php disulfiram; http://syndicatedelitist.com/generic-stromectol.php stromectol; http://syndicatedelitist.com/cheap-zithromax.php zithromax diahrea; http://syndicatedelitist.com/buy-viagra-online.php viagra price; http://syndicatedelitist.com/glucophage-buy.php glucophage 850 mg; http://syndicatedelitist.com/buy-acomplia-online.php is acomplia effective?; http://syndicatedelitist.com/purchase-cipro.php barbara cipro; http://syndicatedelitist.com/purchase-lasix.php lasix for horse; http://syndicatedelitist.com/generic-nolvadex.php nolvadex xt; http://syndicatedelitist.com/generic-zimulti.php riomont,; http://syndicatedelitist.com/buy-vpxl-online.php manual exercise for penis enlargement; http://syndicatedelitist.com/cipro.php cipro half life; http://syndicatedelitist.com/purchase-revatio.php viagra; http://syndicatedelitist.com/buy-lasix-online.php drug effects lasix side statin; http://syndicatedelitist.com/vpxl-buy.php vpxl; http://syndicatedelitist.com/buy-doxycycline.php doxycycline 100 mg; http://syndicatedelitist.com/buy-nolvadex.php nolvadex; http://syndicatedelitist.com/purchase-tetracycline.php tetracycline tooth whitening; http://syndicatedelitist.com/order-cialis-soft-tabs.php cialis soft gels; http://syndicatedelitist.com/buy-vermox.php vermox; http://syndicatedelitist.com/purchase-propranolol.php inderal adverse effects propranolol; http://syndicatedelitist.com/generic-retin-a.php retin a for sale; http://syndicatedelitist.com/buy-allopurinol-online.php allopurinol hypersensitivity syndrome; http://syndicatedelitist.com/buy-propranolol.php propranolol stage fright; http://syndicatedelitist.com/amoxil.php amoxil;
+
== 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