'''À§Å°¼³Ä¡ ¹× »ç¿ë¹æ¹ý'''
[[TableOfContents]]
== À§Å°¼³Ä¡ °³·« ==
À§Å°¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý¿¡ ´ëÇÑ ¾È³»ÀÔ´Ï´Ù.
== ¼³Ä¡¹æ¹ý ==
MoniWiki:MoniWiki/DownLoad ¿¡ ´Ù¿î¹ÞÀ½
MoniWiki:HelpOnInstallation (¼³¸í)
== ¼³Á¤ÆÄÀÏ ==
¸ð´ÏÀ§Å° ¼³Ä¡µÈ °÷ÀÇ config.php ÆÄÀÏÀ» Á÷Á¢ ¼öÁ¤Çϰųª À¥ÀÎÅÍÆäÀ̽º¸¦ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù.
* ³»¿ëÀ» ¾Æ´Â °æ¿ì¿¡´Â ¼³Á¤ÆÄÀÏÀ» Á÷Á¢ ¼öÁ¤ÇÏ´Â °ÍÀÌ ÆíÇÏ´Ù.
* À§Å°µð·ºÅ丮ÀÇ Æ۹̼ÇÀ» 2777 ȤÀº 777·Î ¼³Á¤(ÇÏÀ§Æú´õ Æ÷ÇÔ)
* dataÆú´õÀÇ Æ۹̼ǵµ 2777 ȤÀº 777·Î ¼³Á¤
* À¥ÀÎÅÍÆäÀ̽º¿¡¼ º¯°æ http://ÇØ´çµµ¸ÞÀÎ/À§Å°µð·ºÅ丮/monisetup.php
* moniwiki¼³Ä¡µð·ºÅ丮/config.php º¯°æ
* ÆÛ¹Ì¼Ç ¹®Á¦·Î À¥¿¡¼ ¼³Á¤À» ÇÒ °æ¿ì¿¡´Â monisetup.sh ¸¦ ½ÇÇà½ÃÄÑ ¾²±â °¡´ÉÇϵµ·Ï ÇÏ°í À¥¿¡¼ º¯°æÈÄ¿¡´Â º¸¾ÈÀ» À§ÇÏ¿© secure.sh (644 º¯°æ ¹× ¼³Á¤ÆÄÀÏ º¹»ç)¸¦ ½ÇÇàÇØÁØ´Ù.
{{{[taejun@localhost moniwiki]$ sh ./monisetup.sh
+-------------------------------------+
| MoniWiki configuration script |
+-------------------------------------+
Please enter the permission 777 or 2777(default 2777):
*** chmod 777 config.php
*** chmod 2777 . ./data
Did you really want to make directories with permission '2777'(N/y):
Please open monisetup.php again
[taejun@localhost moniwiki]$ sh ./secure.sh
+-------------------------------------+
| MoniWiki configuration script |
+-------------------------------------+
*** chmod 644 config.php
Your MoniWiki is now secure and cannot be configured.
If you wish to reconfigure it, execute the following command:
% sh monisetup.sh
and open 'monisetup.php' on a web browser.
}}}
== config.php ¿¡¼ À¯¿ëÇÑ ¿É¼Ç ==
»ó¼¼ÇÑ ¼³¸íÀº Moni Wiki Options( MoniWiki:MoniWikiOptions ) Âü°í
* {*} Çѱۻç¿ë : utf-8À» »ç¿ëÇÏ·Á ÇÒ °æ¿ì lang À» ko_KR.UTF-8 ·Î ÁöÁ¤ÇØ¾ß ÇÁ·Î±×·¥ÀÇ ¸Þ´ºµîÀÌ Çѱ۷Π³ª¿À¸ç ¹®¼ÀÇ °æ¿ì´Â charset À» utf-8·Î ¼³Á¤ÇؾßÇÑ´Ù. ¹®¼ÀÇ charset ¸¸ utf-8·Î Çϸé ÇÁ·Î±×·¥ÀÇ ¸Þ´ºÀº euc-kr·Î µÇ¾îÀֱ⶧¹®¿¡ ±úÁ®º¸ÀδÙ.
* $frontpage : ´ë¹®À» ÁöÁ¤ÇÑ´Ù. ±âº»°ªÀº FrontPage·Î °¡°ÔµÇ¾îÀÖÀ¸¸ç ÇÊ¿äÇÏ¸é º¯°æÇÑ´Ù.
* $sitename : À§Å°Á¦¸ñº¯°æ. ÀûÀýÇÑ Á¦¸ñÀ¸·Î º¯°æ
* $edit_rows : À§Å°ÆíÁýÁÙ¼ö. ¾à°£ ´Ã¸®´Â°Ô ÆíÇÑ µí ÇÏ´Ù.
* $lang : ¾ð¾î¼³Á¤. ±âº»°ª auto ·Î ºê¶ó¿ìÀú ¼³Á¤À» µû¸¥´Ù. utf8À» »ç¿ëÇÏ´Â °æ¿ì ko_KR.UTF-8 ·Î ¹Ù²Ù¾î¾ß ÇѱÛÀÌ Á¦´ë·Î Ãâ·ÂÀÌ µÈ´Ù. locale µð·ºÅ丮¹Ø¿¡ °¢ ¾ð¾î·Î ¹Ù²Ù´Â ÆÄÀÏÀÌ ÀÖÀ¸¸ç lang ¿¡¼ ¼³Á¤ÇÑ °ÍÀ» locale µð·ºÅ丮¿¡¼ Àоî¿Â´Ù.
* $default_language : ÇöÀç ko. ÀÌ°Ç Çѱ۸޴ºµîÀ» º¸¿©ÁÖ´Â µíÇÏ´Ù.
* $charset : ¹®ÀÚ¼Â. ±âº»°ªÀÎ utf-8 »ç¿ëÇÔ. ÀÌ´Â À¥¿¡¼ meta ¿¡ »Ñ·ÁÁÖ´Â ¾ð¾î¸¦ ÁöÁ¤ÇÑ´Ù.
* $auto_linebreak : ±âº»°ªÀº 0ÀÌ°í, 1·Î ÇÏ¸é ¼±º°ÀûÀ¸·Î °¢ ÁÙ¿¡
ÀÌ ´õÇØÁø´Ù. 1·Î Çϸé ÀÏ¹Ý ÅؽºÆ®¹®¼¸¦ º¹»çÇؼ ³ÖÀ»¶§ ÀÚµ¿À¸·Î ÁٹٲÞÀÌ µÇ¾î Æí¸®ÇÑÁ¡Àº ÀÖ´Ù.
* $pds_allowed
* UploadFile¿¡¼ Çã¿ëµÇ´Â È®ÀåÀÚ¸¦ ÁöÁ¤ÇÑ´Ù.
* ±âº»°ªÀº 'png|jpg|jpeg|gif|mp3|zip|tgz|gz|txt|css|exe|hwp|pdf' À̸ç ÇÊ¿ä¿¡ µû¶ó ppt, doc µîÀ» Ãß°¡ÇÑ´Ù.
* $use_sectionedit : ±âº»°ªÀº 0. 1·Î ¼³Á¤ÇÏ¸é ´Ü¶ô¸¶´Ù edit ¸µÅ©¸¦ ´Ü´Ù. 1·Î Çسõ´Â°ÍÀÌ Æí¸®ÇÏ´Ù.
## * $notify : ±âº»Àº 0ÀÌ¸ç ¹®¼º¯°æ½Ã À̸ÞÀÏ·Î ¾Ë·ÁÁÜ. 1·Î ¼³Á¤.
* $use_smileys : {*} ÀÌ·± ±âÈ£µéÀ» ¾µ ¼ö ÀÖ´Ù.
== À¯¿ëÇÑ ±â´Éµé ==
* plugin µð·ºÅ丮¸¦ º¸¸é ¿©·¯°¡Áö ºÎ°¡±â´ÉµéÀÌ ÀÖ´Ù.
* admin Æнº¿öµå ÀÒ¾î¹ö·ÈÀ» °æ¿ì : ÇÁ·Î±×·¥ ¼³Ä¡ÇÑ µð·ºÅä¿¡¼ ¾Æ·¡ÀÇ ÇÁ·Î±×·¥À» ½ÇÇà½ÃÄÑ ³ª¿Â °ªÀ» config.php ÀÇ $admin_passwd ¿¡ ³Ö¾îÁØ´Ù. ¾Æ·¡¿¡¼´Â ºñ¹Ð¹øÈ£¸¦ newpassword ·Î ÇÑ °ÍÀÌ°í ÀÌ°ÍÀ» ¾ÏÈ£ÈÇÏ¿© ¼³Á¤ÆÄÀÏ¿¡ ³Ö´Â °ÍÀÌ´Ù.
{{{$ tools/mkpasswd.pl newpassword
88v7OSgEkSL82}}}
* ÅÛÇø´¸¸µé±â : ÅÛÇø´Àº »çÀü¿¡ ƯÁ¤ À¯ÇüÀ» ¸¸µé¾î³õ´Â °ÍÀÌ´Ù. {{{'[a-z]Template$'}}} ÇüÅ·ΠÇؼ ÆäÀÌÁö¸¦ ¸¸µé¸é ÀÚµ¿À¸·Î ÅÛÇø´¿¡ µî·ÏÀÌ µÈ´Ù. ºÒÇÊ¿äÇÑ ÅÛÇø´À» Áö¿ì°í ÀÌ·¸°Ô ¸¸µé¾î¼ ÇÊ¿äÇÑ °Í¸¸ »ç¿ëÇÏÀÚ!
* ÀÔ·ÂÆû¼öÁ¤Çϱâ
* http://kldp.net/forum/message.php?msg_id=10459
* ¸ÕÀú EditTextForm ¶ó´Â ÆäÀÌÁö¸¦ ¸¸µç´Ù.
* ¿©±â¿¡ ¾Æ·¡ ³»¿ëÀ» ³Ö´Â´Ù. {{{HelpOnEditing}}} Àº ÆíÁý¿¡ ´ëÇÑ µµ¿ò¸»À̸ç {{{EditToolbar}}} °¡ ±×·¡ÇÈÅø¹Ù¸¦ Ãß°¡ÇÏ´Â °ÍÀÌ´Ù. {{{Uploadfile}}} ´Â ÆÄÀϾ÷·Îµå ±â´ÉÀ» Ãß°¡ÇÑ´Ù. {{{EditHints}}} ´Â °£´ÜÇÑ ¸î°¡Áö ¹®¹ýÀ» º¸¿©ÁÖ´Â °ÍÀÌ´Ù. {{{[[UploadedFiles]]}}} ´Â ¾÷·ÎµåÇÑ ÆÄÀÏÀ» Áö¿ï ¼ö ÀÖÀ¸¸é ȸéÀ» º¸¿©ÁØ´Ù. ÆÄÀÏ°ü¸®¸¦ Æí¸®ÇÏ°Ô ÇÒ ¼ö ÀÖ´Ù.
{{{
HelpOnEditing
[[EditToolbar]]
#editform
[[UploadFile(js)]]
----
[[EditHints]]
----
[[UploadedFiles]]
}}}
* »ç¿ëÀÚ ºñ¹Ð¹øÈ£ º¯°æÇϱâ : http://kldp.net/forum/forum.php?thread_id=7927&forum_id=712
=== ±âŸ ¼³Á¤ °ü·Ã ÆÁ ===
http://kldp.net/forum/forum.php?forum_id=2350
=== ¿À¸¥Âʸ޴º ¼öÁ¤Çϱâ ===
¸ð´ÏÀ§Å° 1.1.2¿¡¼ doc/theme.php.sample ÆÄÀÏÀÇ ¹®Á¦°¡ ÀÖ½À´Ï´Ù. CVS¹öÀü¿¡¼´Â ÀÌ¹Ì °íÃÄÁ³½À´Ï´Ù.
* ÆäÀÌÁöÆíÁý, Á¤º¸º¸±âµîÀ» ¼öÁ¤ÇÒ ¼ö ÀÖ´Ù. ±âº»¼³Á¤µÇ¾îÀÖ´Â °ÍÀ» doc/theme.php.sample ÆÄÀÏÀ» Á¶Á¤ÇÏ¸é µÈ´Ù. config.php ¿¡ ÀÌ ÆÄÀÏÀ» include Çϵµ·Ï ÇسõÀ¸¸é µÈ´Ù. theme.php.sample ÆÄÀÏÀÌ Á» ÀÌ»óÇÏ¿© wiki.php ¿¡¼ °ü·ÃµÈ ºÎºÐÀ» º¸°í ¾Æ·¡´Â Á¶Á¤ÇÏ¿´´Ù.
* icon ¿¡¼ FindPage, subscribe (¸ÞÀϹ߼Û), xml ·Î º¸ÀÌ´Â ºÎºÐÀº »°´Ù.
* attachment:À§Å°¼³Ä¡/theme.php.txt.joon.txt
{{{[joon@intranet doc]$ pwd
/home/joon/html/moniwiki/doc
[joon@intranet doc]$ diff theme.php.joon theme.php.sample
2,3c2
< $iconset='moni2';
< $themeurl=$url_prefix;
---
> $iconset='moni';
5,19c4,17
< $ext='png';
< $icon['upper']="";
< $icon['edit']="";
< $icon['diff']="";
< $icon['del']="";
< $icon['info']="";
< $icon['rss']="";
< $icon['show']="";
< $icon['find']="";
< $icon['help']="";
< $icon['www']="";
< $icon['mailto']="";
< $icon['create']="";
< $icon['new']="";
< $icon['updated']="";
---
> $icon['upper']="";
> $icon['edit']="";
> $icon['diff']="";
> $icon['del']="";
> $icon['info']="";
> $icon['rss']="";
> $icon['show']="";
> $icon['find']="";
> $icon['help']="";
> $icon['www']="";
> $icon['mailto']="";
> $icon['create']="";
> $icon['new']="";
> $icon['updated']="";
21,24c19,22
< $icon['home']="";
< $icon['xml']="";
< $icon['print']="";
< $icon['attach']="";
---
> $icon['home']="";
> $icon['xml']="";
> $icon['print']="";
> $icon['attach']="";
33c31
< // array("FindPage","",$icon['find']),
---
> array("FindPage","",$icon['find']),
35,37c33,35
< // array("","?action=subscribe",$icon['mailto']),
< // array("HelpContents","",$icon['help']),
< // array("","?action=format&mimetype=text/xml",$icon['xml']),
---
> array("","?action=subscribe",$icon['mailto']),
> array("HelpContents","",$icon['help']),
> array("","?action=format&mimetype=text/xml",$icon['xml']),
}}}
== »ç¿ëÀÚ ÀÎÁõ ==
¸ð´ÏÀ§Å°¿¡¼ Á¦°øÇÏ´Â MoniWiki:SecurityPlugin À» ¼³Á¤ÇÑ´Ù.
----
ȸ»ç¿¡¼ º°µµÀÇ ÀÎÁõÀ» »ç¿ëÇÑ´Ù¸é ¾Æ·¡ÀÇ ÇüÅÂó·³ ÇÏ¿© ÀÎÁõÀ» Ãß°¡ÇÏ¸é µÈ´Ù. µð·ºÅ丮´Â °¢ÀÚÀÇ ¼¹ö¼³Á¤¿¡ µû¶ó ´Ù¸¦ °ÍÀÌ´Ù.
{{{
// auth
require_once("$DOCUMENT_ROOT/admin/include/auth.php");
}}}
----
Contributor: ¹®ÅÂÁØ