Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(18.6320581549421)
 
(446 intermediate revisions by 88 users not shown)
Line 1: Line 1:
feet; http://flashfiremedia.com/female-viagra-online.php female viagra uk; http://glamourtogo.com/viagra-online.php viagra; http://pdsangiustino.org/cialis.php cialis verse levitra; http://pdsangiustino.org/cipro.php cipro; http://pdsangiustino.org/buy-levaquin.php buy levaquin; http://contract-transcription.com/buy-vermox.php vermox plus parasites; http://pdsangiustino.org/buy-diflucan.php diflucan dosage; http://glamourtogo.com/diamox.php diamox side effects; http://pdsangiustino.org/cymbalta.php cymbalta antidepressant side effects; http://flashfiremedia.com/cialis.php cheapest cialis; http://pdsangiustino.org/buy-valtrex.php valtrex; http://localfinesse.us/buy-propranolol.php propranolol; http://flashfiremedia.com/levitra-online.php levitra side effects; http://pdsangiustino.org/antabuse.php antabus; http://localfinesse.us/ampicillin-online.php ampicillin; http://glamourtogo.com/diamox-online.php acetazolamide; http://glamourtogo.com/glucophage.php apo-metformin; http://glamourtogo.com/bactrim.php bactrim; http://glamourtogo.com/benicar.php benicar hct side effects; http://pdsangiustino.org/elimite-online.php elimite cheap; http://pdsangiustino.org/buy-allopurinol.php allopurinol side effects; http://pdsangiustino.org/prednisone.php prednisone; http://highspeed-movie.com/buy-doxycycline.php doxycycline brand name; http://contract-transcription.com/cytotec.php cytotec induction; http://flashfiremedia.com/buy-zithromax.php zithromax side affect; http://glendalecrane.com/antabuse-online.php 500 antabuse cheap generic mg online order; http://flashfiremedia.com/lipitor.php lipitor; http://localfinesse.us/erythromycin.php erythromycin erythromicyn; http://contract-transcription.com/viagra.php real take viagra; http://glendalecrane.com/buy-vermox.php vermox; http://glendalecrane.com/baclofen.php baclofen pumps; http://pdsangiustino.org/revatio-online.php revatio; http://pdsangiustino.org/buy-cialis.php cialis timing action; http://flashfiremedia.com/diamox.php dazamide; http://glamourtogo.com/buy-lipitor.php lipitor 10 mg; http://pdsangiustino.org/cytotec-online.php the manual of cytotechnology; http://highspeed-movie.com/erythromycin-online.php erythromycin prokinetic; http://flashfiremedia.com/ampicillin.php ampicillin side effects; http://highspeed-movie.com/buy-baclofen.php baclofen 25 mg; http://localfinesse.us/vpxl.php penis enlargement exersizes;
+
== 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