MAC TIPS


sudo passwd root

X11

OptionalInstalls?

XcodeTolls?

http://www.manytricks.com/witch/ Witch



http://journal.mycom.co.jp/column/osx/103/index.html http://mac.pqrs.org/~tekezo/macosx/keyremap4macbook/index.html.ja http://www.lsmason.com/articles/macosxkeybindings.html
http://www.object.com/TechNotes/DefaultKeyBinding.html
http://doublecommand.sourceforge.net/

/System/Library/LaunchDaemons
/Library/LaunchDaemons
/System/Library/StartupItems
/Library/StartupItems

StartupItems? StartupItems?


hoge/StartupParameters.plist

StartupItems?

sudo /sbin/SystemStarter start "hoge"
launchctl list

http://silver.lacmhacarh.gr.jp/unix/osx-launchd.html

StartupItems? Lingon

launchd.plist(apple document)



cron

LaunchDaemons?

com.apple.periodic-daily.plist
com.apple.periodic-monthly.plist
com.apple.periodic-weekly.plist
/etc/periodic/daily
/etc/periodic/weekly
/etc/periodic/monthly
crontab -e

NetInfo?

niutil -create / /groups/mysql
niutil -createprop / /groups/mysql gid 502
niutil -create / /users/mysql

niutil -createprop / /users/mysql shell /usr/bin/false

niutil -createprop / /users/mysql uid 502

niutil -createprop / /users/mysql gid 502
niutil -createprop / /users/mysql home /Users/mysql
niutil -createprop / /users/mysql _shadow_passwd
niutil -read . /users/mysql

dscl

dscl . -list /Users 
dscl . -list /Users name
dscl . -list /Users uid
dscl . -read /Users/root
dscl -plist . -read /Users/root
dscl . -delete /Users/hogeuser
dscl . -list /Groups PrimaryGroupID | awk '{print $2}' | sort -n
dscl . -list /Users UniqueID | awk '{print $2}' | sort -n
dscl . -create /Groups/mysql
dscl . -create /Groups/mysql name mysql
dscl . -create /Groups/mysql passwd "*"
dscl . -create /Groups/mysql gid 1000

dscl . -create /Users/mysql
dscl . -create /Users/mysql name mysql
dscl . -create /Users/mysql shell /usr/bin/false
dscl . -create /Users/mysql passwd "*"
dscl . -create /Users/mysql uid 1000
dscl . -create /Users/mysql gid 1000
dscl . -create /Users/mysql home /usr/local/mysql5/
dscl . -create /Users/mysql realname "MySQL"

Creating Users and Groups on Leopard using dscl command
Mac OSX

XCode

emacs

http://www.apple.com/jp/downloads/macosx/tools/gnuemacs.html

/Users/hoge

emacs

