Ubuntu and Windows share the use of the local knowledge base MoinMoin

Source: Internet
Author: User
Previously, moinmoin1_topedition was installed in Windows XP as its local Wiki (using MoinMoin desktop edition as a personal local knowledge accumulation tool). Because Ubuntu and Winxp systems are used, it is hoped that the two systems share the same wiki program without data synchronization, which will cause trouble for Data Query and save the maintenance of data synchronization. MoinMoin does not require web servers (such as apache) or databases (such as mysql) In Ubuntu.

Previously, MoinMoin desktop edition was installed on windows xp as its local Wiki (using MoinMoin desktop edition as a personal local knowledge accumulation tool). Because Ubuntu and windows xp are used, it is hoped that the two systems share the same wiki program without data synchronization, which will cause trouble for Data Query and save the maintenance of data synchronization.

In Ubuntu, MoinMoin also does not require web servers (such as apache), databases (such as mysql) support, as long as there is a python runtime environment. I installed Ubuntu 7.10. By default, Python 7.10 has been installed in Ubuntu 2.5. (If python is not installed, open the new software package manager and enter Python. Select "Install ), therefore, the moinmoin directory is directly stored in windows. py can access moinmoin. For example, my address is/data/wiki/moin-desktop/moin. py, run the following command:

Deimy @ wy :~ $ Python/data/wiki/moin-desktop/moin. py
Loading...
MoinMoin-1.5.5a [97bf3d768af3 tip; effectopedition Release 1.5.5a-1]

Serving on 127.0.0.1: 9922

Serving on 127.0.0.1: 9922 (the default port number is 8080,9922 is the port number I modified in windows) indicates that moinmoin has been started successfully through http: // 127.0.0.1: 9922 to access your wiki

All MoinMoin data is stored in a file. When creating a new page, you are prompted that you do not have the write permission for the wiki data directory (/data/wiki/moin-desktop/wiki/data/pages, in fact, the data has been written to the file. You only need to refresh it once or click "Clear this prompt" to view the edited content. I am not familiar with python, but the specific reasons are unclear.

For example, when I create a Ubuntu connection on the wiki homepage and create a new Ubuntu page, the following message is displayed:

OSError

[Errno 1] Operation not permitted: '/data/wiki/moin-desktop/wiki/data/pages/(e9a696e9a1b52f) Ubuntu'

If you want to report a bug, please save this page and attach it to your bug report.

Show debugging information
Report bug
Visit MoinMoin wiki

Run MoinMoin automatically upon startup:
Choose system> preferences> session.
On the Programs tab, click Add
Name: moinmoin
Command: python/data/wiki/moin-desktop/moin. py
Note: moinmoin startup

OK, close

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.