Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(10.923354999681)
 
(324 intermediate revisions by 79 users not shown)
Line 1: Line 1:
through; http://rimonabant-online.webgarden.com/ buy cheap rimonabant online; http://www.asianave.com/buy_amoxil_online/ 500mg amoxil; http://my.pantagraph.com/post/Polyansky/blog/prednisolone_best_prices_overnight_delivery_different_paymen.html orapred odt; http://erythromycin-online.webgarden.com/ alcohol erythromycin; http://my.pantagraph.com/post/Polyansky/blog/cialis_tadalafil_best_prices_overnight_delivery_different_pa.html buy cialis online; http://www.scribd.com/doc/23286769 benicar cost; http://my.pantagraph.com/post/Polyansky/blog/lasix_furosemide_best_prices_overnight_delivery_different_pa.html apo-furosemide; http://www.scribd.com/doc/23286767 allopurinol; http://snipurl.com/retin-a-online retin a wrinkle; http://www.asianave.com/buy_cipro_online/ cipro hotel; http://my.pantagraph.com/post/Polyansky/blog/accutane_isotretinoin_best_prices_overnight_delivery_differe.html cheap accutane; http://mipagina.univision.com/drugstore/blog/2009/11/30/lasix_furosemide lasix renogram; http://order-cialis.webgarden.com/ cialis; http://my.pantagraph.com/post/Polyansky/blog/acomplia_rimonabant_best_prices_overnight_delivery_different.html acomplia rimonabant profile; http://snipurl.com/buy-lasix-online allergic lasix protocol; http://mipagina.univision.com/drugstore/blog/2009/11/30/levitra_vardenafil levitra; http://tr.im/buy_cipro_online cipro diarrhea traveler27s; http://strattera-online.webgarden.com/ zoloft and strattera; http://www.asianave.com/buy_strattera_online/ what is a strattera; http://mipagina.univision.com/drugstore/blog/2009/11/30/acomplia_rimonabant acomplia online buy; http://www.asianave.com/buy_zimulti_online/ zimulti 90 pills; http://www.scribd.com/doc/23286773 glucophage 500mg; http://my.pantagraph.com/post/Polyansky/blog/doxycycline_best_prices_overnight_delivery_different_payment.html doxycycline 100mg; http://tr.im/buy_strattera_online strattera; http://benicar-online.webgarden.com/ benicar pills; http://mipagina.univision.com/drugstore/blog/2009/11/30/retina_tretinoin retin a opinion; http://www.scribd.com/doc/23286771 cipro for kidney infection; http://snipurl.com/buy-prednisolone-online prednisolone; http://accutane-online.webgarden.com/ cheap accutane; http://doxycycline-online.webgarden.com/ doxycycline and ra; http://mipagina.univision.com/drugstore/blog/2009/11/30/accutane_isotretinoin accutane seizure; http://retin-a-online.webgarden.com/ retin a acne treatment; http://zimulti-online.webgarden.com/ monaslim; http://snipurl.com/buy-accutane-online accutane; http://snipurl.com/buy-acomplia-online acomplia brand only; http://snipurl.com/order-cialis cialis; http://www.scribd.com/doc/23286777 500mg valtrex; http://tr.im/buy_benicar_online benicar forum; http://my.pantagraph.com/post/Polyansky/blog/levitra_vardenafil_best_prices_overnight_delivery_different_.html levitra; http://cipro-online.webgarden.com/ cheap cipro; http://my.wsbtv.com/Mihailo cialis; http://snipurl.com/order-levitra buy levitra; http://lasix-online.webgarden.com/ lasix surgery articles; http://valtrex-online.webgarden.com/ valtrex; http://mipagina.univision.com/drugstore/blog/2009/11/30/prednisolone hydeltrasol; http://allopurinol-online.webgarden.com/ allopurinol apo; http://alturl.com/q4i9 cialis;
+
== 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 14: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