Installation - RPM
History Key
- New content
Removed content
Recent Versions
Choose two versions to compare, or click the link to view it.
Installation
To install the filesender RPM's on RedHat based Linux systems add the filesender yum repository1 to your system:
$ cd /etc/yum.repos.d/
$ sudo wget http://repository.filesender.org/rpm/filesender-stable.repo
$ sudo yum install filesender
This will install filesender, postgresql-server, simplesamlphp and their dependencies but requires manual installation of your favourite MTA (sendmail, postfix or exim will do).
Configuration
The RPM installation will take care of most steps mentioned in Installation - Linux Source. The following manual steps are still needed:
- The configuration part of Install and configure PostgreSQL by editing /var/lib/pgsql/data/pg_hba.conf (may need an initial service postgresql initdb).
- Create the FileSender user and database You'll first need to start the postgresql service (service postgresql start)
- Configure your FileSender installation
- Configure Apache2 with SSL
Note that the config directory is in /etc/filesender/ and the software is installed in /usr/share/filesender/ (with symlinks to /var/lib/filesender/ )
The package also installs a daily cronjob in /etc/cron.daily/filesender and some recommended PHP settings in /etc/php.d/filesender.ini
Starting the service
After installing and configuring you'll most likely will need to start the relevant services:
service postfix start
service postgresql start
service httpd start
If all is well you can add these services to the relevant run levels with chkconfig
Known issues
When updating withyum updatefrom a previousbetapackage the update process will fail. Just do ayum erase filesender; yum install filesenderinstead.- At the moment the RPM's are not relocatable.
- On RedHat and Centos5 the default PHP version is 5.1 which is too low. Recent
RedHat/CentosRedHat/Centos5 distros do provide separate php53 packages but these conflict with the 'default' php dependencies. Current advise is to replace 5.1 with PHP 5.2 or 5.3 from your favourite additional repository (IUS has php52 and php53u which do work nicely with the filesender and simplesamlphp packages). Additional info on https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=30881&forum=38 - CentOS6 has a recent enough version of PHP in the standard repositories, however the php-mcrypt package is missing (needed for SImpleSAMLphp). To get that package you'll need to add the EPEL repository (see: http://fedoraproject.org/wiki/EPEL ).
- If you get database connection errors (Permission denied) SELinux might be set to prevent the webserver user from making network connections. Check with getsebool httpd_can_network_connectand allow it (when disabled) with setsebool -P httpd_can_network_connect 1
- When updating with yum update from a previous 0.1.x beta package the update process will fail. Just do a yum erase filesender; yum install filesender instead.
Support and Feedback
See Support and Mailinglists and Feature requests.
1 replace 'stable' with 'testing' if you want to track release-previews or 'unstable' if you want to track the development nightly builds. Use 'oldstable' for the previous (old) release.