Install the Moinwiki Deployment Guide on Apache

Source: Internet
Author: User
Keywords installation nbsp;
Tags aliyun apache create data development directory guide html

PHP language Development wiki engine, Wikipedia uses the engine. Support Simplified Chinese. Installation requirements: http://www.aliyun.com/zixun/aggregation/14417.html ">apache + PHP + MySQL." IIS + PHP + MySQL can also be implemented, but some of the source parameters need to be modified.

Install Moinwiki

Apache with MOD_WSGI: Recommended deployment When installing MoinMoin on Apache, fast and easy to install. Use the Package installation tool to install the LIBAPACHE2-MOD-WSGI package, and you have configured Apache.

Unzip the installation package

Unpack the downloaded archive and view the extracted files: only 2 of them are available to us.

-moin-1.9.0
+ Moinmoin-moinmoin program source file.
+ wiki-template file.

We call the Wiki directory templates because you don't usually need to use them in that directory, just copy them to where you need them. As a result, you can successfully build multiple wikis and easily upgrade them to the new MoinMoin version.

Create working directory

You need to create at least two directories:

1, Source directory
2. wiki instance Directory

Here we create the Moinsource and mywiki two corresponding directories in our home directory.

CD ~yourname/
mkdir Moinsource Mywiki

Copy the appropriate files to both directories:

Cp-r Moin-1.9.0/moinmoin Moinsource
Cp-r Moin-1.9.0/wiki/config Moinsource
Cp-r Moin-1.9.0/wiki/server Moinsource
Cp-r Moin-1.9.0/wiki/data Mywiki
Cp-r Moin-1.9.0/wiki/underlay Mywiki

The instance directory must have the following permissions set:

sudo chown-r www-data:www-data mywiki
sudo chmod-r ug+rwx mywiki
sudo chmod-r o-rwx mywiki

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.