Moinmoin installation
Should I go ahead and try installing the wiki? A: First make sure that you have execute permission enabled on pythontest. I had the same problem until I realized I as file owner could read and write the file, but not execute it.
You might have the same problem with moin. Howevwer, the permissions are correct and set to nobody The Apache user and read write execute. The directory does exist but is empty. I use the absolute path in the config file. Import Error Q: I followed the instructions on how to install and configure MoinMoin , but when testing the wiki, the server barfs with the following message: [Tue Dec 19 ] [error] [client Where should the MoinMoin module go?
A: Try installing Python with the developer headers. I've had the same problem and reinstalled Python with the developer headers, after this the import error was gone. You might check if an installer. If not, the setup might not have run correctly, ergo Moin will not work. Is there anyway to solve this? MoinMoin is 1. Still, I keep getting a " - Access denied". I can not even run the diagnosis The error. If I run Python and do "import moinmoin" it tells me no such module exists. What am I missing?
A: Don't know about the importing part but I solved similar error same Python and Apache version by adding access rights for the Wiki installation folders in the httpd. Any idea where one is available? There is reference to one on the page HelpOnSpellCheck , but the link is no longer valid. Moin simply needs a plain text file containing a list of words to check against. This should work. Going crazy trying to upgrade Hello, I tried to upgrade from 1. I never achieved the first upgrade, so I gave up.
Since then, I reinstall another 1. First, I'm lost with the documentation about upgrading. I then install the 1. For the "post 1. In my wikiconfig. Is my migration method correct? Can anyone help me? And you obviously got trouble. Ok, I put some absolute paths in my wikiconfig. I think my migration is complete now, and I can do the same for the following versions. But, does it means that the migration scripts are called by the moin executable or do I need to call them before?
Thanks -- EricVeirasGalisson The pre Don't run them twice. The post I downloaded MoinMoi version 1. Embed external non-wiki page Q: Is it possible somehow to embed an external non-wiki page into a MoinMoin page? We have a process monitoring application running with a user interface through JSP.
It would be handy if we could embed it in the wiki pages. Maybe in some kind of frame? You could find a way to insert an IFrame somewhere in their. An IFrame lets you embed a webpage within a webpage from a different domain or not. IFrames, unlike Frames, if my memory is correct, lets you embed the a webpage using a kind of html box; kind of like those used for images.
You will probably need to make sure the xhtml supports it; this usually means using transitional xhtml instead of strict xhtml for strict xhtml does not accept IFrames. Use your favorite search engine for the details of this.
I removed the previous Python installation and upgraded to 2. Installation appeared to work fine, and I have adjusted the shebang and path-dependent info in moin. When called locally on the commandline, moin. Does anyone have any tips for me here? I appear to be getting a problem with permissions. I had the following problem reported in Apache's error. Thanks a lot. I just upgraded to Mac OS X I had my wiki working very nicely for about a year.
The upgrade to Leopard messed up all my web sites because it changed the version of apache and the location of the config files. I successfully changed the apache config file to get my web sites working, and added the alias lines for the wiki I entered the identical lines from the previous version of the config file. However, now I get a ' Forbidden' message when I try to access my wiki. I've checked and the wiki is still owned by www the web server. The permissions don't seem to have changed and I don't see why the upgrade Leopard would affect them.
I'm wondering if there is something else I've forgotten in the config file. Any suggestions would be welcome. Thanks upgrade question from moin Migration from 1. The new style mig scripts use that value to make it much simpler for you in future.
After this, please continue in section "Post 1. So if you have done the 1. So, assuming that you correctly migrated to 1. Is it worth an attempt to install MoinMoinWiki on phones having Raccoon installed? A: I guess it would be too slow. If you have Python on the phone it won't work without , you can also use the standalone server of moin will eat less resources, but still be too slow.
I've located some migration scripts but need a little direction on how to use them. In a farm each wiki in the farm has to be migrated separately.
The migration requires that you run the migration command twice which was not obvious for me initially. After running the "migration data" cmd once a file "rename1. This file may be changed. Either the modified or the unmodified file "rename1. Then the migration command has to be run again. This starts main migration to the new markup.
A back-up containing the unconverted data wiki-pages is created during the main migration in a folder named "data. Note that older versions of the pages are not converted - so if an older version is viewed in a moin Change your config files and server configuration as required diff 1.
Then re-run the migration command. Thanks very much! This worked nicely. Im using apache2 with fastcgi and python2. When I manually upload all files to python2. Permission denied when trying to migrate data Trying to upgrade from 1. When running moin. This is the wrong moin. Using the maint cleancache may also work, but I had a lot of troubles getting it to run on the server. I hit the same problem, with backup Moin to another Windows server.
I'm running Moin 1. The problem may be with windows file abstraction layer which doesn't distinguish files with names which differ only in character cases like, lowercase and uppercase. Consider avoiding using windows or renaming those pages. Calling up "python moin. MoinMoin - 1. Completely erase that stuff, log in as user not root and start from scratch. Problems with basic installation I am having the worst time trying to install MoinMoin on OSX - I upgraded my computer to Leopard just recently, followed the instructions listed in the Help all to no luck.
There are problems, since the most recent version is 1. Any help would be appreciated - unless I'm missing something on my computer, there is something wrong with the install guide.
If you have trouble with the apache installation, why don't you simply use python. That's all you need to do to start the standalone server of 1. I'm working on a wiki at work where I have access to the wikiconfig. The sys admins install everything for our wikis and this is the way they have it set up.
Is it possible for me to add or modify themes in this case? I'm running a lighttpd server under linux, and I'm trying to get MoinMoin running using fastgci with a unix socket in a site directory as opposed to a subdomain. However, I can't get this to work. Installation into your home directory Installation into your shell account's home directory is typically used on a host shared by many users and where you are not the root user. This usually implies that you cannot change the httpd.
Note that this directory must be readable r-x by the web server. If it does not work, you will probably get a " Forbidden " or a " Not Found " response. But we also need to be able to execute CGI scripts, so we test that, too. How you get that to work is not in the scope of this description, ask your webmaster!
A working Python installation is also assumed. The examples use " jh " as the user's name, which means you have to replace your own one whereever " jh " appears. The same is true for version numbers 1. Doing the basic installation The following commands will fetch and install a moin tarball. Use an appropriate URL to the version you want to install.
You'll find a detailed file list in " install. Setting up a wiki instance The next step is to create a copy of the wiki data and the config file. So, change " moin. Conclude your tests by editing and saving the FrontPage and checking out RecentChanges , which should reflect that edit. This procedure explains the steps necessary to install the infrastructure and provides detailed instructions for the installation of Moin Moin.
Downloading and installing all of the required components will require almost MB of disk space. The table below shows the approximate sizes of the various components.
Python typically changes the default installation folder name with each point release, and Apache has changed the default installation folder name with the release of version 2. Instead of enumerating all the possibilities at each step, this procedure will use the Reference name in the table below as the installed location for each product.
Substitute your real installation location when editing configuration files and entering commands. The latest version, 2. You will know you don't have the correct version if you receive errors after double-clicking on a file name ending in. WinZip, unzip, Moin Moin is distributed in a zipped format for Windows users. There are many alternative compression utilities that are compatible with the.
Since the. If not, download Win Zip or an alternative and review the instructions. In general, the latest Moin Moin release will be the most stable and best documented choice for new users, Stable CVS should be trouble free and may have useful new features but may lack corresponding documentation, and Nightly CVS should be chosen only if you are a Python programmer and want to help test freshly coded features.
CVS utilities are discussed here only because they are uncommon in the Windows environment, and many Windows users may not be familiar with them. If you intend to modify Moin Moin source code to add your own new features, then you may want to consider installing a CVS utility.
CVS utilities allow you modify your local Moin Moin source code and automatically merge your changes with changes made by other developers when you update your local copy of the Moin Moin source code from the CVS Head.
Even better, if you wish to submit your nifty new feature to the Moin Moin developers for inclusion in a future Moin Moin release, you can create a patch of your enhancement that a Moin Moin developer can easily install and test on their own local copy of the Moin Moin source. If you are unfamiliar with CVS or are not a Python programmer, your choice for now should definitely be Neither. You can always revisit this step later. You can read more about it in MoinMoinWinCvs. It works by changing the icons used for CVS-related folders and files and adds entries to the Windows Explorer menus.
One advantage of TortoiseCVS for one-person development shops is that it can create and update a CVS repository for your own development projects. Read the Apache documentation to determine the correct installation procedure for your situation. Questions and problems with the Apache installation process should be resolved through use of the resources provided by the Apache organization. Be sure your webserver runs correctly before proceeding. Warning: the procedure described above tends to trivialize the installation of the Apache web server.
Apache can be installed and running on your PC in a very few minutes with only a cursory examination of the Apache documentation. Before you undertake the installation of any web server that can be accessed through the internet, you should exercise a controlled level of paranoia and assess the potential damage that may be caused by hackers accessing or destroying sensitive data.
This should include not only the all data which resides on the PC which will host the Apache web server, but all other PCs on the local LAN which participate in any form of file sharing. Do not let the above discourage you from installing Moin Moin. The starting Apache configuration is secure and you will not have a problem provided you: Regularly review and apply security patches for your installed software.
Understand the ramifications of any changes you make to the Apache config files. Play with a working wiki before you try to customize it. Change one thing at a time When your wiki is running, go and customize it to your needs, but remember to change only one option at a time. You probably don't fully understand how all options work, and if you go and break few things in the same step, you will have hard time to fix it. Then you will also know which versions of python are usable.
This is especially handy for users with no root access. The situation is different in your webserver environment, and thus you might have to change the bang path of " moin. You will have to use the same path in the moin server script. Missing file permissions If you are root, the installed files may be readable only by root, but they must also be readable by the web server before the wiki will work. This includes both the Python modules and the site itself.
For the data directory, the wiki engine also needs write access. To fix this, first find out where the Python module directory is; look in install. Quoting errors in wikiconfig. The following items are also variable issues. Also, some features only work if they are enabled by their option in either wikiconfig.
Your wiki looks bare and ugly, unlike this nice wiki. In most cases, you did break the configuration by not reading the instructions. ScriptAlias is used to hide moin. You must use different values! Warning: make sure that your data directory and your configuration files are not accessible through your web server. Port to serve. To serve a privileged port below you will have to run as root. A list of interfaces the server will listen to.
Path to moin shared files. To serve privileged port under you will have to run as root. The default is 'ThreadPoolServer' , which create a pool of threads and reuse them for new connections. 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. You should see a moin First, open a shell as root.
You will need this to install MoinMoin and configure the wiki. When asked, enter your password. Install: cd moin The default Python used by Apache is the framework one supplied by Apple.
Now the installation is finished. You will not have to repeat this step unless you upgrade moin. Creating a wiki After you have installed the software, you need to create a wiki. You may create several wikis if you need. 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". Unless you changed the default configuration, both are 'www'. Or just type this instead: apachectl graceful Now run the unit tests, to make sure everything is fine. If some of the tests fail, please report the problem on MoinMoinBugs.
Configuring Your wiki The wiki you created is a new "Untitled Wiki", using the default configuration. You want to give a better name and setup some configuration values. Open wikiconfig. You can edit the file with any text editor, like pico, emacs, or BBEdit. Note that the file belongs to user and group www:www.
You can edit the file as root, or change the group of the file to yourself with chown www:username wikiconfig. For more help on configuration, see HelpOnConfiguration. How to deal with common errors First follow the instructions Moin has provided instructions for common usage.
0コメント