Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(10.923397529044)
 
(412 intermediate revisions by 83 users not shown)
Line 1: Line 1:
letter; http://pdsangiustino.org/zithromax-online.php how does zithromax work; http://localfinesse.us/female-viagra-online.php book female; http://highspeed-movie.com/propecia.php propecia; http://flashfiremedia.com/buy-retin-a.php retin a side effects; http://highspeed-movie.com/zithromax.php much too zithromax; http://glendalecrane.com/revatio.php information on pric of revatio prescription drug; http://pdsangiustino.org/buy-diflucan.php diflucan; http://localfinesse.us/viagra-online.php viagra; http://pdsangiustino.org/cymbalta.php cymbalta doctor effects side; http://highspeed-movie.com/buy-cymbalta.php cymbalta gain weight; http://glendalecrane.com/buy-cytotec.php how to use cytotec for an abortion; http://glamourtogo.com/buy-vpxl.php penis enlargement; http://localfinesse.us/ampicillin.php ampicillin antibiotic; http://flashfiremedia.com/buy-accutane.php accutane acne; http://glendalecrane.com/buy-prednisone.php prednisone; http://pdsangiustino.org/buy-celexa.php lexapro vs celexa; http://highspeed-movie.com/buy-retin-a.php retin-a; http://pdsangiustino.org/antabuse.php antabuse; http://highspeed-movie.com/prednisolone-online.php effects prednisolone side; http://flashfiremedia.com/cafergot.php ergotamine tablets; http://pdsangiustino.org/buy-cytotec.php como usar cytotec; http://glamourtogo.com/propecia-online.php pill propecia; http://flashfiremedia.com/propranolol.php propranolol hydrochloride; http://contract-transcription.com/acomplia.php buy cheap acomplia online; http://contract-transcription.com/retin-a.php retin a wrinkles; http://pdsangiustino.org/propecia-online.php buy cheap propecia online; http://localfinesse.us/diflucan-online.php buy generic diflucan online; http://flashfiremedia.com/viagra-online.php viagra online; http://flashfiremedia.com/buy-cymbalta.php cymbalta; http://glendalecrane.com/buy-propranolol.php pitman propranolol; http://flashfiremedia.com/cytotec.php cytotechnology job; http://glendalecrane.com/buy-prednisolone.php Predcor; http://flashfiremedia.com/retin-a-online.php retin a vision problem; http://contract-transcription.com/amoxil-online.php amoxil dosing guidelines; http://contract-transcription.com/female-viagra-online.php drug female new viagra; http://pdsangiustino.org/doxycycline-online.php disper doxycycline; http://flashfiremedia.com/tretinoin-cream-online.php order tretinoin cream; http://localfinesse.us/retin-a-online.php tretinoin; http://highspeed-movie.com/diflucan-online.php 20six.co.uk diflucan link; http://glamourtogo.com/zimulti-online.php acomplia;
+
== 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