æ¦è¦ macç¨ã®ããã±ã¼ã¸ããã¼ã¸ã£ã¼ã§ããHomebrewã®ã³ãã³ãä¸è¦§ã§ãã èªåç¨ãªã®ã§è¦ã«ããããããã¾ããã ã¤ã³ã¹ãã¼ã« javaã¨Command Line Toolsãå¿ è¦ã terminal㧠ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
ãã2ã3ãæã»ã©ãWordPressã使ã£ãä¼æ¥å ãã¬ãã¸å ±æã·ã¹ãã ãæ§ç¯ãã¦ãã¾ãã ãWordPressã使ã£ã¦ä¼æ¥ã·ã¹ãã ãã¨ããã®ãããããèªãããã¨ãããªã®ã§ãããä»æ¥ã¯éçºç°å¢ã®è©±ã«ãããã¨æãã¾ãã WordPressã§ã®éçºã§å°ããªãªã¼ã¹ä½æ¥ WordPressã§ã·ã¹ãã éçºãããã¨ããã¨ãä½ããã®ãã¡ã¤ã«ç·¨éãéçºçãå¿ è¦ã«ãªãã®ã¯ãä¸è¨ã®è¦ç´ ã§ãã ãã¼ã ãã©ã°ã¤ã³ è¨èªãã¡ã¤ã« ã¢ãããã¼ããã¡ã¤ã«ï¼ç»åãªã©ã®ã¡ãã£ã¢ãã¡ã¤ã«ï¼ ãã¼ã¿ãã¼ã¹ï¼æ稿ãã¼ã¿ãè¨å®ãã¼ã¿ãªã©ï¼ wp-config.phpï¼åºæ¬çãªè¨å®ãã¡ã¤ã«ï¼ çµæ§ãå¤å²ã«æ¸¡ããã§ããã ãããããå¥ã®ãã£ã¬ã¯ããªã«æ´çããã¦ããã®ã§ãããä¾ãã°ãã©ã°ã¤ã³ãã£ã¬ã¯ããªã§ã¯ãWordPressã«æåããå ¥ã£ã¦ãããã©ã°ã¤ã³ãå ¬éããã¦ãããã©ã°ã¤ã³ãç¬èªéçºãããã©ã°ã¤ã³ã¨ãæ§ã ãªç±æ¥ãæã¤ãã¡ã¤ã«ï¼
ã¯ããã« ããã«ã¡ã¯ããã£ã¬ã¯ã¿ã¼ã®ã¨ãªã«ã§ãã ä»åã¯ãMacãå©ç¨ãã¦ããWebãã£ã¬ã¯ã¿ã¼ã®ã¿ãªããããä½æ¥ç°å¢ãããå¹ççã«æ´ããããããã«ãªããHomebrewãããç´¹ä»ãããã¨æãã¾ãã ç®æ¬¡ ããã±ã¼ã¸ããã¼ã¸ã£ã¨ã¯ï¼ ããã±ã¼ã¸ããã¼ã¸ã£å°å ¥ã®ããã Homebrewã¨ã¯ï¼ Homebrewã®ã¤ã³ã¹ãã¼ã« Homebrewã®ä½¿ãæ¹ ã¾ã¨ã ããã±ã¼ã¸ããã¼ã¸ã£ã¨ã¯ï¼ ããã±ã¼ã¸ããã¼ã¸ã£ã¨è¨ããã¦ããã³ã¨æ¥ãªãæ¹ã¯ãApp Storeãã¤ã¡ã¼ã¸ãã¦ã¿ã¦ãã ããã ã¢ããªã±ã¼ã·ã§ã³ãæ¢ãã¦ã¤ã³ã¹ãã¼ã«ããããæ´æ°ããããã¢ãããã¼ããã¦ãããããã¤ã¾ãããããããªã¢ããªã±ã¼ã·ã§ã³ãã¾ã¨ãã¦ç®¡çããããã®ã¢ããªã±ã¼ã·ã§ã³ã§ããã ããã±ã¼ã¸ããã¼ã¸ã£å°å ¥ã®ããã å½ããã°ã§ããWebãµã¤ãã®éçºãæ¤è¨¼ã§æç¨ãªãã¼ã«ãããããã¨ç´¹ä»ãã¦ãã¾ãã ãã®ä¸ã§ä¼ããããã¨ã¯ããã¼ã«ã®ã¤
MacPorts ã¨æ¯ã¹ã¦ Homebrew ã¯ä¾åé¢ä¿ã§ã¤ã³ã¹ãã¼ã«ãããã½ãããå°ãªãããããããã±ã¼ã¸ç®¡çã·ã¹ãã ã¨ãã¦ã®äººæ°ãé«ã¾ã£ã¦ãã¦ãã¾ãã MacPorts ã¯ãMac ã«æåããå ¥ã£ã¦ããã½ããã¦ã§ã¢ãç¡è¦ãã¦ããã±ã¼ã¸ãä¾åããã½ãããæ°è¦ã§ã¤ã³ã¹ãã¼ã«ããã¨ããæ§è³ªãæã£ã¦ãã¾ãããHomebrew ã¯æ¥µå Mac ã«å ¥ã£ã¦ãããã®ã使ãããã«ä½ããã¦ãã¾ããããã«ãããã±ã¼ã¸å°å ¥æã®ã·ã¹ãã ã¸ã®è² æ ããã¤ã³ã¹ãã¼ã«ã«ãããæéãæ¯è¼çå°ãªãã¦æ¸ãããã§ãã ã¾ããHomebrew ã¯ã¹ã¼ãã¼ã¦ã¼ã¶ã§ã³ãã³ããå®è¡ããå¿ è¦ãç¡ããä¸è¬ã¦ã¼ã¶ã¼æ¨©éã§ä½¿ããã¨ãåºæ¥ã¾ãã â»ã2015/07/07 追è¨ãæè¿ã§ã¯ Homebrew ã大ããå°é ãã¦ãã¦ãMacPorts ã®ååãè¦ããã¨ã¯æ¸ã£ã¦ãã¾ãã Homebrew ã«ã¤ã㦠Homebrew ã¯ãã¦ã¼ã¶ãèªãããã±
ãMacOSX 10.9ããã¨âMavericksâãAppStoreã§é å¸ãããã®ã§ãç¿ææ´æ°ããã®ãã ããã¨ãã¾ãããHomebrewããå©ç¨ããçãã¦è²ã ã«ã¹ã¿ãã¤ãºããè¨å®ï¼vhostã¨ãï¼ããåæå¤ãã«æ»ã£ã¦ããã ã£ã¦ãã¨ã§ãè²ã ãè¨å®ãåãæ»ããã ç®æ¬¡ï¼ ãApacheããã¼ãã£ã«ãã¹ã ãXcodeãã«ã¹ã¿ãã¤ãº ãHomebrewãåã½ã¼ã¹ãææ°çã« ãpostfixããç¢ºèª ãHomebrewãã§ãã¼ã«ã«ç°å¢ã«æ§ç¯ãããWordPressãéçºç°å¢ï¼éè¤æé¤ã®çºããµããã¡ã¤ã³æ¹å¼ï¼ãææ°çã« ãApacheããã¼ãã£ã«ãã¹ã è¨å®ãã¡ã¤ã«ãhttpd.confãâ¦ã³ã¡ã³ãã¢ã¦ãã«ãªã£ã¦ãç®æï¼httpd-vhosts.confãincludeãã¦ãè¡ï¼ããã¢ã³ã³ã¡ã³ãï¼åï¼ï¼ã è¨å®ãã¡ã¤ã«ãhttpd-vhosts.confããhostsãâ¦ã«ã¹ã¿ãã¤ãºæ¸ã¿ã®ãæ®
ã³ã¡ã³ã ãã®è¨äºã¯ä»å¾æ´æ°ãã¾ãã å稿ããæéãçµéããéçºç°å¢ã®æ§ç¯æ¹æ³ãå°ãå¤ãã£ã¦ãã¾ãããåæ§ã®è¨äºã«ã¤ãã¦ã¯ãã¾ãæ©ä¼ãããã°æ¸ãã¦ã¿ããã¨æãã¾ããããã®è¨äºã«ã¤ãã¦ã¯æ´æ°ãè¡ãã¾ããã®ã§ãä»ã®æ å ±ããåç §ãã ããã æ¹çå±¥æ´ å稿ï¼2014/05/25ï¼ ãããªã«å¤ãã®æ¹ã«è¦ã¦ããã ãã¨ã¯æããããªãã£ãã®ã§ã2015å¹´5ææ«ç¾å¨ã®å 容ã§æ¸ãç´ãã¾ãããï¼2015/06/04ï¼ El Capitanã«ã¤ãã¦è£è¶³ãå 容ãå°ã è¦ç´ãã¾ãããï¼2015/12/31ï¼ å½è¨äºæ´æ°çµäºã®æ¨ã追è¨ãã¾ãããï¼2017/01/27ï¼ El Capitanï¼OSX 10.11ï¼ãå©ç¨ã®çãã¾ El CapitanããRootlessã¨ããã·ã¹ãã ä¿è·æ©è½ãå°å ¥ããããããâ/usr/local/âãã£ã¬ã¯ããªããªãç¶æ ããã®Homebrewã®å°å ¥ãå°ãé£ãããªã£ã¦ããã¾ãã詳細ã¯ä¸è¨ãã¼
Mac OS X Mountain Lionã§PHPã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ã§ããç°å¢ãæ´ããæé æ¸ã§ãã 使ç¨ãããã¼ã¸ã§ã³ã¯ãããã以ä¸ã®éãã§ããããããã®ç°å¢ã§ãã¼ã¸ã§ã³ã¯èªã¿æ¿ãã¦ãã ããã Apache 2.2.22 MySQL 5.5.29 PHP 5.4.11 PHPMyAdmin 3.5.5 1.åºæ¬æ¹é ããã©ã«ãã§ã¤ã³ã¹ãã¼ã«ããã¦ããããã±ã¼ã¸ã¯å©ç¨ããªãã å¯è½ãªéãHomebrewãå©ç¨ãã¦ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã 2.Homebrew 2.1.æºå ã¾ããHomebrewãã¤ã³ã¹ãã¼ã«ãããããJavaã¨Xcode(ã³ãã³ãã©ã¤ã³ãã¼ã«)ãã¤ã³ã¹ãã¼ã«ãã¾ãã 2.1.1.Java Javaã®ãã¼ã¸ã§ã³ã確èªãããã¨ããã¨ã¤ã³ã¹ãã¼ã«ãä¿ãããã®ã§ããã®ã¾ã¾ã¤ã³ã¹ãã¼ã«ãã¾ã(JDK 1.6)ã 2.1.2.Xcode(ã³ãã³ãã©ã¤ã³ãã¼ã«) AppSto
brewãå©ç¨ãã¦ç°¡åã«mysqlãã¤ã³ã¹ãã¼ã«ãããã¨ãã§ããã ãã ãããããè¨å®ã¯ãã¦ãããªãã¨å¾ãç ©ããããªãã®ã§æé ãããã mysqlã¤ã³ã¹ãã¼ã«ã¨èµ·åãã¹ã ã¾ããmysqlãã¤ã³ã¹ãã¼ã« Set up databases to run AS YOUR USER ACCOUNT with: unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp To set up base tables in another folder, or use a different user to run mysqld, view the help for mysql_in
ãã®è¨äºã¯ Homebrew 㧠MySQL5.6 ãã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ã§ãã ãã¤ã®éã«ã Homebrew ã® MySQL ã®ãã¼ã¸ã§ã³ã 5.6 ã«ä¸ãã£ã¦ããã®ã§ 5.5 ããã¢ãããã¼ããã¦ã¿ã¾ãããmy.cnf ãå ¨é¢çã«è¦ç´ããã®ã§ãããã¾ãã 2015å¹´12æ16æ¥è¿½è¨ MySQL5.7 çãæ¸ãã¾ããã åä½ç¢ºèªç°å¢ MacBook Air 2012 midOS X Mountain Lion ç®æ¬¡ MySQL ãã¤ã³ã¹ãã¼ã« ãã¼ã¿ãã¼ã¹ã®ã¤ã³ã¹ãã¼ã«å ã¨ãã¼ã¿ã®ä¿åå ãå®è¡ã¦ã¼ã¶ã¼ãè¨å®ãã MySQL ãèµ·åãã root ã®ãã¹ã¯ã¼ããå¤æ´ãã MySQL ã®ã»ãã¥ãªãã£è¨å® my.cnf ãè¨ç½®ãã my.cnf ãµã³ãã« ãã¹ã¯ã¼ããå¤æ´ãããã¨ãã¦ã¨ã©ã¼ãåºã MySQL ãã¤ã³ã¹ãã¼ã« Homebrew ãææ°çã«æ´æ° brew update ãã¦
Mac OS X Mountain Lion ã« Homebrew ãã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ã§ããHomebrew ã®ã¤ã³ã¹ãã¼ã«ãã¢ã³ã¤ã³ã¹ãã¼ã«ãããã±ã¼ã¸ã®æ´æ°ãHomebrew 㨠MacPorts ã©ã¡ãã使ããã®èå¯ãç´¹ä»ãã¾ãã åä½ç¢ºèªç°å¢ OS X Mountain Lion 10.8.2 ç®æ¬¡ Command Line Tools for Xcode ãã¤ã³ã¹ãã¼ã« Java ãã¤ã³ã¹ãã¼ã« Homebrew ãã¤ã³ã¹ãã¼ã« /usr/local/bin ã« PATH ãéã åä½ç¢ºèª git ãã¤ã³ã¹ãã¼ã« Homebrew ãææ°çã«æ´æ° Homebrew ã®ä½¿ãæ¹ã¯ï¼ Homebrew ã§ã¤ã³ã¹ãã¼ã«ããããã±ã¼ã¸ãæ´æ°ãã Homebrew ãã¢ã³ã¤ã³ã¹ãã¼ã« Homebrew 㨠MacPorts ã©ã¡ãã使ãã Command Line Tools fo
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}