(mac-add-ignore-shortcut '(control))



MacEmacs JP Project


SIMBL

wget

Linux TIPS

Apache

Apache LaunchDaemons?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"  "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Label</key>
       <string>apache2</string>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/apache2/bin/apachectl</string>
               <string>start</string>
       </array>
</dict>
</plist>
launchctl load -w /Library/LaunchDaemons/apache2.plist
Jan 22 00:46:08 hoge-no-macbook apache2[269]: (48)Address already in use: make_sock: could not bind to address [::]:80
Jan 22 00:46:08 hoge-no-macbook apache2[269]: (48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
Jan 22 00:46:08 hoge-no-macbook apache2[269]: no listening sockets available, shutting down
Jan 22 00:46:08 hoge-no-macbook apache2[269]: Unable to open logs
Jan 22 00:46:08 hoge-no-macbook com.apple.launchd[1] (apache2[269]): Exited with exit code: 1
Jan 22 00:46:08 hoge-no-macbook com.apple.launchd[1] (apache2): Throttling respawn: Will start in 10 seconds
<key>LaunchOnlyOnce</key>
<true/>
<key>Program</key>

ProgramArguments? ProgramArguments?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>apache2</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/apache2/bin/httpd</string>
               <string>-d</string>
               <string>/usr/local/apache2</string>
               <string>-f</string>
               <string>/usr/local/apache2/conf/httpd.conf</string>
       </array>
       <key>Sockets</key>
       <dict>
               <key>Listeners/tcp</key>
               <dict>
                       <key>SockFamily</key>
                       <string>IPv4</string>
                       <key>SockServiceName</key>
                       <string>http</string>
               </dict>
       </dict>
       <key>WorkingDirectory</key>
       <string>/usr/local/apache2</string>
       <key>inetdCompatibility</key>
       <dict>
               <key>Wait</key>
               <false/>
       </dict>
</dict>
</plist>

http://www.itmedia.co.jp/enterprise/articles/0704/26/news009_3.html

(48)Address already in use: make_sock: could not bind to address [::]:80
(48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>apache</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/apache2/bin/httpd</string>
               <string>-D</string>
               <string>FOREGROUND</string>
               <string>-d</string>
               <string>/usr/local/apache2</string>
               <string>-f</string>
               <string>/usr/local/apache2/conf/httpd.conf</string>
       </array>
       <key>WorkingDirectory</key>
       <string>/usr/local/apache2</string>
</dict>
</plist>

Subversion

Subversion

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>svn</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/bin/svnserve</string>
               <string>-i</string>
               <string>-r</string>
               <string>/usr/local/svn-rep</string>
       </array>
   <key>inetdCompatibility</key>
   <dict>
       <key>Wait</key>
       <false/>
   </dict>
   <key>Sockets</key>
   <dict>
       <key>Listeners</key>
       <dict>
           <key>SockServiceName</key>
           <string>svn</string>
       </dict>
   </dict>
       <key>StandardErrorPath</key>
       <string>/usr/local/svn-rep/logfile.err</string>
       <key>StandardOutPath</key>
       <string>/usr/local/svn-rep/logfile.log</string>
       <key>UserName</key>
       <string>svn</string>
       <key>GroupName</key>
       <string>svn</string>
</dict>
</plist>

MySQL

MySQL LaunchDaemons?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>mysql</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/mysql5/bin/mysqld_safe</string>
               <string>--datadir</string>
               <string>/usr/local/mysql5/var</string>
       </array>
       <key>UserName</key>
       <string>mysql</string>
       <key>GroupName</key>
       <string>mysql</string>
       <key>WorkingDirectory</key>
       <string>/usr/local/mysql5</string>
</dict>
</plist>
launchctl load -w /Library/LaunchDaemons/mysql.plist
ps aux |grep mysql

PostgreSQL

PostgreSQL

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>postgres</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/pgsql/bin/postgres</string>
               <string>-D</string>
               <string>/usr/local/pgsql/data</string>
       </array>
       <key>StandardErrorPath</key>
       <string>/usr/local/pgsql/log/logfile.err</string>
       <key>StandardOutPath</key>
       <string>/usr/local/pgsql/log/logfile.log</string>
       <key>UserName</key>
       <string>postgres</string>
       <key>GroupName</key>
       <string>postgres</string>
       <key>WorkingDirectory</key>
       <string>/usr/local/pgsql</string>
</dict>
</plist>

PHP

PHP

phpMyAdmin

phpMyAdmin

XOOPS

XOOPS

mod_python

Tomcat

Tomcat

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
export PATH=$PATH:$JAVA_HOME/bin
export CATALINA_HOME=/usr/local/tomcat4.1
export CATALINA_OPTS="-server -Xmx128m -Xms128m"
export PATH=$PATH:$CATALINA_HOME/bin
Stray process with PGID equal to this dead job: PID 4009 PPID 1 java

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>Label</key>
       <string>tomcat</string>
       <key>LaunchOnlyOnce</key>
       <false/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/tomcat/bin/startup.sh</string>
       </array>
       <key>WorkingDirectory</key>
       <string>/usr/local/tomcat</string>
</dict>
</plist>

StartupItems? http://oreilly.com/catalog/9780596101060

OpenLDAP

Subversion

daemon: bind(6) failed errno=13 (Permission denied)

daemon: bind(6) failed errno=48 (Address already in use)

LaunchOnlyOnce?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Debug</key>
       <false/>
       <key>GroupName</key>
       <string>ldap</string>
       <key>Label</key>
       <string>ldap</string>
       <key>LaunchOnlyOnce</key>
       <true/>
       <key>OnDemand</key>
       <false/>
       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/libexec/slapd</string>
               <string>-f</string>
               <string>/usr/local/etc/openldap/slapd.conf</string>
       </array>
  </dict>
</plist>

OpenOffice

OpenOffice OpenOffice.org Aqua for Mac OSX

NeoOffice?

OpenOffice



NeoOffice

NetBeans

Eclipse http://ja.netbeans.org/

VNC

Vine Server for OS X

/Applications/OSXvnc.app/OSXvnc-server &

Chicken of the VNC

TeamViewer

TeamViewer

VMWare

http://www.vmware.com/jp/products/fusion/
MacBookPro?

windws      mac






"/Library/Application Support/VMware Fusion/boot.sh" --restart

The Path "/usr/src/linux/include" is not an existing directory
uname -a
kernel-devel-2.6.26.5-45.fc9(i686)
/usr/src/kernels/2.6.26.5-45.fc9.i686/include

MacShortcutKeysEnabled? MacShortcutKeys?

Command + Z
Command + C
Command + V
Command + P
Command + A

Sun xVM VirtualBox?

VirtualBox? https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=innotek-1.6-G-F@CDS-CDS_SMI

OnyX

http://www.titanium.free.fr/pgs2/english/download.html

FinderPop?

Osamu Satoh's Web Page

Quicksilver

BLACKTREE Quicksilver

Perian

QuickTime?

ClamXav?



iAntiVirus

Qt

http://qt.linux-life.net/4/doc/ja/index.html
http://polepolek.blogspot.com/2008/03/qt-1.html ftp://ftp.trolltech.com//qt/source/

StuffIt Expander

svnX

SvnX AppleScript? Subversion Scripts for Mac OS X Finder

PGnJ

MacPorts

Porticus

wireshark

coconutWiFi

Wake550

Cyberduck

Microsoft Messenger for Mac

Skype

XQuartz

Disk Inventory X

MikuInstaller

CrossOver?

CrossOver Chromium

Archive.qlgenerator

MONO?


muCommander

tunnelblick

Carbon Copy Cloner


PE128GS25SSDR

TIPS

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

http://til.info.apple.co.jp/cgi-bin/WebObjects/TechInfo.woa/wa/showTIL?id=301711

OSX telnet

http://www.mac-rescue.net/osx/tips/telnet.html

/private/etc

XDMCP?

[xdmcp]
Enable=true

XDM: too many retransmissions, declaring session dead
x -query 192.168.100.1

http://laugh.sub.jp/archives/200707/08-1026.php

NTFS

MacFUSE
NTFS-3G

sudo /System/Library/Filesystems/fusefs.fs/uninstall-macfuse-core.sh

Paragon NTFS for Mac OS X 6


    Visual Studio
    Office
    IE

NeoOffice? CrossOver?

http://d.hatena.ne.jp/NeoCat/20071117

ssh

/System/Library/LaunchDaemons/ssh.plist
launchctl load /System/Library/LaunchDaemons/ssh.plist
launchctl start com.openssh.sshd
ssh hogeuser@192.168.1.1
ssh -i keyfile hogeuser@192.168.1.1

http://www.obenri.com/_minset_wbel3/ssh_client_wbel3.html
http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=26561&forum=10&7

Onyx

JAVA 6

cd /System/Library/Frameworks/JavaVM.framework/Versions/
mv Current Current.1.5
mv CurrentJDK CurrentJDK.1.5
ln -s 1.6 Current
ln -s 1.6 CurrentJDK

JavaPreference?


http://d.hatena.ne.jp/E-WA/20050219/1108824705

command + shift + 3
command + shift + 4

http://docs.info.apple.com/article.html?artnum=306876-ja

SpotLight?

/etc/paths

http://macpro.blog68.fc2.com/blog-entry-23.html

MacZip4Win

BootCamp?

diskutil resizeVolume / limit

BootCamp?

http://yuna.ultimania.org/wiki/linux/MacBook?format=txt
http://kawayan.zeta-blog.com/12.html

BootCamp?

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

MacPorts?

MacBookPro?

b0 error

boot:cpus=1
/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
<key>Kernel Flags</key>
<string>cpus=1</string>
NVIDIA Quadro FX 350M
Broadcom NetXtreme 57xx Gigabit
SigmaTel High Definition Audio

http://applembp.blogspot.com/2007/12/intel-pcleopard.html
http://yebo-blog.blogspot.com/2007/12/windows-pc-mac-os-x-105-leopard.html








HowTo: Install EFI patch and Use Unmodified OS X Kernel in Hackintosh

TODO




Java - Downloads

AppFresh?


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS