Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(interest; http://syndicatedelitist.com/online-clomid.php clomid cycle ovulation; http://syndicatedelitist.com/buy-rimonabant.php rimonabant pharmacy usa; http://syndicatedelitist.com/levaquin-buy.php)
 
Line 1: Line 1:
interest; http://syndicatedelitist.com/online-clomid.php clomid cycle ovulation; http://syndicatedelitist.com/buy-rimonabant.php rimonabant pharmacy usa; http://syndicatedelitist.com/levaquin-buy.php levaquin with motrin; http://syndicatedelitist.com/order-female-viagra.php drug female new viagra; http://syndicatedelitist.com/order-diamox.php diamox online; http://syndicatedelitist.com/online-diflucan.php diflucan birth control pills; http://syndicatedelitist.com/buy-bactrim.php cheap bactrim; http://syndicatedelitist.com/online-baclofen.php baclofen pump; http://syndicatedelitist.com/online-tretinoin-cream.php order tretinoin cream; http://syndicatedelitist.com/acyclovir-online.php acyclovir zovirax; http://syndicatedelitist.com/buy-levitra-online.php levitra; http://syndicatedelitist.com/levitra-buy.php effects levitra side; http://syndicatedelitist.com/buy-accutane.php accutane danger; http://syndicatedelitist.com/female-viagra.php drug female new viagra; http://syndicatedelitist.com/order-cytotec.php cytotec induction; http://syndicatedelitist.com/buy-revatio-online.php information on pric of revatio prescription drug; http://syndicatedelitist.com/allopurinol-buy.php online allopurinol sale; http://syndicatedelitist.com/prednisone.php prednisone and alcohol; http://syndicatedelitist.com/cheap-bactrim.php bactrim; http://syndicatedelitist.com/buy-amoxil-online.php amoxil 60 pills; http://syndicatedelitist.com/generic-benicar.php benicar hct.ath.cx site; http://syndicatedelitist.com/buy-glucophage-online.php buy glucophage; http://syndicatedelitist.com/cheap-cafergot.php wigraine; http://syndicatedelitist.com/buy-cafergot.php cafergot; http://syndicatedelitist.com/generic-vermox.php vermox dosage; http://syndicatedelitist.com/purchase-propecia.php does propecia work; http://syndicatedelitist.com/viagra-online.php viagra; http://syndicatedelitist.com/cytotec-buy.php cytotec; http://syndicatedelitist.com/order-lasix.php lasix and urial; http://syndicatedelitist.com/glucophage.php glucophage loss weight; http://syndicatedelitist.com/buy-prozac.php nation prozac; http://syndicatedelitist.com/purchase-baclofen.php baclofen 10mg; http://syndicatedelitist.com/order-clomid.php buy clomid; http://syndicatedelitist.com/online-elimite.php cheap elimite; http://syndicatedelitist.com/cheap-cialis.php cialis on line; http://syndicatedelitist.com/zithromax-online.php buy zithromax online; http://syndicatedelitist.com/buy-stromectol-online.php stromectol online; http://syndicatedelitist.com/zoloft-online.php zoloft price; http://syndicatedelitist.com/acomplia.php diet pill acomplia in belgie; http://syndicatedelitist.com/buy-clomid-online.php chances of getting pregnant on clomid; http://syndicatedelitist.com/purchase-cymbalta.php cymbalta drug effects more side; http://syndicatedelitist.com/purchase-prednisolone.php prednisolone ophthalmic; http://syndicatedelitist.com/propranolol.php propranolol; http://syndicatedelitist.com/buy-nolvadex.php novo-tamoxifen; http://syndicatedelitist.com/order-antabuse.php 500 antabuse cheap generic mg; http://syndicatedelitist.com/buy-revatio.php information on pric of revatio prescription drug; http://syndicatedelitist.com/buy-baclofen-online.php baclofen 30 pills; http://syndicatedelitist.com/buy-cipro.php cipro; http://syndicatedelitist.com/acyclovir-buy.php buy online acyclovir 800; http://syndicatedelitist.com/ampicillin-buy.php ampicillin 90 pills,; http://syndicatedelitist.com/online-valtrex.php valtrex and antibiotics; http://syndicatedelitist.com/cheap-prednisone.php purchase prednisone; http://syndicatedelitist.com/buy-propranolol.php propranolol online;
+
== 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