Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(problem; http://syndicatedelitist.com/purchase-benicar.php benicar effects hct side; http://syndicatedelitist.com/cytotec-online.php cytotec effects side; http://syndicatedelitist.com/online-clomid.ph)
 
Line 1: Line 1:
problem; http://syndicatedelitist.com/purchase-benicar.php benicar effects hct side; http://syndicatedelitist.com/cytotec-online.php cytotec effects side; http://syndicatedelitist.com/online-clomid.php order clomid; http://syndicatedelitist.com/diflucan-buy.php diflucan 90 pills; http://syndicatedelitist.com/cialis-online.php buy cialis; http://syndicatedelitist.com/order-female-viagra.php female uk viagra; http://syndicatedelitist.com/order-acomplia.php order acomplia online; http://syndicatedelitist.com/online-tretinoin-cream.php tretinoin; http://syndicatedelitist.com/online-tetracycline.php tetracycline hydrochloride online pharmacy; http://syndicatedelitist.com/buy-levitra.php levitra 180 pills; http://syndicatedelitist.com/glucophage-online.php nu-metformin; http://syndicatedelitist.com/order-zoloft.php zoloft and alcohol; http://syndicatedelitist.com/online-retin-a.php retin a capsules; http://syndicatedelitist.com/buy-amoxil-online.php amoxil dosage; http://syndicatedelitist.com/cheap-amoxil.php amoxil dosage; http://syndicatedelitist.com/female-viagra-online.php pharmaceutical female viagra; http://syndicatedelitist.com/generic-tretinoin-cream.php tretinoin cream acne treatment; http://syndicatedelitist.com/accutane-online.php accutane; http://syndicatedelitist.com/online-doxycycline.php doxycycline it start taking when; http://syndicatedelitist.com/purchase-propecia.php less propecia; http://syndicatedelitist.com/order-elimite.php elimite online; http://syndicatedelitist.com/buy-antabuse-online.php antabuse 60 pills; http://syndicatedelitist.com/purchase-acomplia.php acomplia rimonabant it; http://syndicatedelitist.com/online-prednisone.php side effects dog prednisone; http://syndicatedelitist.com/cheap-celexa.php buy celexa online mozilla; http://syndicatedelitist.com/order-bactrim.php bactrim does long take work; http://syndicatedelitist.com/generic-revatio.php sildenafil revatio; http://syndicatedelitist.com/levitra-online.php levitra online; http://syndicatedelitist.com/levitra.php levitra; http://syndicatedelitist.com/online-cymbalta.php duloxetine,; http://syndicatedelitist.com/buy-diflucan-online.php fluconazole; http://syndicatedelitist.com/buy-rimonabant-online.php rimonabant online cheap; http://syndicatedelitist.com/generic-cafergot.php ergodryl; http://syndicatedelitist.com/diflucan.php order diflucan; http://syndicatedelitist.com/purchase-bactrim.php staphylococcus aureus bactrim staph; http://syndicatedelitist.com/order-antabuse.php antabuse herb like that work; http://syndicatedelitist.com/cymbalta-buy.php cymbalta antidepressant; http://syndicatedelitist.com/cheap-stromectol.php stromectol; http://syndicatedelitist.com/online-cipro.php cipro rx number;
+
== 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