installing OddMuse

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

installing OddMuse

Post by mimosa »

I'm trying to install OddMuse, some wiki software recommended by a friend, which claims to be a portable Perl script:

www.oddmuse.org

I followed the setup instructions (had to create /var/www/cgi-bin) ... but when I try to access pages at http://localhost, I get an error (in Firefox as well as Vimprobable). I tried switching off Privoxy; I installed perl-cgi; I installed Apache (though I only want to access the data locally); I tried putting /var/www/cgi-bin in my $PATH. The instructions suggest that depending on the distro, the .../cgi-bin/ directory may properly go elsewhere, but searching with whereis and searching the net for Slackware-specific info got me nowhere.

I'm sure I'm missing something basic, and would be grateful for any pointers.

(I also searched for this on src, though from the sound of it, I wouldn't expect it to have been packaged.)

(Running Ratpoison 13.37 beta)
User avatar
jayseye
Posts: 233
Joined: 24. Jul 2011, 17:22
Location: Brownsmead, Oregon (Center of the Universe)

Re: installing OddMuse

Post by jayseye »

Hi, mimosa -

Sounds like you need to start up the Apache Web server, as a separate step after installing it. While there's a Services GUI to handle that, it's just two simple commands in Terminal / Konsole / urxvt:

Code: Select all

sudo chmod a+x /etc/rc.d/rc.httpd
sudo /etc/rc.d/rc.httpd start
The first line makes the startup script executable, so Apache will automatically start on each boot. The second line makes Apache start up immediately, bypassing the need to reboot.

You're correct that a Web server is required, even though you only need local access. Though simpler, more lightweight Web servers exist, Apache is still the gold standard.

Hope this is the basic info you were missing.

Regards,
jayseye
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: installing OddMuse

Post by mimosa »

jayseye, thanks very much! All working perfectly now. :D
User avatar
jayseye
Posts: 233
Joined: 24. Jul 2011, 17:22
Location: Brownsmead, Oregon (Center of the Universe)

Re: installing OddMuse

Post by jayseye »

'welcome, mimosa -

Glad to hear it. BTW if you decide to make the Wiki accessible to others, it would be good to explore security options: OddMuse accesses the filesystem directly, bypassing any kind of database. ;)

Also just noticed synchronicity in another thread, which provides a one-line equivalent to my previous post here: :ugeek:

http://www.salixos.org/forum/viewtopic. ... 611#p16456

jayseye
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: installing OddMuse

Post by mimosa »

So in this case, that would be

#service start httpd

?

Thanks for the tip about security. I do actually have a project that may become "live" eventually, in which case I'll bear that in mind.
User avatar
jayseye
Posts: 233
Joined: 24. Jul 2011, 17:22
Location: Brownsmead, Oregon (Center of the Universe)

Re: installing OddMuse

Post by jayseye »

mimosa wrote:So in this case, that would be
#service start httpd
?
That looks correct, though it will be a couple of days before I actually test it. Will be installing Apache along with a bunch of other stuff, after a complete hard drive backup.

Always used to install Apache by default as part of Slackware installer's "Everything" option. That also allowed activating Apache via a "services" checkbox in the text-mode dialogs. That option still exists in Salix, but appears to be disabled (run as root):

pkgtool > Setup > services

jayseye
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: installing OddMuse

Post by thenktor »

Code: Select all

chmod +x /etc/rc.d/rc.httpd
/etc/rc.d/rc.httpd start
is the same like

Code: Select all

service start httpd
No need to do anything else.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply