Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(182.636363636364)
 
(684 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
comment6, http://fast-helper.com/filezilla-ftp-server-passive-mode-settings.html filezilla ftp server passive mode settings,  fkgujk, http://fast-helper.com/ftp-passive.html ftp passive,  3375, http://fast-helper.com/anime-ftp-nude.html anime ftp nude,  twdx, http://fast-helper.com/ftp-login-trojan-information-amazon-symantec.html ftp login trojan information amazon symantec,  97686, http://fast-helper.com/can-i-ftp-between-a-mac-and-a-pc.html can i ftp between a mac and a pc,  >:), http://fast-helper.com/move-with-ftp.html move with ftp,  asvd, http://fast-helper.com/ftp-voyager-secure.html ftp voyager secure,  329, http://fast-helper.com/what-is-ftp-cat5e.html what is ftp cat5e,  jrxzr, http://fast-helper.com/dreamweaver-ftp.html dreamweaver ftp,  ftigr, http://fast-helper.com/how-to-use-cute-ftp-pro-for-free.html how to use cute ftp pro for free, =-O, http://fast-helper.com/ftp-error-50.html ftp error 50,  kgepnd, http://fast-helper.com/python-urlib2-ftp.html python urlib2 ftp,  %-(, http://fast-helper.com/free-ftp-software-vista.html free ftp software vista,  %-O, http://fast-helper.com/bengali-songs-ftp.html bengali songs ftp,  ylf, http://fast-helper.com/ftp-program-windows-xp.html ftp program windows xp,  9710, http://fast-helper.com/servidores-gratis-ftp.html servidores gratis ftp,  euucw, http://fast-helper.com/solaris-ftp.html solaris ftp, :-]]], http://fast-helper.com/free-ftps-server-iis.html free ftps server iis,  utl, http://fast-helper.com/server-ftp-mac.html server ftp mac,  49865, http://fast-helper.com/dreamweaver-ftp-port-command.html dreamweaver ftp port command,  25590, http://fast-helper.com/ftp-site-cannot-be-seen-outside-company.html ftp site cannot be seen outside company,  hlji, http://fast-helper.com/ftp-active-directory-intergration.html ftp active directory intergration,  584821, http://fast-helper.com/remote-web-ftp.html remote web ftp,  yagv, http://fast-helper.com/ftp-server-for-win2k.html ftp server for win2k,  :-((, http://fast-helper.com/ws-ftp-95le.html ws ftp 95le,  khajd, http://fast-helper.com/ftp-run-remote-command.html ftp run remote command,  8-), http://fast-helper.com/mmo-ftp-server.html mmo ftp server,  yzm, http://fast-helper.com/what-is-canada-ftp.html what is canada ftp,  leeq,
+
== 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:
 +
 
 +
NBEnsure 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