How-To Install WebGUI CMS on SMEServer 6.01-01
Author: ergin@ergin.net |
|
| |
Problem: How to install popular WebGUI on you SMEServer? | |
|
2005-09-24 09_42 CET Update2 : Added some more perl links, updated link for PHPMyAdmin. I've also added information about log.conf and testEnvironment.pl. I like to manage my server over SSH with putty so I activate Remote Access Run putty and ... [root@smeserver601 templates-custom]# mkdir etc [root@smeserver601 templates-custom]# cd etc [root@smeserver601 etc]# mkdir httpd [root@smeserver601 etc]# cd httpd/ [root@smeserver601 httpd]# mkdir conf [root@smeserver601 httpd]# cd conf [root@smeserver601 conf]# mkdir httpd.conf [root@smeserver601 conf]# cd httpd.conf/ [root@smeserver601 httpd.conf]# Copy file filen 87webgui from http://www.ergin.dyndns.org/howtos/webgui/87webgui 7. We also have to modify Directory / settings If you already activated your webmail I think it is already modified 8. Generate /etc/httpd/conf/httpd.conf [root@smeserver601 httpd.conf]# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf [root@smeserver601 httpd.conf]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] 9. Time for MySQL (I like phpmyadmin so I install contrib) [root@smeserver601 root]# wget http://www.contribs.org/contribs/nightspirit/e-smith-phpmyadmin/e-smith-phpmyadmin-2.6.0-12.noarch.rpm http://www.contribs.org/contribs/nightspirit/e-smith-phpmyadmin/e-smith-phpmyadmin-2.6.0-12.noarch.rpm => `e-smith-phpmyadmin-2.6.0-12.noarch.rpm' Resolving www.contribs.org... done. Connecting to www.contribs.org[69.9.12.50]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,883,521 [application/octet-stream] 26% [========> ] 501,996 106.41K/s ETA 00:12 [root@smeserver601 root]# rpm -ivh e-smith-phpmyadmin-2.6.0-12.noarch.rpm Preparing... ########################################### [100%] 1:e-smith-phpmyadmin ########################################### [100%] To access the MySQL function via a web interface you will have to access it via SSL in your web browser. For example: https://192.168.1.1/phpmyadmin Now go back to your WebGUI catalogue and [root@smeserver601 httpd.conf]# cd /home/e-smith/files/ibays/Primary/html/WebGUI/docs/ [root@smeserver601 docs]# mysql -uroot mysql < create.sql It is safer to create a database user for WebGUI. You can do it easily via PHPMYADMIN and grant all necessary priviledges Choose your own password !!! 10. Time for config files... Make changes needed in ./etc/WebGUI.conf and ./etc/log.conf You can check my WebGUI.conf file and log.conf files... You also will have to create a log file for webgui # touch /var/log/webgui.log # chmod 777 /var/log/webgui.log # chown www.www /var/log/webgui.log 11. and finally last modification... modify your ./www/index.pl IF EVERTHING WENT WELL, GIVE IT A TRY AND FIND OUT http://your-ip-adress/webgui/ You can also test your environment with testEnvironment.pl Good luck Ergin Ozdemir ./webgui |