Koozali.org: home of the SME Server

Anyone ever install WebGUI

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« on: February 18, 2004, 06:07:28 PM »
If anyone has ever installed WebGUI on the SME Server I'd be interested in seeing a howto.  I'm not having much luck with my install attempt.  :-(

WebGUI can be found at http://www.plainblack.com/webgui

Thanks,
Jeff

ergozd

Anyone ever install WebGUI
« Reply #1 on: February 19, 2004, 08:46:48 PM »
Can you be more specific?

When I tried to install another perl based CMS (METADOT) I had to make a simple change in /etc/httpd/conf/httpd.conf which solved my problem

AddHandler cgi-script .cgi

to
AddHandler cgi-script .cgi .pl

That was the only way (on my SME system) to get perl files executed.

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« Reply #2 on: February 19, 2004, 08:59:23 PM »
Hi Ergozd thanks for responding.

I stalled out at the placement of files and configuring httpd.  Do I try and put them in an ibay and then which go in cgi-bin and which go in html?  The install directions say move the WebGUI folder to where you want your web root to be such as /opt/apache/

Also for configuring httpd I kind of understand from reading other docs how to co an alias such as domain.com/webmail but the WebGUI instructions say modify your web server config to point to the folder than contains WebGUI's index.pl. An Apache virtual host might look like this:

<VirtualHost *>
 <Files ~ "\.(pl)$">
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
 </Files>
 DocumentRoot /opt/apache/www
 ServerName www.mycompany.com
 ServerAlias mycompany.com
 ErrorLog /opt/apache/logs/error-log
 CustomLog /opt/apache/logs/access-log SomeLogType
</VirtualHost>

ergozd

Anyone ever install WebGUI
« Reply #3 on: February 21, 2004, 09:32:07 AM »
Well, it took some time figure out things... But now I've managed to install it (to try it out).

It's a good CMS solution but I have to say I like METADOT better.

Anyway, here comes what you have to do to get things work.

1 - Download WebGUI 5.5.4 (obvously)
2 - Untar it (I put it in /opt/WebGUI)
3 - Modify you httpd.conf by creating 87 webgui in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

Alias   /extras/   /opt/WebGUI/www/extras/
Alias   /webgui/   /opt/WebGUI/www/
Alias   /uploads/  /opt/WebGUI/www/uploads/

<Location       "/webgui/">
        SetHandler      cgi-script
        PerlHandler     Apache::Registry
        PerlSendHeader  On
        Options         +ExecCGI
        DirectoryIndex  index.pl
</Location>

4 - Run /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

restart your httpd service

4 - Create mysql database WebGUI - via phpmyadmin OR

mysql -e "create database WebGUI"
mysql -e "grant all privileges on WebGUI.* to webgui@localhost identified by 'password'"
mysql -e "flush privileges"

Load the database with the create script:
mysql -uwebgui -ppassword WebGUI < docs/create.sql

5 - Edit your /opt/WebGUI/etc/WebGUI.conf file

sitename = yoursite.com

dsn = DBI:mysql:WebGUI
dbuser = db-user
dbpass = password

logfile = /var/log/webgui.log (create this manualy and chmod to 777)

extrasURL = /extras
extrasPath = /opt/WebGUI/www/extras

uploadsURL = /uploads
uploadsPath = /opt/WebGUI/www/uploads

I think you're ready go from here. Good luck. Contact med if you need more help. You can see my WebGUI site at http://www.ergin.net/webgui/

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« Reply #4 on: February 22, 2004, 04:30:59 AM »
WOW THANKS  :-)

I'm using 5.6 for a test box so I don't know if some of the problems are because of that but I think I'm getting closer.

When I restarted httpd it didn't like the perlhandler bit so I installed the mod_perl contrib as you posted elsewhere  :-)  that seemed to fix that but then when trying to go to domain.com/webgui/ I get 403 forbidden error.  Not sure if this is correct but I set everything to 755 and changed owner to www but it still didn't fix the problem.

Any ideas?

Really appreciate all your help.  Once I get into this program for a few I'd like to hear your comparison with metadot.

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« Reply #5 on: February 22, 2004, 01:04:40 PM »
I just tried following the instructions again except I used the cgi-bin of an ibay instead of /opt since it seemed to be a permissions problem.  This seemed to work except now I get a software error  :cry:

Can't locate Storable.pm in @INC (@INC contains: ../lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ../lib/WebGUI/Attachment.pm line 28.
BEGIN failed--compilation aborted at ../lib/WebGUI/Attachment.pm line 28.
Compilation failed in require at ../lib/WebGUI/Collateral.pm line 17.
BEGIN failed--compilation aborted at ../lib/WebGUI/Collateral.pm line 17.
Compilation failed in require at ../lib/WebGUI/Operation/Collateral.pm line 22.
BEGIN failed--compilation aborted at ../lib/WebGUI/Operation/Collateral.pm line 22.
Compilation failed in require at ../lib/WebGUI/Operation.pm line 17.
BEGIN failed--compilation aborted at ../lib/WebGUI/Operation.pm line 17.
Compilation failed in require at ../lib/WebGUI.pm line 22.
BEGIN failed--compilation aborted at ../lib/WebGUI.pm line 22.

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« Reply #6 on: February 22, 2004, 01:12:36 PM »
:-D   :-D

I found a perl-Storable rpm and that did the trick.

Now it's time to see what this WebGUI is all about.

Thanks again for all your help

Jeff

ergozd

Anyone ever install WebGUI
« Reply #7 on: February 22, 2004, 02:29:37 PM »
You're welcome...

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us
Anyone ever install WebGUI
« Reply #8 on: April 01, 2004, 07:37:18 PM »
Quote from: "ergozd"


It's a good CMS solution but I have to say I like METADOT better.



Would you happen to have instructions for installing METADOT?  I'd like to give it a try.

Thanks,
Jeff

ergozd

Anyone ever install WebGUI
« Reply #9 on: April 01, 2004, 09:11:08 PM »
I'll try to put together a HowTo. Stay tuned. ;-)

ergozd

Anyone ever install WebGUI
« Reply #10 on: April 02, 2004, 08:40:42 AM »
Well, I put together a HowTo for Metadot...

There might be some "bugs" so use it at your own risk.

Good luck...

ergozd


Offline stancol

  • ****
  • 90
  • +0/-0
    • http://www.srcproductions.com
Howto:
« Reply #12 on: July 09, 2004, 12:11:40 AM »
Hay Ergozd have you posted you min howto for WebGUI? I'm going to give your directions a try tonight but it seams to me that if you haven't already done it you could copy your directions into a Howto Contrib.
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...

RonM

Anyone ever install WebGUI
« Reply #13 on: July 09, 2004, 02:24:13 AM »
Quote
Hay Ergozd have you posted you min howto for WebGUI? I'm going to give your directions a try tonight but it seams to me that if you haven't already done it you could copy your directions into a Howto Contrib


That was done back on 1APR. Try a search here for "Metadot".

The howto looks like it took a lot of work, BTW. Thanks![/quote]

Offline stancol

  • ****
  • 90
  • +0/-0
    • http://www.srcproductions.com
Ops
« Reply #14 on: July 09, 2004, 08:36:38 AM »
Didn't mean Metadot I was thinking about WebGUI. Sorry I wasn't very clear now that I reread my post.
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...