Pour les besoins de la Direction Technique d'E-Blink, il a ete decide de mettre en place un outil de suivi de developpment de systemes numeriques.
L'outil Redmine offre les possibilites suivantes:
La mise en place du serveur s'effectue sur un poste Linux. L'utilisateur a le choix dans la distribution Linux. Au sein de la Direction Technique d'E-Blink, le choix s'est porte sur une distribution Xubuntu 12.04 (LTS). La procedure d'installation et de configuration de la station linux sont disponible sur le site officiel Ubuntu.
The installation assumes that the web server and database are already in place, so you probably want to install the LAMP stack first if you don't already have it:
$ sudo tasksel install lamp-server
You will also need to install the Passenger apache module.
$ sudo apt-get install libapache2-mod-passenger
Also, the default AppArmor configuration can get in the way, so you may need to set the mysqld profile to complain:
$ sudo aa-complain /usr/sbin/mysqld
Installing Redmine 0.9.3 (Ubuntu 10.04) or Redmine 1.3.2 (Ubuntu 12.04) As of 10.04 and 12.04, Redmine is available through Ubuntu's package manager, and installation is simple:
sudo apt-get install redmine redmine-mysql
The second package, redmine-mysql, can be replaced by either redmine-pgsql or redmine-sqlite if you want to use either of those databases.
The installation process should prompt you for all the interesting details.
Redmine will now be installed in /usr/share/redmine and /etc/redmine
The package with Ubuntu 10.04 is stuck in the 0.9.x branch and Ubuntu 12.04 is stuck in the 1.3.x branch. A PPA exists that has the latest branch here: https://launchpad.net/~ondrej/+archive/redmine
To install redmine using the PPA:
sudo add-apt-repository ppa:ondrej/redmine sudo apt-get update sudo apt-get install redmine redmine-mysql
Note: If your server is behind a firewall, you will need to export your firewall settings before running add-apt-repository. Otherwise, the command will hang. Run the following
export http_proxy="http://proxy.your.server:port" and export https_proxy="http:proxy.your.server:port".
Symlink /usr/share/redmine/public to your desired web-accessible location. E.g.:
$ sudo ln -s /usr/share/redmine/public /var/www/redmine
By default, passenger runs as 'nobody', so you'll need to fix that. In /etc/apache2/mods-available/passenger.conf, add:
PassengerDefaultUser www-data
You'll also need to configure the /var/www/redmine location in /etc/apache2/sites-available/default by adding:
<Directory /var/www/redmine> RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on </Directory>
If you set your AppArmor mysqld profile to complain you ought to set it back to enforce:
$ sudo aa-enforce /usr/sbin/mysqld
Enable passenger:
$ sudo a2enmod passenger
Restart apache2
$ sudo service apache2 restart
and you should be able to access Redmine at: http://redmine.server.ip.address/redmine
If you receive a "403: Forbidden" error after setting up Redmine, the Redmine 'public' folder may have incorrect permissions set. The executable bit on the public folder must be enabled or you will receive a "403: Forbidden" error when attempting to access Redmine.
$ sudo chmod a+x /usr/share/redmine/public
sudo apt-get install openssh
sudo apt-get install samba smbfs smbnetfs
sudo apt-get install cvs subversion git