Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Personal Wiki

  1. #1

    Default Personal Wiki

    Hello is there any advice out there on running a personal wiki SW suite for Open Suse 11.2. My primary purpose is to run a personal knowledge management system. I am a very non-technical user. Also I am looking for something that is run locally on the computer as opposed to a web-based solution. Maybe in the longrun I would like to open up the personal wiki and collaborate with other selected users for certain pages. I see there is MediaWiki and Zim packages available already on YAST. I have tried to install both. Some observations about Zim, I havn't experimented much with it but it seems to be not exactly what I am looking for as for. Will post an update when I give it a proper test. I also installed MediaWiki through YAST it seemed to download all the packages properly but I am unable to find the SW on my computer. Any suggestions would be greatly appreciated.

    Rgds,

    adsum01nl

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,278
    Blog Entries
    15

    Default Re: Personal Wiki

    Quote Originally Posted by adsum01nl
    Hello is there any advice out there on running a personal wiki SW suite
    for Open Suse 11.2. My primary purpose is to run a personal knowledge
    management system. I am a very non-technical user. Also I am looking for
    something that is run locally on the computer as opposed to a web-based
    solution. Maybe in the longrun I would like to open up the personal wiki
    and collaborate with other selected users for certain pages. I see there
    is MediaWiki and Zim packages available already on YAST. I have tried to
    install both. Some observations about Zim, I havn't experimented much
    with it but it seems to be not exactly what I am looking for as for.
    Will post an update when I give it a proper test. I also installed
    MediaWiki through YAST it seemed to download all the packages properly
    but I am unable to find the SW on my computer. Any suggestions would be
    greatly appreciated.

    Rgds,

    adsum01nl
    Hi
    MediaWiki is a fully fledged system and runs with apache web server.
    Have a look here;
    http://en.wikipedia.org/wiki/Compari..._wiki_software

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
    up 2 days 21:12, 3 users, load average: 0.25, 0.22, 0.20
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Personal Wiki

    Only an answer to a detail of your questions. When you go to YaST > Software > Softwrae Management and there you sreach and select a package (like you did when you installed it), you can then use one of the tabs at lower right to display all the files that came with the install. That may give a clue about where the main executable is and if there is documentation (man pages and or more) with it.
    Henk van Velden

  4. #4

    Default Re: Personal Wiki

    MediaWiki, as MalcolmLewis points out, requires a fully fledged server to be running.

    MoinMoin has an inbuilt python server, and is therefore the easier option. It's still powerful (Debian and Ubuntu run their wikis on it, among others), but *phenomenally* easy to set up.

    You literally download a tarball, extract it somewhere (I put it in /etc), run a python script 'python wikiserver.py', then point your browser at 'http://localhost:8080/', and voila, you have a wiki. I made a desktop icon to run a script to start the wikiserver for convenience.

    I've been playing with it quite a lot (making a wiki for notes for my degree), so can probably talk you through any problems you may have - although I'm running 1.8, and the current version is 1.9, so there may be differences.

    Nevertheless - highly recommended.

    DesktopEdition - MoinMoin

    [Note - I don't mean to suggest that setting up an Apache server is tremendously difficult - I've never tried. But I sincerely doubt it's this easy. ]

  5. #5

    Default Re: Personal Wiki

    Hi Confuseling,

    MoinMoin sounds like an interesting program. Just a question as I am a new Linux user: how do I run a Python script? -> directly from the terminal?

    Rgds,

    Nick

  6. #6

    Default Re: Personal Wiki

    [correction to the above - I put it in /opt, not /etc]

    Python is available on any given Linux (someone will come along now and find a Linux without it just to spite me - but you get my point ).

    There's an outside chance you need to install it, but I imagine it's on the basic SUSE install - can't remember.

    You then type 'python script_name.py' in a terminal, in this case 'python wikiserver.py', if you're in your MoinMoin directory, to run it. Or, if you're as lazy as I am, you make a script (mine's called 'Start.wikiserver') in your ~/Desktop folder, which says

    Code:
    #!/bin/sh
    python /opt/MoinMoin/wikiserver.py
    Then make it executable

    Code:
    chmod +x ~/Desktop/Start.wikiserver
    Then when you click on it in gnome and select 'run in terminal', you should have a terminal showing the server's output (useful for tracking down errors), and which you can shut to shut down the server to save resources - not that it's heavy on resources... I only see it on 'top' when I'm actually changing pages.

    The steps to get it to run from a launcher in konsole in KDE are marginally more convoluted as I remember... Haven't got around to doing that again since installation of 11.2 KDE SUSE. But if you're running KDE I can figure it out - I need to do so anyway.

  7. #7

    Default Re: Personal Wiki

    Hi Confuseling,
    Yes I am running KDE.And yes I see from YAST that Python is already installed on my machine. Please keep in mind I have no experience with coding or scripting whatsoever. If you can give a very simple explanation it would be great, such as how to create a script etc. According to your above explanation I opened up Konsole and typed 'python script_name.py' this returned the msg: No such file or directory. Just so we are not assuming anything, when I extracted the tarball I simply created a folder in my Home folder and extracted it there. It seems that it was all extracted successfully. Sorry for this but I am a newbe here...

    Rgds,

    adsum01nl

  8. #8

    Default Re: Personal Wiki

    No worries.

    'script_name.py' was just an example.

    So if you open a terminal, and type 'ls', it'll give you a list of your files and directories in your home directory. Use 'cd' to navigate to where you've extracted MoinMoin. Type 'ls' again, you should see a file called 'wikiserver.py'. Then just type 'python wikiserver.py', and it should run... If it doesn't, there may have been a problem with the way you extracted it, but we can fix that...

    Obviously, you can cut out the middle step once you're sure where it is... If it's in /home/nick/MoinMoin, you'd just type 'python /home/nick/MoinMoin/wikiserver.py', or even just 'python ~/MoinMoin/wikiserver.py'

  9. #9

    Default Re: Personal Wiki

    Hi thanks for the reply! After some experimenting I was able to run the Konsole from the directory that I extracted it to. So everything seems to be extracted in proper order. Now in regards to your tip on making an executable short-cut for running the python database/MoinMoin...

  10. #10

    Default Re: Personal Wiki

    Right, well if you just want it to run, you can do it the above way - but really you need the output in a terminal. This is a clumsy, indirect way to do it, and there is no doubt a better one. Learn scripting from me, and You Will Fail At Scripting Forever. That warning said;

    Unlock widgets (click the cashew thing).

    Right click on your folder view, and create a new text file. Call it 'Start.wikiserver', or whatever is your preference. Right click on it, and edit it in kwrite. Add the following;

    Code:
    #!/bin/sh 
    konsole -e '~/Scripts/MoinMoin.sh'
    Now open a konsole, and make yourself a scripts directory

    Code:
    mkdir ~/Scripts
    Now make yourself the actual script which runs MoinMoin (this being the silly indirection - but it's the only I can make it work...)

    Code:
    kwrite ~/Scripts/MoinMoin.sh
    And put this in it

    Code:
    #!/bin/sh
    python /home/nick/MoinMoin/wikiserver.py
    read -n 1
    The 'read' line at the end just makes it wait for a key, so if it doesn't work you'll be able to see why. And obviously I have no idea where you've installed MoinMoin...

    Now make them executable

    Code:
    chmod +x ~/Desktop/Start.wikiserver
    chmod +x ~/Scripts/MoinMoin.sh
    (You might not actually need to do the first one - there was a big brouhaha about KDE and Gnome ignoring executable bits and running things anyway. No idea - but it certainly won't cause any harm)

    And it should work... Finally, use your web browser to navigate to your MoinMoin main page, and create yourself a bookmark. And if any kind soul reading this knows how to do this sensibly, that'd be appreciated too

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •