Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: jmartin 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
-
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.
-
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>
-
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/
-
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.
-
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.
-
:-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
-
You're welcome...
-
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
-
I'll try to put together a HowTo. Stay tuned. ;-)
-
Well, I put together a HowTo for Metadot...
There might be some "bugs" so use it at your own risk.
Good luck...
-
http://www.ergin.net/download/metadot/metadot603.htm
-
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.
-
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]
-
Didn't mean Metadot I was thinking about WebGUI. Sorry I wasn't very clear now that I reread my post.