Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Skydiver on March 08, 2005, 06:53:09 AM
-
Has anyone used gforge on sme before..
Can anyone offer assistance in settting it up on SME
I would like to play with it.
-
Looks like i will need these dep's
Install of POSTGRESQL database
For 6.01
mx-2.0.3-1.i386.rpm
postgresql-docs-7.4.2-1PGDG.i386.rpm
postgresql-python-7.4.2-1PGDG.i386.rpm
postgresql-7.4.2-1PGDG.i386.rpm
postgresql-jdbc-7.4.2-1PGDG.i386.rpm
postgresql-server-7.4.2-1PGDG.i386.rpm
postgresql-contrib-7.4.2-1PGDG.i386.rpm
postgresql-libs-7.4.2-1PGDG.i386.rpm
postgresql-test-7.4.2-1PGDG.i386.rpm
postgresql-devel-7.4.2-1PGDG.i386.rpm
postgresql-pl-7.4.2-1PGDG.i386.rpm
Anyone care to work through a how to for this
-
Used this (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=29&meid=)one for my failed sipx attempt.
-
Used this (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=29&meid=)one for my failed sipx attempt.
That looks like it will make things a bit easyier. I will complete this part now. Tomorrow the rest will start.. Thanks Duncan you made things easy for me again. Give this man a pay rise someone.
Cheers
-
I'm very interested in hearing how your gforge install goes. I use it at work and think it's great. I tried installing it on SME about 18 months back but didn't get very far (I'm still pretty new to linux).
-
Ok The how to for postgresql worked a treated.. thanks duncan
I have now completed the import of the gforge database and starting the WEB setup.
Does it matter what location i enter the entries:
looks like i need to add them to the httpd.conf file. I am sure this will need to be the one under templates-custom.. hmmmm maybe i need to create the custom template first.
-
The following are sample Apache 2.0 httpd.conf entries:
NameVirtualHost 192.168.1.1
#
# Primary GForge vhost
#
<VirtualHost 192.168.1.1>
ServerName gforge.company.com
ServerAdmin webmaster@gforge.company.com
DocumentRoot /var/www/gforge3/www
ErrorDocument 404 /404.php
php_value include_path ".:/var/www/gforge3/:/var/www/gforge3/www/include/"
<Files projects>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo on
</Files>
<Files users>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo on
</Files>
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo On
LimitRequestBody 2097152
</Files>
#
# LOCATION may have to be used instead of FILES for some installs
#
#<Location /projects>
# ForceType application/x-httpd-php
#</Location>
#<Location /users>
# ForceType application/x-httpd-php
#</Location>
DirectoryIndex index.php
</VirtualHost>
#
# Lists vhosts - where mailman lives
#
<VirtualHost 192.168.1.1>
ServerName lists.gforge.company.com
ServerAdmin mailman@lists.gforge.company.com
DocumentRoot /var/www/mailman
ScriptAlias /mailman/ /var/mailman/cgi-bin/
Alias /pipermail/ /var/mailman/archives/public/
DirectoryIndex index.php index.cgi index.html index.htm
</VirtualHost>
#
# CVS Vhost - allows viewing of CVSWeb for each project
#
<VirtualHost 192.168.1.1>
ServerName cvs.gforge.company.com
ServerAdmin webmaster@cvs.gforge.company.com
DocumentRoot /var/www/cvs
DirectoryIndex index.php index.cgi index.html index.htm
</VirtualHost>
#
# *.gforge.company.com vhosts
# Each project can have its own vhost
#
# WARNING - security is degraded by having this
# on the same machine as the primary GForge
#
<VirtualHost 192.168.1.1>
ServerName projects.gforge.company.com
ServerAlias *.gforge.company.com
DocumentRoot /var/www/homedirs/groups
VirtualDocumentRoot /var/www/homedirs/groups/%1
<Directory /var/www/homedirs/groups>
Options Indexes
#
# WARNING - turning on php will allow any user
# to upload a php file to your server, and include
# the gforge local.inc file and get your password to
# connect to the database and have total control.
#
php_flag engine off
AllowOverride None
order allow,deny
allow from all
</Directory>
DirectoryIndex index.html index.htm
</VirtualHost>
-
http://www.tech-geeks.org/contrib/mdrone/Safely-Installing-Webapps-for-Esmith.html
-
ok i have all but completed the how for this part..
Now i figure i need to add the edited httpd.conf example above with correct paths to the 99gforge before i expand the template.
-
Great, thanks for sharing that info!
Question: Does mailman install automatically with gforge now? Or did you install that separately?
-
looks like we need to copy the cgi scripts into location and tell httpd.conf where they live with correct paths etc... it should do the rest..
-
hmmmmm looks like i could be wrong also.. just checked and could not locate any mailman script files in the tar... maybe we have to install it.. checking now
-
yes we need to install it but it says its optional..
optional stuff listed
PHP Accelertor
Mailman
jabber
JPGrph
Perl DBI module
-
This is what im thinking i will use for a test.. i will add mailman and a couple of extra's after this test.
Can anyone see an issue before i run this.
ibay info
/home/e-smith/files/ibay/sme/html
in this ibay i placed the contents of the www from the tarball
Example only
___________________________________________________
NameVirtualHost 192.168.1.1
#
# Primary GForge vhost
#
<VirtualHost 192.168.1.2>
ServerName gforge.smeforums.com
ServerAdmin admin@smeforums.com
DocumentRoot /var/opt/gforge/www
ErrorDocument 404 /404.php
php_value include_path ".:/var/opt/gforge/:/var/opt/gforge/www/include/"
<Files projects>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo on
</Files>
<Files users>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo on
</Files>
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
AcceptPathInfo On
LimitRequestBody 2097152
</Files>
#
# LOCATION may have to be used instead of FILES for some installs
#
#<Location /projects>
# ForceType application/x-httpd-php
#</Location>
#<Location /users>
# ForceType application/x-httpd-php
#</Location>
DirectoryIndex index.php
</VirtualHost>
#
# Lists vhosts - where mailman lives
#
#<VirtualHost 192.168.1.2>
#ServerName lists.gforge.smeforums.com
#ServerAdmin mailman@lists.gforge.smeforums.com
#DocumentRoot /var/www/mailman
#ScriptAlias /mailman/ /var/mailman/cgi-bin/
#Alias /pipermail/ /var/mailman/archives/public/
#DirectoryIndex index.php index.cgi index.html index.htm
#</VirtualHost>
#
#
# CVS Vhost - allows viewing of CVSWeb for each project
#
<VirtualHost 192.168.1.2>
ServerName cvs.gforge.smeforums.com
ServerAdmin admin@cvs.gforge.smeforums.com
DocumentRoot /var/opt/gforge/cvs
DirectoryIndex index.php index.cgi index.html index.htm
</VirtualHost>
#
# *.gforge.company.com vhosts
# Each project can have its own vhost
#
# WARNING - security is degraded by having this
# on the same machine as the primary GForge
#
<VirtualHost 192.168.1.2>
ServerName projects.gforge.smeforums.com
ServerAlias *.gforge.smeforums.com
DocumentRoot /var/opt/gforge/groups
VirtualDocumentRoot /var/opt/gforge/groups/%1
<Directory /var/opt/gforge/groups>
Options Indexes
#
# WARNING - turning on php will allow any user
# to upload a php file to your server, and include
# the gforge local.inc file and get your password to
# connect to the database and have total control.
#
php_flag engine off
AllowOverride None
order allow,deny
allow from all
</Directory>
DirectoryIndex index.html index.htm
</VirtualHost>
-
The server i wish to setup gforge on is not a blank server it has a number of virtual domains and ibays.
I really would like to set this to run for a virtual domain not the primary domain.
I see this setup making it either the primary domain or i think it might work with gforge.primarydomain.com but not the virtual domain as required.
Am i correct in my thinking or is there something i am not seeing.
-
Used this (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=29&meid=)one for my failed sipx attempt.
Duncan,
How did it go with it, I'm planning on trying the install on a SME7.
Regards,