Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(182.636363636364)
 
(821 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
free; http://ci500.com/item.php?id=3703 Stress Relief online; http://ci500.com/item.php?id=741 buy cheap Cytotec online; http://ci500.com/item.php?id=700 online Herbal Phentermine; http://ci500.com/item.php?id=734 Capoten; http://ci500.com/item.php?id=3106 Breast Enhancement generic; http://ci500.com/item.php?id=4335 cheap Toradol; http://ci500.com/item.php?id=6265 Brand Amoxil; http://ci500.com/item.php?id=197 Zyloprim; http://ci500.com/item.php?id=4483 buy cheap L-Tryptophan; http://ci500.com/item.php?id=758 buy Glucotrol Xl online; http://ci500.com/item.php?id=3803 Pro-Erex; http://ci500.com/item.php?id=4474 Alpha Lipoic Acid buy; http://ci500.com/item.php?id=3435 Ultimate Male Enhancer; http://ci500.com/item.php?id=3479 Breast Enhancement Gum; http://ci500.com/item.php?id=5187 Metoclopramide; http://ci500.com/item.php?id=2201 Karela; http://ci500.com/item.php?id=3134 order Women's Intimacy Enhancer Cream; http://ci500.com/item.php?id=3627 order BCAA; http://ci500.com/item.php?id=2964 buy Avodart; http://ci500.com/item.php?id=4951 buy Amoxi-Tabs; http://ci500.com/item.php?id=5118 Aciclovir; http://ci500.com/item.php?id=2202 order generic Lasuna; http://ci500.com/item.php?id=258 Effexor Xr; http://ci500.com/item.php?id=5344 Albendazole; http://ci500.com/item.php?id=5030 Amino Mass buy; http://ci500.com/item.php?id=3423 generic Male  Enhancement Oil; http://ci500.com/item.php?id=4484 MSM; http://ci500.com/item.php?id=4473 Acai; http://ci500.com/item.php?id=2088 Ophthacare; http://ci500.com/item.php?id=4811 buy cheap Digestive Support Cats; http://ci500.com/item.php?id=819 buy cheap Sustiva; http://ci500.com/item.php?id=801 Procardia; http://ci500.com/item.php?id=2958 Levothroid; http://ci500.com/item.php?id=2962 buy Coumadin; http://ci500.com/item.php?id=5424 Ampicillin; http://ci500.com/item.php?id=3723 order generic Tramaden; http://ci500.com/item.php?id=820 Tagamet; http://ci500.com/item.php?id=4617 Awake Patch; http://ci500.com/item.php?id=2858 buy Toprol XL; http://ci500.com/item.php?id=2096 order cheap Menosan; http://ci500.com/item.php?id=4612 Ginkgo Biloba Patch; http://ci500.com/item.php?id=3563 Eulexin; http://ci500.com/item.php?id=5119 buy Allopurinol;
+
== 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