sudo passwd root
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
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)
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
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 . -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
http://www.apple.com/jp/downloads/macosx/tools/gnuemacs.html
/Users/hoge
(mac-add-ignore-shortcut '(control))
<?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>
<?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>
<?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
<?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>
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
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.org Aqua for Mac OSX
Eclipse http://ja.netbeans.org/
/Applications/OSXvnc.app/OSXvnc-server &
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
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
http://www.titanium.free.fr/pgs2/english/download.html
QuickTime?
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/
SvnX AppleScript? Subversion Scripts for Mac OS X Finder
CrossOver?
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
http://til.info.apple.co.jp/cgi-bin/WebObjects/TechInfo.woa/wa/showTIL?id=301711
http://www.mac-rescue.net/osx/tips/telnet.html
[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
sudo /System/Library/Filesystems/fusefs.fs/uninstall-macfuse-core.sh
Visual Studio Office IE
http://d.hatena.ne.jp/NeoCat/20071117
/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
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
/etc/paths
http://macpro.blog68.fc2.com/blog-entry-23.html
diskutil resizeVolume / limit
http://yuna.ultimania.org/wiki/linux/MacBook?format=txt
http://kawayan.zeta-blog.com/12.html
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
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
AppFresh?