Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(167.416666666667)
 
(645 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
comment1, http://fast-helper.com/user-to-user-ftp.html user to user ftp,  0431, http://fast-helper.com/xbox360-iso-ftp.html xbox360 iso ftp,  828, http://fast-helper.com/linux-ftp-setup.html linux ftp setup,  356653, http://fast-helper.com/ftp-auth-tls-online.html ftp auth tls online,  qvlnjh, http://fast-helper.com/ftp-commands.html ftp commands,  dpn, http://fast-helper.com/anime-ftp-nude.html anime ftp nude,  :O, http://fast-helper.com/how-ro-secure-a-ftp-server.html how ro secure a ftp server,  wtvp, http://fast-helper.com/ftp-mac-x.html ftp mac x,  192, http://fast-helper.com/ftp-uploading-website.html ftp uploading website,  :-[, http://fast-helper.com/ftp-sites-for-delta-force-game-download.html ftp sites for delta force game download,  ivwt, http://fast-helper.com/ftp-acronym-for.html ftp acronym for, 330204, http://fast-helper.com/aix-ftps-client.html aix ftps client,  29250, http://fast-helper.com/total-commander-crack.html total commander crack,  crt, http://fast-helper.com/ftp-vulnerabilities.html ftp vulnerabilities,  mnk, http://fast-helper.com/coreftp-lite.html coreftp lite, >:DD, http://fast-helper.com/using-isolated-ftp-home.html using isolated ftp home,  aynrum, http://fast-helper.com/setup-iis-ftp-server.html setup iis ftp server,  =]], http://fast-helper.com/ftp-time-out-juniper-firewall-problem.html ftp time out juniper firewall problem,  78616, http://fast-helper.com/how-to-use-ftp-web-browser.html how to use ftp web browser,  0261, http://fast-helper.com/free-ftp-windows-xp.html free ftp windows xp,  zkv, http://fast-helper.com/ftp-blackhole.html ftp blackhole,  >:-(((, http://fast-helper.com/ftp-client-ssh-free.html ftp client ssh free,  :)), http://fast-helper.com/ftp-download-sites.html ftp download sites,  tyxkum, http://fast-helper.com/keylogging-where-in-ftp.html keylogging where in ftp,  516747, http://fast-helper.com/setting-up-a-ftp-server-on-non-standard-ports.html setting up a ftp server on non standard ports,  392078, http://fast-helper.com/index60.html fetch ftp,  fzz, http://fast-helper.com/index34.html ftp udp, fmt, http://fast-helper.com/mmo-ftp-server.html mmo ftp server,  pbef, http://fast-helper.com/free-easy-web-based-ftp-script.html free easy web based ftp script,  80607,
+
== 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 14: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