|
|
@ -43,13 +43,45 @@ Nous sommes une communauté amicale. |
|
|
|
![Capture d’écran de FreshRSS](http://marienfressinaud.fr/data/images/freshrss/freshrss_default-design.png) |
|
|
|
![Capture d’écran de FreshRSS](http://marienfressinaud.fr/data/images/freshrss/freshrss_default-design.png) |
|
|
|
|
|
|
|
|
|
|
|
# Installation |
|
|
|
# Installation |
|
|
|
1. Récupérez l’application FreshRSS via la commande git ou [en téléchargeant l’archive](https://github.com/FreshRSS/FreshRSS/archive/master.zip) |
|
|
|
1. Récupérez l’application FreshRSS via la commande git ou [en téléchargeant l’archive](../releases) |
|
|
|
2. Placez l’application sur votre serveur (la partie à exposer au Web est le répertoire `./p/`) |
|
|
|
2. Placez l’application sur votre serveur (la partie à exposer au Web est le répertoire `./p/`) |
|
|
|
3. Le serveur Web doit avoir les droits d’écriture dans le répertoire `./data/` |
|
|
|
3. Le serveur Web doit avoir les droits d’écriture dans le répertoire `./data/` |
|
|
|
4. Accédez à FreshRSS à travers votre navigateur Web et suivez les instructions d’installation |
|
|
|
4. Accédez à FreshRSS à travers votre navigateur Web et suivez les instructions d’installation |
|
|
|
5. Tout devrait fonctionner :) En cas de problème, n’hésitez pas à me contacter. |
|
|
|
5. Tout devrait fonctionner :) En cas de problème, n’hésitez pas à me contacter. |
|
|
|
6. Des paramètres de configuration avancée peuvent être accédés depuis [config.php](./data/config.default.php). |
|
|
|
6. Des paramètres de configuration avancée peuvent être accédés depuis [config.php](./data/config.default.php). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Exemple d’installation complète sur Linux Debian/Ubuntu |
|
|
|
|
|
|
|
```sh |
|
|
|
|
|
|
|
# Si vous utilisez le serveur Web Apache (sinon il faut un autre serveur Web) |
|
|
|
|
|
|
|
sudo apt-get install apache2 |
|
|
|
|
|
|
|
sudo a2enmod headers expires rewrite ssl |
|
|
|
|
|
|
|
# (optionnel) Si vous voulez un serveur de base de données MySQL |
|
|
|
|
|
|
|
sudo apt-get install mysql-server mysql-client php5-mysql |
|
|
|
|
|
|
|
# Composants principaux (git est optionnel si vous déployez manuellement les fichiers d’installation) |
|
|
|
|
|
|
|
sudo apt-get install git php5 php5-curl php5-gd php5-intl php5-json php5-gmp php5-sqlite |
|
|
|
|
|
|
|
# Redémarrage du serveur Web |
|
|
|
|
|
|
|
sudo service apache2 restart |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Pour FreshRSS lui-même |
|
|
|
|
|
|
|
cd /usr/share/ |
|
|
|
|
|
|
|
sudo git clone https://github.com/FreshRSS/FreshRSS.git |
|
|
|
|
|
|
|
# Mettre les droits d’accès pour le serveur Web |
|
|
|
|
|
|
|
cd FreshRSS |
|
|
|
|
|
|
|
sudo chown -R :www-data . |
|
|
|
|
|
|
|
sudo chmod -R g+w ./data/ |
|
|
|
|
|
|
|
# Publier FreshRSS dans votre répertoire HTML public |
|
|
|
|
|
|
|
sudo ln -s /usr/share/FreshRSS/p /var/www/html/FreshRSS |
|
|
|
|
|
|
|
# Naviguez vers http://example.net/FreshRSS pour terminer l’installation. |
|
|
|
|
|
|
|
# (Si vous le faite depuis localhost, vous pourrez avoir à ajuster le réglage de votre adresse publique) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mettre à jour FreshRSS vers une nouvelle version |
|
|
|
|
|
|
|
cd /usr/share/FreshRSS |
|
|
|
|
|
|
|
sudo git reset --hard |
|
|
|
|
|
|
|
sudo git pull |
|
|
|
|
|
|
|
sudo chown -R :www-data . |
|
|
|
|
|
|
|
sudo chmod -R g+w ./data/ |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
# Contrôle d’accès |
|
|
|
# Contrôle d’accès |
|
|
|
Il est requis pour le mode multi-utilisateur, et recommandé dans tous les cas, de limiter l’accès à votre FreshRSS. Au choix : |
|
|
|
Il est requis pour le mode multi-utilisateur, et recommandé dans tous les cas, de limiter l’accès à votre FreshRSS. Au choix : |
|
|
|
* En utilisant l’identification par formulaire (requiert JavaScript, et PHP 5.3.7+ recommandé – fonctionne avec certaines versions de PHP 5.3.3+) |
|
|
|
* En utilisant l’identification par formulaire (requiert JavaScript, et PHP 5.3.7+ recommandé – fonctionne avec certaines versions de PHP 5.3.3+) |
|
|
|