ãmod_rewriteã使ãããµã¼ãã¼
ãPHP 4.3以ä¸
ãMYSQL 4.1以ä¸
ã¤ã³ã¹ãã¼ã«æé
ã1ï¼Yourlsã®ãµã¤ãã«ã¢ã¯ã»ã¹
ã2ï¼Downloadãã¿ã³ãæ¼ããåºã¦ãããã¼ã¸ã®ææ°ãã¼ã¸ã§ã³ããã¦ã³ãã¼ãããï¼2011/03/12ç¾å¨ãyourls-1.5.zipããææ°çã§ãï¼
ã3ï¼ãã¦ã³ãã¼ããããã¡ã¤ã«ã解åããincludesããã©ã«ãå ã«ãããconfig-sample.phpãããconfig.phpãã«ååãå¤ããã
ã4ï¼ããã¹ãã¨ãã£ã¿ã¼çã§éãã14è¡ç®ï½30è¡åã®éã以ä¸ã®éãã«å¤æ´ããã
ãYOURLS_DB_USERã®é ç®ï¼ãã¼ã¿ãã¼ã¹ã®ã¦ã¼ã¶ã¼å
ãYOURLS_DB_PASSã®é ç®ï¼ãã¼ã¿ãã¼ã¹ã®ãã¹ã¯ã¼ã
ãYOURLS_DB_NAMEã®é ç®ï¼ãã¼ã¿ãã¼ã¹ã®åå
ãYOURLS_DB_HOSTã®é ç®ï¼ãã¼ã¿ãã¼ã¹ã®ãµã¼ãã¼
ãã¬ã³ã¿ã«ãµã¼ãã¼ã®ãããªããããã®å ´åã¯ã管çç»é¢ã«ãã°ã¤ã³å¾ã®ãWEBãã¼ã«ï¼ãã¼ã¿ãã¼ã¹ãã®ä¸ã«è¨å®æ å ±ãè¨è¼ããã¦ãã¾ãã
ã5ï¼ããã¹ãã¨ãã£ã¿ã¼çã§éãã33è¡ç®ï½57è¡åã®éã以ä¸ã®éãã«å¤æ´ããã
ãYOURLS_SITEã®é ç®ï¼ç縮URLãµã¼ãã¹ãè¨ç½®ãããã¡ã¤ã³ï¼æå¾ã®ã/ãã¯ä¸è¦ï¼
ãYOURLS_HOURS_OFFSETã®é ç®ï¼ã¿ã¤ã ã¾ã¼ã³ãæ¥æ¬ã®å ´åã¯ã9ããè¨å®
ãYOURLS_PRIVATEã®é ç®ï¼å©ç¨ç»é¢ã«èªè¨¼ããããå ´åã¯TRUEãä¸è¬å ¬éããªãå ´åã¯TRUEã®è¨å®ãæ¨å¥¨
ã$yourls_user_passwordsã®é ç®ï¼ä¸è¨ãTRUEã«ããå ´åã«’ã¦ã¼ã¶ã¼ID’ => ‘ãã¹ã¯ã¼ã’ãã¨ããå½¢ã§IDã¨ãã¹ã¯ã¼ããè¨å ¥ãã¾ãã
ã6ï¼http://ã¤ã³ã¹ãã¼ã«ãããã¡ã¤ã³/admin/ã«ã¢ã¯ã»ã¹ããInstallããæ¼ãã¦ãã ãããçµäºããã¨ã管çç»é¢ã表示ããã¾ãã