Logo Khaganat
Traductions de cette page?:

Cette page est noté comme étant en brouillon. Votre participation pour l'améliorer est requise !

Ceci est une ancienne révision du document !


Friendica

CLient

Server

Installation de Friendica sur Debian 10 avec Nginx

Packages

sudo apt update 
sudo apt install nginx curl git composer
sudo apt install php-fpm php-common php-gmp php-curl php-intl php-mbstring php-xmlrpc php-mysql php-gd php-imagick php-xml php-cli php-zip

Database SQL

sudo apt install mariadb-server mariadb-client
sudo mysql_secure_installation
  Enter current password for root (enter for none): Just press the Enter
  Set root password? [Y/n]: Y
  New password: Enter password
  Re-enter new password: Repeat password
  Remove anonymous users? [Y/n]: Y
  Disallow root login remotely? [Y/n]: Y
  Remove test database and access to it? [Y/n]:  Y
  Reload privilege tables now? [Y/n]:  Y
sudo mysql -u root -p
CREATE DATABASE friendica;
CREATE USER 'friendica_user'@'localhost' IDENTIFIED BY 'mon_mot_de_passe';
GRANT ALL ON friendica.* TO 'friendica_user'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;

PHP

sudo nano /etc/php/7.3/fpm/php.ini
file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
cgi.fix_pathinfo = 0
upload_max_filesize = 100M
max_execution_time = 360
max_input_vars = 1500
date.timezone = Europe/Paris
sudo service php7.3-fpm restart

Friendica et addon

cd /var/www
sudo git clone https://github.com/friendica/friendica.git -b master friendica
cd /var/www/friendica
sudo composer install --no-dev
sudo git clone https://github.com/friendica/friendica-addons.git -b master addon
 
sudo chown -R www-data:www-data /var/www/friendica/
sudo chmod -R 755 /var/www/friendica/

nginx

CC Attribution-Share Alike 4.0 International Driven by DokuWiki
fr/friendica.1591365815.txt.gz · Dernière modification : (modification externe)

Licences Mentions légales Accueil du site Contact Inclusion