FusionForge

Installing/FromSource

From FusionForge Wiki
Jump to: navigation, search

System requirements / dependencies

FusionForge is mainly developed on Linux systems, but it should run on other Unix variants as well.

The minimal required components are Apache 2, PHP 5 and PostgreSQL 8.x.

Other components may be needed depending on the extra features you need: Mailman for mailing-lists, CVS, Subversion, Git, Mercurial or Bazaar for version control, and so on.

FusionForge master

Debian (>=8)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git
cd fusionforge/
./autoinstall/install-src.sh

CentOS/RHEL (>=7), Fedora (>=21)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git
cd fusionforge/
./autoinstall/install-src.sh

openSUSE Leap (>= 42.1)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git
cd fusionforge/
./autoinstall/install-src.sh

FusionForge 6.1[.x]

Debian (>=8)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git -b 6.1
cd fusionforge/
./autoinstall/install-src.sh

CentOS/RHEL (>=7), Fedora (>=21)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git -b 6.1
cd fusionforge/
./autoinstall/install-src.sh

openSUSE Leap (>= 42.1)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git -b 6.1
cd fusionforge/
./autoinstall/install-src.sh

FusionForge 6.0[.x]

Debian (>=8)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git -b 6.0
cd fusionforge/
./autoinstall/install-src.sh

CentOS/RHEL (>=7), Fedora (>=21)

Run the fully-automated install script:

git clone git://fusionforge.org/fusionforge/fusionforge.git -b 6.0
cd fusionforge/
./autoinstall/install-src.sh

openSUSE

zypper install -y make gettext-runtime php5 php5-gettext php5-posix php5-pgsql \
    apache2 apache2-mod_php5 postgresql-server \
    subversion

# html-purifier:
zypper install php5-pear
pear channel-discover htmlpurifier.org
pear install hp/HTMLPurifier

If you want additional features:

zypper install mailman postfix  # lists
zypper install openssh  # shell
zypper instal cvs rcs perl-IPC-Run perl-URI   # plugin-scmcvs 
zypper instal subversion-server  # plugin-scmsvn; aka mod_dav_svn; depends on viewvc(!)
zypper install git git-web  # plugin-scmgit
zypper install apache2-mod_wsgi python-psycopg2  # plugin-moinmoin, though no 'moin' package :/
# plugin-mediawiki: no mediawiki package :/

Mageia (>= 5)

# target version: Mageia 5 64bits
urpmi -y gettext php-cli php-pgsql php-mbstring nscd apache postgresql9.4-server lib64nss-pgsql \
    apache-mod_dav_svn apache-mod_php apache-mod_ssl php-curl \
    unoconv poppler subversion git gitweb viewvc make
#mpm itk module
not provided. See [1] to install it.
# html-purifier:
urpmi php-pear
pear channel-discover htmlpurifier.org
pear install hp/HTMLPurifier
# plugin-mediawiki: warning provided mediawiki package not compatible with fusionforge
# plugin-moinmoin, no 'moin' package
# httpd mod_macro enable
you need to enable mod_macro. Edit your httpd configuration file accordingly.

Install

The install system can install essential components, or precisely what you want:

  • Manual, standard install - 3 steps:
make
make install prefix=/usr
make post-install
  • Manual, tuned install:
make
make install-base  # common+db+web
make install-shell  # (NSS+PostgreSQL)
make install-plugin-message
# adapt .ini configuration in /etc/fusionforge/config.ini.d/
make post-install-base  post-install-shell  post-install-plugin-message
  • No install (run directly from where you extracted the source tarball, experts only):
make
# adapt .ini to point 'source_path' to your tarball extract dir
make post-install ...

Note: if you choose an unconventional prefix, you need to tweak your PATH before executing the post-install step.

See also