| 2005-01-18, 10:49 AM | #1 |
|
Veteran Member
![]() ![]() ![]() Registered: Mar 2004
My Mac: Intel MacPro Quad Xeon
Posts: 995
오프라인
|
[팁] MacOSX 에서 MoinMoin 위키 설치법
먼저 파이썬2.3.x를 까셔야 합니다.
맥에서 한글도 잘되고 좋군요 모인모인~ Mac OS X Installation using Apache You must not be afraid to use the terminal. It is possible but much harder to install without using the terminal. There are 2 step in the installation: Install the MoinMoin engine - once Create wiki instance. You can create and serve as many wikis as you like. Download Download the source on the Desktop. You should see a moin-1.3.tar.gz file. Extract this file on the desktop with Stuffit Expander, or from the terminal (faster and safer): cd ~/Desktop tar -xzf moin-1.3.0.tar.gz Installing MoinMoin Use these commands in the terminal to install the MoinMoin wiki engine into the system. First, open a shell as root. You will need this to install MoinMoin and configure the wiki. When asked, enter your password. sudo -s ... password: Now you have root privileges in this shell. Install: cd moin-1.3.0 python setup.py install --install-data='/usr/local' The --install-data='/usr/local' will put the shared data in the convenient '/usr/local/share/moin' folder. If you don't use it, your shared data will be at '/System/Library/Frameworks/Python.framework/Versions/2.3/share/moin'. On OX X '/usr' belong to Apple, and it is safer to install in '/usr/local'. Now installation is finished. You will not have to repeat this step unless you upgrade moin. Creating a wiki After you installed the software, you create a wiki. You may create several wikis if you need. Copying a template wiki Copy a template wiki from the /usr/local/share/moin. Do not try to run the wiki from /usr/local/share/moin/data because your wiki will be overwritten when you install a new version of moin. Security warning: do not put your wiki folder where the web server can access it! Your wiki should not be at the "Sites" folder in your home folder. The following instructions will create a wiki called "mywiki". You can choose any name you like, except the reserved name "wiki". Do these commands: cd /usr/local/share/moin mkdir mywiki cp -r data mywiki cp -r underlay mywiki cp server/moin.cgi mywiki cp config/wikiconfig.py mywiki Setting Permissions You have to make the web server the owner of the files in your wiki. Unless you changed the default configuration, both are 'www'. chown -R www:www mywiki chmod -R ug+rwX mywiki chmod -R o-rwx mywiki Configure Apache We'll use the pico editor: pico /etc/httpd/httpd.conf Go the end of the Aliases section and edit like the example below: Alias /wiki/ "/usr/local/share/moin/htdocs/" ScriptAlias /mywiki "/usr/local/share/moin/mywiki/moin.cgi" Use Control+O to save the file and Control+X to exit pico. Restart Apache - open System Preferences, go to the Sharing page, select "Personal Web Sharing" and click "Stop" then "Start". Or just type this instead: apachectl graceful ... /usr/sbin/apachectl graceful: httpd gracefully restarted Installation finished - exit from the shell with the root privileges - working as root is dangerous. exit Now you are running again safely. Testing Your New Wiki In a web-browser surf to the site: http://localhost/mywiki You should see the FrontPage of your new wiki. Now run the unit tests, to make sure everything is fine. Go to this address: http://localhost/mywiki?action=test You should see a report on the wiki and tests results for the MoinMoin engine. If some of the tests fail, please report the problem on MoinMoinBugs. Configuration You wiki |
|
| 2005-02-01, 07:38 PM | #2 |
|
Moderator
![]() ![]() ![]() ![]() ![]() Registered: Sep 2001
My Mac: PowerMac G5, MacBook Air, Mac mini(intel&G4), iPhone
Posts: 7,330
오프라인
|
applebemore님께서 나누어주신 소중한 지식이 무슨 내용인지 궁금해하실 회원님들이 많이 있을 것 같습니다. 염치없지만, MoinMoin 위키에 대해 설명해주실 회원님 계신가요?
![]() |
|
| 2005-02-01, 07:49 PM | #3 |
|
Veteran Member
![]() ![]() ![]() Registered: Mar 2004
My Mac: Intel MacPro Quad Xeon
Posts: 995
오프라인
|
MoinMoin 위키는 대표적인 스타일싯 기반의 위키입니다. UseMod 나 Swiki 같은 텍스트기반의 위키보다 페이지가 이쁘고 다양한 기능이 많고 한글지원도 잘되기 때문에 국내에서 인기를 얻고 있죠.
물론 MoinMoin을 더욱 발전시킨 NoSmoke 계열 위키엔진도 있습니다. 자세한건 다음사이트를 참조하세요 http://no-smok.net/nsmk/FindPage?act...value=MoinMoin 그러나 외국에서는 심플하고 작성및 편집이 빠른 텍스트기반 위키들이 더 많이 사용되는 듯 합니다. 우리나라는 역시 화려한(복잡한) 웹페이지에 길들여져 있는것 같아요 ^^; applebemore 님께서 2005-02-01 09:39 PM 에 수정하셨습니다.. |
|
| 2005-02-01, 09:48 PM | #4 |
|
Veteran Member
![]() ![]() ![]() Registered: Mar 2004
My Mac: Intel MacPro Quad Xeon
Posts: 995
오프라인
|
MoinMoin 위키 웹서버의 첫 페이지는 이렇게 생겼습니다.
|
|