Indefero

InstallationRHELFedora


Table of Contents

How to install InDefero on Fedora or RHEL (Red Hat, CentOS, Scientific Linux)

Quick installation instruction

Indefero and Pluf framework are avalaible directly on Fedora repositories.

For RHEL 6 (Red Hat, CentOS, Scientific Linux), you must use the EPEL repository (How to install).

Installation of InDefero

The installation is composed of the following steps:

  • Install InDefero.
  • Configure it correctly.
  • Installation the database with the migrate.php script.
  • Bootstrap the application with a bootstrap.php script.

Install InDefero

Just use command:

$ sudo yum install indefero

Configure it correctly

Configuration files are in the /etc/indefero/ directory.

Installation the database

$ cd /usr/share/indefero
  • Run php /usr/share/php/pluf/migrate.php --conf=/etc/indefero/idf.php -a -i -d -u to test the installation of the tables.
  • Run php /usr/share/php/pluf/migrate.php --conf=/etc/indefero/idf.php -a -i -d to really install the tables.
  • More details about the migration is available in the migration documentation of the Pluf framework.

Bootstrap the application

  • Create a bootstrap file to create the admin user for example /usr/share/doc/indefero-x.y.z/bootstrap.php.sample. Do not forget to update the second line with your path to Pluf.
  • Run php bootstrap.php.
  • Remove the bootstrap.php file.
  • Now you can login with this user into the interface.
  • Click on the Forge Management link on top and create your first project.

Upgrade InDefero

To upgrade:

  • Make a backup of your data, including the database.
  • Upgrade from yum.
  • Remove all the *.phps files in your temp folder.
  • Upgrade the database with the upgrade commands:

    $ /usr/sbin/indefero_update

Repository Synchronization

The documentation is available in the doc folder.

  • Subversion: /usr/share/doc/indefero-x.y.z/doc/syncsvn.mdtext.
  • Mercurial: /usr/share/doc/indefero-x.y.z/doc/syncmercurial.mdtext.
  • Git: /usr/share/doc/indefero-x.y.z/doc/syncgit.mdtext.

For the Apache Webserver Users

If you are using Apache for your webserver and want to have nice URLs like http://yourdomain.com/p/yourproject/ and not http://yourdomain.com/index.php/p/yourproject/ you can edit the configuration (/etc/httpd/conf.d/indefero.conf) file and uncomment the good section.

# Uncomment following lines to activate rewrite rules
#RewriteEngine On
#RewriteBase /indefero
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*) index.php/$1

Using a SMTP server with authentication

If your SMTP server requires authentication, for example, smtp.gmail.com, you can use the following email configuration:

$cfg['send_emails'] = true;
$cfg['mail_backend'] = 'smtp';
$cfg['mail_auth'] = true;
$cfg['mail_host'] = 'ssl://smtp.gmail.com';
$cfg['mail_port'] = 465;
$cfg['mail_username'] = 'YOURGMAILADDRESS';
$cfg['mail_password'] = 'YOURPASSWORD';

Check with your provider to get the right settings.

Created: 11 years 3 months ago
by Natalie Adams

Page rendered in 0.03035s using 24 queries.