Gforge Installation Guide-Linux Enterprise Application-Linux server application information. For details, refer to the following section. As an excellent collaborative development software in the Open Source world, Gforge provides a complete software development platform for open source software development, developers are encouraged to make full use of this open platform to develop richer Open Source Software for the Open Source world.
Gforge initially originated from the open-source sf.net -- sourceforge, and switched to commercial version development until cvs2.6, instead of open-source. Then we have the branch Gforge, which is mainly developed by sf. In fact, gforge was initially used In debian. The official server is also debian, and there are other sf branches. Gforge is also used on the ibm open-source website, but it adds more plug-ins.
Gforge generates a branch that supports mysql in mysql 4.6, but it has not released any available version for nine months. Therefore, this article uses Gforge for postgresql.
To install gforge, you must prepare the following:
Openssl
Apache
Postgresql
Php
Bdb
Svn
The Server version used is Redhat Enterprise 4.4 32 bits. The default Web Server and Database Server are not installed.
The tar package to be prepared is as follows:
Openssl-0.9.8e.tar.gz
Httpd-2.2.6.tar.gz
Postgresql-8.2.5.tar.gz
Php-5.2.4.tar.gz
Db-4.4.20.tar.gz
Subversion-1.2.1.tar.bz2
Gforge-4.5.16.tar.bz2
These packages can be found online.
Install the SDK in the following sequence:
I. openssl
# Tar-zvxf openssl-0.9.8e.tar.gz
# Cd openssl-0.9.8e
#./Config -- prefix =/usr/local/openssl
# Make
# Make install
Ii. apache
# Tar-zxf httpd-2.2.6.tar.gz
# Cd httpd-2.2.6
#. /Configure -- prefix =/usr/local/apache -- enable-dav -- enable-so -- enable-ssl -- with-ssl =/usr/local/openssl -- enable-rewrite -- enable -maintainer-mode
# Make
# Make install
Iii. postgresql
# Tar-zxvf postgresql-8.2.5.tar.gz
# Cd postgresql-8.2.5
#./Configure -- prefix =/usr/local/pgsql -- with-openssl
# Gmake
# Gmake install
# Adduser postgres
# Passwd ipvs
# Mkdir-P/usr/local/pgsql/data
# Chown-R postgres/usr/local/pgsql/
# Chown postgres/usr/local/pgsql/data
# Su ipvs
$/Usr/local/pgsql/bin/initdb-D/usr/local/pgsql/data (initialize database)
$/Usr/local/pgsql/bin/postmaster-D/usr/local/pgsql/data> logfile 2> & 1 & (run in the background and return a pid)
Iv. php
# Tar zxf php-5.2.4.tar.gz
# Cd php-5.2.4
#. /Configure -- prefix =/usr/local/php -- with-apxs2 =/usr/local/apache/bin/apxs -- with-pgsql =/usr/local/pgsql -- enable-mbstring -- enable-ftp
# Make
# Make install
# Cp php. ini-dist/usr/local/php/lib/php. ini
# Vi php. ini
Modify
Register_globals = On
Magic_quotes_gpc = On
File_uploads = On
Include_path = ". :/var/www/gforge/www/include:/etc/gforge: /var/www/gforge/www/admin/:/var/www/gforge/plugins/scmcvs/etc: /var/www/gforge/plugins/scmsvn/etc "# vi/usr/local/apache/conf/httpd. conf
Add
AddType application/x-httpd-php. php
AddType application/x-httpd-php-source. phps
V. BDB
# Tar zxf db-4.4.20.tar.gz
# Cd db-4.4.20/build_unix/
# ../Dist/configure -- prefix =/usr/local/bdb (note that config cannot be run in the dist/directory)
# Make
# Make install
Vi. SVN
# Tar xvfj subversion-1.2.1.tar.bz2
# Cd subversion-1.2.1
#. /Configure -- prefix =/usr/local/svn -- with-berkeley-db =/usr/local/bdb -- with-apxs =/usr/local/apache/bin/apxs -- with-ssl -- with-libs =/usr/local/openssl -- enable-maintainer-mode
# Make
# Make install
# Svnadmin? Version (failed to run)
# Svnserve? D (failed to start)
VII. gforge
# Tar xvfj gforge-4.5.16.tar.bz2
# Music gforge-4.5.16/var/www/gforge
# Mkdir/etc/gforge
# Cp/var/www/gforge/etc/local. inc. example/etc/gforge/local. inc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.