Index
위키를 ì—…ê·¸ë ˆì´ë“œ 하기 ì „ì— ê¼ ë°±ì—…í•˜ì„¸ìš”! 특별한 경우가 아니ë¼ë©´ ê¸°ì¡´ì˜ ë°ì´íƒ€ë¥¼ 잃게 ë˜ê±°ë‚˜ 하지는 않으나, 아주 사소한 실수로 ì˜ˆì „ì˜ ë°ì´íƒ€ë¥¼ ìžƒì„ ê°€ëŠ¥ì„±ë„ ìžˆìŠµë‹ˆë‹¤.
ì´ ë¬¸ì„œëŠ” 모니위키를 ì—…ê·¸ë ˆì´ë“œ 하거나 다른 웹 호스팅 사ì´íŠ¸ë¡œ ì´ì „í•˜ê³ ìž í• ë•Œ 필요한 ê²ƒì— ëŒ€í•´ ì„¤ëª…í•˜ê³ ìžˆìŠµë‹ˆë‹¤.
MoniWiki는 기본ì 으로 backupê³¼ restore ì•¡ì…˜ì„ ì§€ì›í•˜ë¯€ë¡œ 다른 사ì´íŠ¸ë¡œ ì´ì „하는 ê²ƒì„ ì‰½ê²Œ í• ìˆ˜ 있으며, rcs를 설치하지 ì•Šì€ ìœ„í‚¤ì— ëŒ€í•´ì„œë„ ì •ê¸°ì ì€ backup만으로 ìžì‹ ì˜ ìœ„í‚¤ ë°ì´íƒ€ë¥¼ 비êµì ì•ˆì „í•˜ê²Œ ë³´ì¡´í• ë°©ë²•ì„ ì œê³µí•©ë‹ˆë‹¤.
1 ìˆ˜ë™ ì—…ë°ì´íЏ #
모니위키 1.0.8 ë²„ì „ ì´ì „ì—는 간단한 ì—…ê·¸ë ˆì´ë“œë¥¼ 위한 ìžë™í™” 스í¬ë¦½íŠ¸ë¥¼ ì œê³µí•˜ì§€ 않으며, 1.0.9ë²„ì „ ì´í›„ì—는 간단한 ì—…ê·¸ë ˆì´ë“œ 스í¬ë¦½íŠ¸ë¥¼ ì œê³µí•©ë‹ˆë‹¤ (upgrade.sh)
upgrade.shê°€ 하는 ì¼ì€, 위키 엔진(*.php)ì„ ì—…ë°ì´íŠ¸í•˜ê³ , ê¸°ì¡´ì˜ ìœ„í‚¤ì—”ì§„ì„ ì‚¬ìš©ìžê°€ 변경하거나 해서 ì‚¬ìš©í•˜ê³ ìžˆë˜ *.php는 없는지 ê²€ì‚¬í•˜ê³ ì‚¬ìš©ìžê°€ 변경한 *.php파ì¼ì´ 있다면 백업해ì¤ë‹ˆë‹¤.
아래는 upgrade.sh를 사용하지 ì•Šê³ ìˆ˜ë™ìœ¼ë¡œ ì§ì ‘ ì—…ê·¸ë ˆì´ë“œ 하는 ë°©ë²•ì„ ì„¤ëª…í•©ë‹ˆë‹¤.
1.1 ì—…ê·¸ë ˆì´ë“œ 하기 #
wiki.php, wikilib.php는 가장 중요한 위키엔진입니다. ì´ê²ƒê³¼ 함께 wikismiley.php lib/*.php plugin/*.php ë“±ë“±ì˜ íŒŒì¼ì„ 새것으로 êµì²´í•©ë‹ˆë‹¤.
다ìŒì€ css/*.css imgs/* theme/* ë“±ë“±ì˜ íŒŒì¼ì„ ì—…ë°ì´íŠ¸í•©ë‹ˆë‹¤. ê¸°ì¡´ì— ì‚¬ìš©ìžê°€ 변경한 파ì¼ì´ 있다면 반드시 백업하시기 ë°”ëžë‹ˆë‹¤.
위 ë‘가지 단계를 거치면 기본ì ì¸ ì—…ê·¸ë ˆì´ë“œê°€ 완료ë©ë‹ˆë‹¤. 모니위키가 설치ë˜ì–´ 있는 ë””ë ‰í† ë¦¬ì— ìœ„ì¹˜í•œ config.php는 새 ë²„ì „ì˜ config.php.default를 ì°¸ê³ í•´ì„œ ë°”ë€ ì ì´ ì—†ëŠ”ì§€ í˜¹ì€ ìƒˆë¡œìš´ ê¸°ëŠ¥ì´ ì²¨ê°€ëœ ê²ƒì€ ì—†ëŠ”ì§€ ì 검합니다.
1.2 Configuration update #
After upgrading, your existing wiki should continue to work (the goal is to have sane defaults for any new config values, but then there can be bugs). Check that this is indeed the case, and then take the time to check the CHANGES file in your distribution. Often, new features will be invisible unless your extend your configuration in "config.php" or "config.php.default".
This is especially true for:
- somewhat dangerous macros that won't be activated by default, because they're not advisable for public wikis. You need to explicitely activate those by adding an allowed_actions list to the config. Currently, protected actions DeletePage are always needs 'admin password'.
- email notification features: you need to provide $notify=1;.
1.3 Updating files #
- Images
- On every update, you should copy the content of the "imgs" directory
to the image directory visible to your web server, normally a new release has some new GIFs/PNGs in it.
- System pages or WikiSeeds
- When upgrading to a new version, copy at least the help pages ("Help*") to
your existing directory. Then check whether you miss any new system pages.
- InterWiki
- Check that you have the newest entries in the "data/intermap.txt" file; if you have "private" entries, add them to the distribution file, then copy the result over your current file. You can point "shared_intermap" at a file loaded before the file in your data directory, which takes precedence (i.e. have global entries in the shared one, private entries the data dir file).
1.4 Troubleshooting #
To make UserPreferences work, you should "mkdir -m707 user" in your
"data" directory.
Depending on your installation, more tightly secured permissions are a good idea.
Ideally, you assign all files in the data directory to the user the web server
runs under, and then you use 700 or 755.







