Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(behind; http://syndicatedelitist.com/purchase-clomid.php buy clomid cheap; http://syndicatedelitist.com/buy-erythromycin-online.php erythromycin ointment; http://syndicatedelitist.com/bactrim-online.p)
 
Line 1: Line 1:
behind; http://syndicatedelitist.com/purchase-clomid.php buy clomid cheap; http://syndicatedelitist.com/buy-erythromycin-online.php erythromycin ointment; http://syndicatedelitist.com/bactrim-online.php bactrim; http://syndicatedelitist.com/zoloft.php loss weight zoloft; http://syndicatedelitist.com/nolvadex.php nolvadex; http://syndicatedelitist.com/diamox.php diamox 250mg; http://syndicatedelitist.com/buy-bactrim.php bactrim ds dosage; http://syndicatedelitist.com/purchase-zimulti.php rimoslim; http://syndicatedelitist.com/online-tetracycline.php teeth bleaching tetracycline stains; http://syndicatedelitist.com/generic-viagra.php online viagra pfizer; http://syndicatedelitist.com/purchase-cytotec.php cytotec 100mg; http://syndicatedelitist.com/online-erythromycin.php erythromycin not having any effect on rosacea; http://syndicatedelitist.com/buy-amoxil-online.php Wymox; http://syndicatedelitist.com/generic-diflucan.php pharmacy diflucan online; http://syndicatedelitist.com/online-propranolol.php propranolol; http://syndicatedelitist.com/cheap-rimonabant.php buy rimonabant; http://syndicatedelitist.com/online-celexa.php purchase celexa; http://syndicatedelitist.com/cheap-propecia.php cheap propecia; http://syndicatedelitist.com/order-levaquin.php cipro i.v.; http://syndicatedelitist.com/purchase-tretinoin-cream.php tretinoin cream; http://syndicatedelitist.com/female-viagra-online.php female ingestion of viagra; http://syndicatedelitist.com/purchase-accutane.php accutane expect from; http://syndicatedelitist.com/cheap-retin-a.php retin-a; http://syndicatedelitist.com/buy-valtrex.php valtrex side effects; http://syndicatedelitist.com/purchase-propecia.php loss propecia; http://syndicatedelitist.com/online-zimulti.php zimulti 60 pills; http://syndicatedelitist.com/lasix-online.php lasix; http://syndicatedelitist.com/buy-prozac.php prozac purchase online; http://syndicatedelitist.com/benicar-buy.php benicar 60 pills; http://syndicatedelitist.com/online-benicar.php benicar effects side; http://syndicatedelitist.com/online-lipitor.php lipitor 90 pills; http://syndicatedelitist.com/levitra-online.php effects levitra side; http://syndicatedelitist.com/order-lipitor.php lipitor; http://syndicatedelitist.com/generic-ampicillin.php ampicillin antibiotic; http://syndicatedelitist.com/buy-doxycycline-online.php Alodox; http://syndicatedelitist.com/tretinoin-cream-online.php aberela; http://syndicatedelitist.com/buy-prednisone-online.php ivy poison prednisone; http://syndicatedelitist.com/celexa.php buy celexa; http://syndicatedelitist.com/buy-lasix-online.php book dog; http://syndicatedelitist.com/viagra-buy.php avoid fake viagra; http://syndicatedelitist.com/zithromax-buy.php zithromax ngu; http://syndicatedelitist.com/elimite-online.php delimiters; http://syndicatedelitist.com/buy-doxycycline.php doxycycline; http://syndicatedelitist.com/order-stromectol.php stromectol; http://syndicatedelitist.com/order-cialis.php buying generic cialis; http://syndicatedelitist.com/generic-propranolol.php propranolol anxiety; http://syndicatedelitist.com/tetracycline-online.php hci tetracycline; http://syndicatedelitist.com/purchase-propranolol.php gain propranolol weight; http://syndicatedelitist.com/elimite.php delimiter; http://syndicatedelitist.com/amoxil.php amoxil 500;
+
== 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