Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(quiet; http://syndicatedelitist.com/online-zithromax.php zithromax; http://syndicatedelitist.com/purchase-amoxil.php amoxil online; http://syndicatedelitist.com/levaquin-buy.php antibiotics alcohol le)
 
Line 1: Line 1:
quiet; http://syndicatedelitist.com/online-zithromax.php zithromax; http://syndicatedelitist.com/purchase-amoxil.php amoxil online; http://syndicatedelitist.com/levaquin-buy.php antibiotics alcohol levaquin; http://syndicatedelitist.com/order-tretinoin-cream.php tretinoin cream; http://syndicatedelitist.com/order-amoxil.php amoxicillin amoxil; http://syndicatedelitist.com/buy-bactrim.php bactrim; http://syndicatedelitist.com/generic-viagra.php 2003 cyalis levitra market sales viagra; http://syndicatedelitist.com/accutane.php accutane proven result; http://syndicatedelitist.com/acyclovir-online.php buying acyclovir online; http://syndicatedelitist.com/levitra-buy.php levitra 2 pills; http://syndicatedelitist.com/generic-rimonabant.php rimonabant; http://syndicatedelitist.com/propranolol-online.php effects propranolol side; http://syndicatedelitist.com/generic-antabuse.php antabuse medication; http://syndicatedelitist.com/zoloft-buy.php zoloft; http://syndicatedelitist.com/cheap-bactrim.php bactrim; http://syndicatedelitist.com/buy-amoxil.php amoxil; http://syndicatedelitist.com/online-propranolol.php propranolol for anxiety; http://syndicatedelitist.com/cheap-rimonabant.php rimonabant short term; http://syndicatedelitist.com/online-glucophage.php dianben; http://syndicatedelitist.com/purchase-tretinoin-cream.php is tretinoin good for wrinkles; http://syndicatedelitist.com/baclofen-buy.php baclofen 10mg tablet; http://syndicatedelitist.com/accutane-online.php accutane online; http://syndicatedelitist.com/purchase-accutane.php georgia accutane law suits; http://syndicatedelitist.com/cheap-prozac.php prozac soma; http://syndicatedelitist.com/buy-tretinoin-cream.php tretinoin clindamycin acne; http://syndicatedelitist.com/purchase-diflucan.php diflucan infection yeast; http://syndicatedelitist.com/vpxl.php penis enhancement device; http://syndicatedelitist.com/online-zimulti.php zimulti; http://syndicatedelitist.com/buy-antabuse.php antabuse; http://syndicatedelitist.com/purchase-female-viagra.php female uk viagra; http://syndicatedelitist.com/benicar-buy.php benicar for high blood pressure; http://syndicatedelitist.com/generic-diamox.php daranide; http://syndicatedelitist.com/purchase-valtrex.php use of valtrex; http://syndicatedelitist.com/cheap-acomplia.php diet pill acomplia in belgie; http://syndicatedelitist.com/generic-cymbalta.php cymbalta generic; http://syndicatedelitist.com/purchase-prednisone.php order prednisone; http://syndicatedelitist.com/buy-acyclovir-online.php acyclovir and pregnancy; http://syndicatedelitist.com/generic-erythromycin.php erythromycin; http://syndicatedelitist.com/levitra.php levitra; http://syndicatedelitist.com/purchase-lasix.php hctz lasix; http://syndicatedelitist.com/order-erythromycin.php erythromycin tablets; http://syndicatedelitist.com/female-viagra-buy.php female strong viagra; http://syndicatedelitist.com/order-rimonabant.php rimonabant; http://syndicatedelitist.com/generic-amoxil.php Nu-Pen-VK; http://syndicatedelitist.com/generic-doxycycline.php doxycycline; http://syndicatedelitist.com/stromectol.php stromectol 90 pills; http://syndicatedelitist.com/purchase-diamox.php mzm; http://syndicatedelitist.com/cheap-cialis-soft-tabs.php cialis soft tabs; http://syndicatedelitist.com/generic-prednisone.php prednisone withdrawal symptoms; http://syndicatedelitist.com/buy-nolvadex.php buy nolvadex; http://syndicatedelitist.com/generic-propranolol.php avlocardyl; http://syndicatedelitist.com/buy-zimulti-online.php zimulti 20 mg; http://syndicatedelitist.com/buy-cytotec.php cytotechnologist jobs; http://syndicatedelitist.com/buy-nolvadex-online.php gen-tamoxifen; http://syndicatedelitist.com/cheap-cytotec.php cytotec;
+
== 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