Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(flow; http://syndicatedelitist.com/purchase-retin-a.php retin-a; http://syndicatedelitist.com/purchase-amoxil.php amoxilin; http://syndicatedelitist.com/online-zithromax.php pronunciation zithromax; h)
 
Line 1: Line 1:
flow; http://syndicatedelitist.com/purchase-retin-a.php retin-a; http://syndicatedelitist.com/purchase-amoxil.php amoxilin; http://syndicatedelitist.com/online-zithromax.php pronunciation zithromax; http://syndicatedelitist.com/amoxil-buy.php order amoxil; http://syndicatedelitist.com/order-tretinoin-cream.php cream tretinoin; http://syndicatedelitist.com/cialis-soft-tabs-buy.php cialis soft; http://syndicatedelitist.com/order-acomplia.php acomplia; http://syndicatedelitist.com/buy-propranolol-online.php fright propranolol stage; http://syndicatedelitist.com/buy-levitra.php where to buy levitra; http://syndicatedelitist.com/acyclovir-online.php acyclovir; http://syndicatedelitist.com/baclofen.php baclofen drug effects side; http://syndicatedelitist.com/buy-cialis-online.php cialis comparison levitra viagra; http://syndicatedelitist.com/online-diamox.php diamox 90 pills; http://syndicatedelitist.com/generic-accutane.php accutane; http://syndicatedelitist.com/generic-female-viagra.php being called drug female new viagra; http://syndicatedelitist.com/generic-tetracycline.php tetracycline; http://syndicatedelitist.com/buy-elimite-online.php pravachol nexium nasonex elimite; http://syndicatedelitist.com/buy-amoxil.php Pyopen; http://syndicatedelitist.com/online-celexa.php buy celexa prescription; http://syndicatedelitist.com/buy-benicar.php benicarhct; http://syndicatedelitist.com/purchase-tretinoin-cream.php tretinoin cream; http://syndicatedelitist.com/accutane-online.php buy accutane; http://syndicatedelitist.com/online-prednisolone.php Pri-Cortin 50; http://syndicatedelitist.com/purchase-diflucan.php diflucan; http://syndicatedelitist.com/buy-propecia.php propecia sale; http://syndicatedelitist.com/cheap-glucophage.php glucophage; http://syndicatedelitist.com/cheap-cipro.php cipro; http://syndicatedelitist.com/buy-retin-a-online.php retin-a; http://syndicatedelitist.com/lasix-online.php cheap lasix; http://syndicatedelitist.com/erythromycin.php erythromycin; http://syndicatedelitist.com/generic-diamox.php diamox online; http://syndicatedelitist.com/order-prednisone.php asthma prednisone; http://syndicatedelitist.com/generic-zithromax.php buy zithromax online; http://syndicatedelitist.com/propecia-online.php cheap propecia us; http://syndicatedelitist.com/generic-prozac.php generic prozac; http://syndicatedelitist.com/order-acyclovir.php zovirax acyclovir ointment; http://syndicatedelitist.com/buy-acomplia-online.php acomplia mexico; http://syndicatedelitist.com/cheap-revatio.php revatio; http://syndicatedelitist.com/order-lipitor.php drug lipitor; http://syndicatedelitist.com/generic-cialis-soft-tabs.php generic cialis soft tabs; http://syndicatedelitist.com/purchase-cipro.php cipro uti; http://syndicatedelitist.com/buy-rimonabant-online.php acomplia aventis rimonabant sanofi; http://syndicatedelitist.com/cafergot.php migracet-pb; http://syndicatedelitist.com/generic-nolvadex.php nolvadex online; http://syndicatedelitist.com/buy-clomid-online.php serophene; http://syndicatedelitist.com/purchase-revatio.php can cut revatio tablet we; http://syndicatedelitist.com/diflucan.php fluconazole; http://syndicatedelitist.com/propranolol.php propranolol intensol; http://syndicatedelitist.com/generic-acyclovir.php acyclovir; http://syndicatedelitist.com/viagra-buy.php viagra; http://syndicatedelitist.com/purchase-cialis.php cheap cialis; http://syndicatedelitist.com/cymbalta-buy.php cymbalta; http://syndicatedelitist.com/buy-tetracycline.php tetracycline and paxil; http://syndicatedelitist.com/online-amoxil.php Penglobe; http://syndicatedelitist.com/online-cytotec.php cytotec; http://syndicatedelitist.com/acyclovir-buy.php 20six.co.uk acyclovir link;
+
== 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