From 73fa6c45ab84c140fda534637f258709c9f7d09f Mon Sep 17 00:00:00 2001 From: Alexandre Neymann Date: Tue, 20 Jan 2009 10:44:26 +0000 Subject: [PATCH] Installation guide Updated but not fully --- .../installation_guide/installation_guide.xml | 93 ++++++++----------- 1 file changed, 39 insertions(+), 54 deletions(-) diff --git a/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml b/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml index 2a62786fc1..c16ccdda40 100644 --- a/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml +++ b/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml @@ -36,7 +36,7 @@ Apache 2.2 or later openssl 0.9.4 or later mod_ssl 2.4.10 or later (included in Apache 2.0 and later) - PHP 5.2 or later (php4 with the command line interface support & php5.1 should work) + PHP 5.2 or later (php4 with the command line interface support and php5.1 should work) php-pgsql (enable it with --with-pgsql when building PHP, or install it as package) php-mbstring (enable it with --with-mbstring when building PHP, or install it as package) @@ -80,7 +80,7 @@ The manual installation of GForge is documented below. Be sure to follow each step carefully, check the forums for frequently asked questions, and ask your Apache, Mailman, and PostgreSQL installation questions in the corresponding mailing lists rather than on the GForge forums where little help is available.
- Installing on Debian + Installing Gforge on Debian You can simply add lines found at or to /etc/apt/sources.list and type apt-get install gforge to install a working GForge system, thanks to Christian Bayle and Roland Mas. @@ -89,11 +89,12 @@
- Installing on RPM-based systems + Installing Gforge on RPM-based systems Guillaume Smet makes RPM packages for installing GForge. If you are using Fedora Core or Red Hat Enterprise Linux, you may want to try them.
- Installing GForge + Installing GForge oneself on a linux distribution + To install GForge, follow these steps (as root):
Directory Layout Instructions below assume that gforge is unpacked into /opt/gforge. There are some other directories where GForge stores files. In this installation guide, they are put in /var/www too. @@ -102,54 +103,38 @@
- Unpacking - To install GForge, follow these steps (as root): - -# tar -xjvf gforge-4.7-svn6744.tar.bz2 -# cd gforge-4.7-svn6744 -# mkdir -p /opt/gforge -# cp -r */opt/gforge - -
-
- Checking out from Branch_4_5 - Alternative way to get GForge 4.5.3 is to check out from Branch_4_5 in CVS. This gets latest fixes as well. Each of the plugins need to be checked out separately. - -$ CVSROOT=:pserver:anonymous@cvs.gforge.org:/cvsroot/gforge; export CVSROOT -$ cvs checkout -P -rBranch_4_5 gforge -$ mkdir gforge/plugins -$ cd gforge/plugins - -$ cvs checkout -P -rBranch_4_5 gforge-plugin-scmcvs -$ ln -s gforge-plugin-scmcvs scmcvs - -$ cvs checkout -P -rBranch_4_5 gforge-plugin-scmsvn -$ ln -s gforge-plugin-scmsvn scmsvn - -$ cvs checkout -P -rBranch_4_5 gforge-plugin-cvstracker -$ ln -s gforge-plugin-cvstracker cvstracker - -$ cd ../www -$ mkdir plugins -$ cd plugins -$ ln -s ../../plugins/scmcvs/www scmcvs -$ ln -s ../../plugins/scmsvn/www scmsvn -$ ln -s ../../plugins/cvstracker/www cvstracker - + Getting the source + There is two ways to get the sources from Gforge : +
+ With the tarball available on https://gforge.org/frs/?group_id=1 + Unpacking : + + # tar -xjvf gforge-4.7-svn6744.tar.bz2 + # cd gforge-4.7-svn6744 + # mkdir -p /opt/gforge + # cp -r */opt/gforge + +
- Updating checked out Branch_4_5 - To get latest updates in Branch_4_5, run the following commands: + Checking out from the SVN repository with tag v4_7 + Alternative way to get GForge 4.7 is to check out with tag v4_7 from SVN. This gets latest fixes as well. -$ cd gforge -$ cvs -q update -Pd -$ cd plugins/gforge-plugin-scmcvs -$ cvs -q update -Pd -$ cd ../gforge-plugin-scmsvn -$ cvs -q update -Pd -$ cd ../gforge-plugin-cvstracker -$ cvs -q update -Pd + $ svn checkout --username anonsvn https://svn.gforge.org/svn/gforge/tags/v4_7 + + $ cd gforge/www/plugins + $ ln -s ../../plugins/scmcvs/www scmcvs + $ ln -s ../../plugins/scmsvn/www scmsvn + $ ln -s ../../plugins/cvstracker/www cvstracker - To monitor latest changes in GForge, including Branch_4_5, subscribe to gforge-commits mailing list. +
+ Updating checked out Branch_4_5 + To get latest updates in Branch_4_5, run the following commands: + + $ cd gforge + $ svn -q update + + To monitor latest changes in GForge, subscribe to gforge-commits mailing list. +
@@ -297,7 +282,7 @@ ERROR: permission denied for schema public
Configuring DNS Server (BIND) GForge needs its own domain. In example GForge configuration file, it's gforge.company.com. You should search for company.com in example GForge configuration file and replace it with your domain name. - Here some example configuration files for BIND are presented that can help you if you are not familiar with BIND but it's not meant to be complete. Don't ask BIND-related questions in GForge forums – consult documentation that come with your distribution and search in Internet. Distributions put files in different places and so there are no file locations here. The example configuration below is only quick start example and doesn't include reverse mapping. + Here some example configuration files for BIND are presented that can help you if you are not familiar with BIND but it's not meant to be complete. Don't ask BIND-related questions in GForge forums, consult documentation that come with your distribution and search in Internet. Distributions put files in different places and so there are no file locations here. The example configuration below is only quick start example and doesn't include reverse mapping.
DNS Requirements It's required to have the bind package installed @@ -382,10 +367,10 @@ zone "gforge.company.com" { Serving Web pages. In this case, PHP is usually used as module and its configuration is in virtual host configuration, as shown later in the document. If you prefer to configure php.ini, the following directives are required by GForge: -register_globals = Off + magic_quotes_gpc = On file_uploads = On -include_path=".:/var/www/gforge:/var/www/gforge/www/include:/etc/gforge" +include_path=".:/opt/gforge:/opt/gforge/www/include:/etc/gforge" @@ -1056,8 +1041,8 @@ cvspserver 2401/udp SVN
Overview - SVN is also managed via plugin – the scmsvn plugin is included and activated by default in GForge. As with scmcvs, you have to move the scmcvs/etc/plugins/* files to /etc/gforge/plugins/* and may have to make minor modifications for your specific setup. - There are two ways to manage SVN – one is to have SVN over DAV and the other is to have SVN over SSH just as you do with CVS. If you choose to use DAV, you will need the mod_auth_gforge library compiled and installed in your apache and the appropriate virtual host settings in your httpd.conf. mod_auth_gforge is available from gforge.org. The cronjobs to manage SVN are in cronjobs/dav-svn/ and so are sample httpd.conf virtual host settings. Each of these cronjobs has configuration parameters which you may have to edit manually for your specific system. + SVN is also managed via plugin. The scmsvn plugin is included and activated by default in GForge. As with scmcvs, you have to move the scmcvs/etc/plugins/* files to /etc/gforge/plugins/* and may have to make minor modifications for your specific setup. + There are two ways to manage SVN. One is to have SVN over DAV and the other is to have SVN over SSH just as you do with CVS. If you choose to use DAV, you will need the mod_auth_gforge library compiled and installed in your apache and the appropriate virtual host settings in your httpd.conf. mod_auth_gforge is available from gforge.org. The cronjobs to manage SVN are in cronjobs/dav-svn/ and so are sample httpd.conf virtual host settings. Each of these cronjobs has configuration parameters which you may have to edit manually for your specific system. Configuring svnserv for svn-over-ssh: -- 2.30.2