Ubuntu 12.04 Moinwiki 설치

less than 1 minute read

virtualhost 설정

<VirtualHost *:80> ServerAdmin webmaster@localhost

    SSLEngine off

    ServerName wiki.yourdomain.net
    ServerAlias jisik.yourdomain.net

    Alias /robots.txt /opt/moin/MoinMoin/web/static/htdocs/robots.txt
    Alias /favicon.ico /opt/moin/MoinMoin/web/static/htdocs/favicon.ico
    Alias /media/ /opt/moin/MoinMoin/web/static/htdocs/media/

    DocumentRoot /opt/moin/MoinMoin/web/static/htdocs
    <Directory /opt/moin/MoinMoin/web/static/htdocs>
            Order allow,deny
            Allow from all
    </Directory>

   WSGIDaemonProcess www.polypia.net processes=2 threads=15 display-name=%{GROUP}
   WSGIProcessGroup www.polypia.net

   WSGIScriptAlias / /opt/moin/wiki/moin.wsgi
   <Directory /opt/moin/wiki> #              WSGIApplicationGroup %{GLOBAL}
           Order allow,deny
           Allow from all
   </Directory>

    ErrorLog /var/log/apache2/error.polypia.www.log
    CustomLog /var/log/apache2/access.polypia.www.log combined

</VirtualHost>

sudo a2ensite yourdomain.conf sudo service apache restart

pwd /opt

git로 받을 경우 https://github.com/mathrho/moinWiki

그냥 다운로드 sudo wget http://static.moinmo.in/files/moin-1.9.7.tar.gz sudo tar zxvf moin sudo mv moin moin cd moin

cd wiki sudo cp  server/moin.wsgi . sudo cp config/wikiconfig.py .

접속해보고 안되면

cd /opt/moin sudo python setup.py install 뭐가 설치되는지 잘 모르겠다. 그냥 클릭했음

Categories:

Updated: