Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th November 2006, 09:02 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
Setting up a MoinMoin wiki

for historical purposes here is how I got my wiki set up

all commands were performed as root su -
Code:
yum install moin
each line executed
Code:
mkdir /var/www/moin/mywiki 
cp -R /usr/share/moin/data /var/www/moin/mywiki
cp -R /usr/share/moin/underlay /var/www/moin/mywiki
cp -R /usr/share/moin/config/wikiconfig.py /var/www/moin/mywiki
set the permissions for the directories
Code:
chown -R apache:apache /var/www/moin   
chmod -R ug+rwX /var/www/moin    
chmod -R o-rwx /var/www/moin
create a moin.conf in the httpd directory like so...

Code:
gedit /etc/httpd/conf.d/moin.conf
add the following to the file

Quote:
Alias /wiki/ "/usr/share/moin/htdocs/"
<Location /mywiki>
SetHandler python-program
# Add the path of your wiki directory
PythonPath "['/var/www/moin/mywiki'] + sys.path"
PythonHandler MoinMoin.request::RequestModPy.run
# Location value must match the Apache Location value!
PythonOption Location /mywiki
</Location>
Open the Moin configuration file you copied over earlier (wikiconfig.py) and edit it. You only have to modify it in a few places ( in red need to be adjusted to your configuration):

# Site name, used by default for wiki name-logo [Unicode]
sitename = u'The title of my new Wiki'

# Where your mutable wiki pages are. You want to make regular
# backups of this directory.
data_dir = '/var/www/moin/mywiki/data/'

# Where read-only system and help page are. You might want to share
# this directory between several wikis. When you update MoinMoin,
# you can safely replace the underlay directory with a new one. This
# directory is part of MoinMoin distribution, you don't have to
# backup it.
data_underlay_dir = '/var/www/moin/mywiki/underlay/'

finally restart httpd

Code:
/sbin/service httpd restart
Browse to http://localhost/mywiki

configure away !!
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
  #2  
Old 26th January 2007, 09:11 PM
j_baer Offline
Registered User
 
Join Date: Nov 2004
Location: Lansing, MI
Age: 59
Posts: 104
Wiki Email

Jim,

Great how-to. I am trying set get email working. Do you have any advice in setting up the wikiconfig.py file?

Thanks,

John
  #3  
Old 27th January 2007, 01:13 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
Help! Jim, I followed your how-to to the letter, in fact I used cut and paste for all the commands, and I get this:

[root@oldendorff ~]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 9 of /etc/httpd/conf.d/moin.conf: </Location> directive missing closing '>'
[FAILED]

So this is above my level of expertise. Any thoughts?
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #4  
Old 27th January 2007, 05:35 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
Forget it. I figured it out. The last line in /etc/httpd/conf.d/moin.conf was missing the closing bracket.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #5  
Old 10th December 2012, 06:17 AM
Flailios Offline
Registered User
 
Join Date: Jun 2008
Posts: 8
linuxfirefox
Re: Setting up a MoinMoin wiki

I know this thread is old, but if anyone is following this as a guide, watch for type-o at the end of this line.... .../mywik = mywiki

cp -R /usr/share/moin/config/wikiconfig.py /var/www/moin/mywik
  #6  
Old 10th December 2012, 07:05 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
Re: Setting up a MoinMoin wiki

Typo fixed and thread duly closed.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Closed Thread

Tags
moinmoin, setting, wiki

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone using MoinMoin? glennzo Using Fedora 0 3rd February 2007 02:17 AM
Assistance setting up a wiki jim Servers & Networking 3 18th November 2006 09:00 PM


Current GMT-time: 01:42 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat