Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| fr:shard [2018/09/29 14:58] – [Web-admin] Correction pour être plus cohérent neodarz | fr:shard [2023/06/30 19:32] (Version actuelle) – YannK | ||
|---|---|---|---|
| Ligne 21: | Ligne 21: | ||
| Des essais ont été faits sur: | Des essais ont été faits sur: | ||
| * [[http:// | * [[http:// | ||
| - | * [[https:// | + | * [[https:// |
| - | * [[https:// | + | * [[https:// |
| * Windows (tuto non fini) | * Windows (tuto non fini) | ||
| - | * Sous debian | + | * Sous Debian |
| + | * Debian 10 Buster (en cours de test 29/08/2019) | ||
| ====Mise à jours des informations et packages pour linux:==== | ====Mise à jours des informations et packages pour linux:==== | ||
| Ligne 48: | Ligne 49: | ||
| apt install apache2 apache2-utils mariadb-server mariadb-client mcrypt | apt install apache2 apache2-utils mariadb-server mariadb-client mcrypt | ||
| </ | </ | ||
| - | php5 : | + | |
| - | < | + | php: |
| - | apt install | + | < |
| + | apt install | ||
| </ | </ | ||
| - | ou php 7.0 | + | |
| - | <code bash> | + | Pour le code AMS avant 2019-05-11 |
| - | apt install | + | php<7.2 |
| + | |||
| + | <code bash> | ||
| + | apt install | ||
| </ | </ | ||
| + | |||
| + | |||
| ===Nginx=== | ===Nginx=== | ||
| => Installez les paquets de LEMP : | => Installez les paquets de LEMP : | ||
| Ligne 82: | Ligne 89: | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code bash> | <code bash> | ||
| - | apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-dev rrdtool libmysqlclient18-dev bison libxmu-dev autoconf automake libcpptest-dev libgif-dev cpputest libssl-dev unzip p7zip p7zip-full screen | + | apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-dev rrdtool libmysqlclient18-dev bison libxmu-dev autoconf automake libcpptest-dev libgif-dev cpputest libssl-dev unzip p7zip p7zip-full screen |
| </ | </ | ||
| </ | </ | ||
| Ligne 88: | Ligne 95: | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code bash> | <code bash> | ||
| - | apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-dev rrdtool bison libxmu-dev autoconf automake libmysqlclient-dev libgif-dev libgif-dev cpputest libssl-dev unzip p7zip p7zip-full screen | + | apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-dev rrdtool bison libxmu-dev autoconf automake libmysqlclient-dev libgif-dev libgif-dev cpputest libssl-dev unzip p7zip p7zip-full screen |
| </ | </ | ||
| </ | </ | ||
| Ligne 94: | Ligne 101: | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code bash> | <code bash> | ||
| - | apt install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-turbo-dev rrdtool bison autoconf automake libmysqlclient-dev libgif-dev cpputest libssl-dev liblzma-dev unzip p7zip p7zip-full screen | + | apt install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-turbo-dev rrdtool bison autoconf automake libmysqlclient-dev libgif-dev cpputest libssl-dev liblzma-dev unzip p7zip p7zip-full screen |
| </ | </ | ||
| </ | </ | ||
| - | ===Debian 9=== | + | ===Debian 9 et 10=== |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code bash> | <code bash> | ||
| - | apt install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng-dev libjpeg62-turbo-dev rrdtool bison libxmu-dev autoconf automake default-libmysqlclient-dev libgif-dev cpputest libssl-dev liblzma-dev unzip p7zip p7zip-full screen | + | apt install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng-dev libjpeg62-turbo-dev rrdtool bison libxmu-dev autoconf automake default-libmysqlclient-dev libgif-dev cpputest libssl-dev liblzma-dev unzip p7zip p7zip-full screen |
| </ | </ | ||
| </ | </ | ||
| - | ===Installer Squish=== | + | |
| + | |||
| + | ===Installer Squish | ||
| *[[https:// | *[[https:// | ||
| <code bash> | <code bash> | ||
| Ligne 261: | Ligne 270: | ||
| =====Web-admin===== | =====Web-admin===== | ||
| - | Copier les sources du serveur web dans le dossier | + | Copier les sources du serveur web dans le dossier |
| <code bash> | <code bash> | ||
| cp -r $RYHOME/web ryzomweb | cp -r $RYHOME/web ryzomweb | ||
| Ligne 270: | Ligne 279: | ||
| ====Configurer Apache2 Web Serveur==== | ====Configurer Apache2 Web Serveur==== | ||
| <code bash> | <code bash> | ||
| - | nano / | + | nano / |
| </ | </ | ||
| Ligne 284: | Ligne 293: | ||
| DocumentRoot / | DocumentRoot / | ||
| - | ErrorLog ${APACHE_LOG_DIR}/ | + | ErrorLog ${APACHE_LOG_DIR}/ |
| - | CustomLog ${APACHE_LOG_DIR}/ | + | CustomLog ${APACHE_LOG_DIR}/ |
| | | ||
| < | < | ||
| Ligne 314: | Ligne 323: | ||
| DocumentRoot / | DocumentRoot / | ||
| - | ErrorLog ${APACHE_LOG_DIR}/ | + | ErrorLog ${APACHE_LOG_DIR}/ |
| - | CustomLog ${APACHE_LOG_DIR}/ | + | CustomLog ${APACHE_LOG_DIR}/ |
| </ | </ | ||
| </ | </ | ||
| + | Activer shard.conf | ||
| + | < | ||
| + | a2ensite shard | ||
| + | </ | ||
| Ouvrir le port 40916 | Ouvrir le port 40916 | ||
| < | < | ||
| Ligne 339: | Ligne 351: | ||
| server { | server { | ||
| - | | + | |
| - | listen | + | listen |
| - | server_name | + | server_name |
| - | | + | |
| - | access_log | + | access_log |
| - | error_log | + | error_log |
| - | | + | |
| - | root /home/compil/ryzomweb/public_php/; | + | root /var/www/ryzomweb/web/public_php; |
| + | index index.php index.html | ||
| - | #la première page de votre site | + | |
| - | # | + | |
| - | index index.php index.html; | + | |
| + | } | ||
| - | #Spécifie ou Nginx regarde | + | |
| - | | + | |
| - | # | + | |
| - | | + | } |
| - | #Ici la configuration Nginx fastcgi | + | location ~ /\.ht { |
| - | include | + | deny all; |
| + | } | ||
| - | #FastCGI Process Manager | + | location ~* .(?:png|html|ttf|ico|jpg|jpeg)$ { |
| - | fastcgi_pass unix:/run/ | + | try_files $uri /index.php$uri$is_args$args; |
| - | } | + | |
| + | access_log off; | ||
| + | | ||
| } | } | ||
| + | |||
| + | |||
| </ | </ | ||
| < | < | ||
| Ligne 373: | Ligne 392: | ||
| server { | server { | ||
| - | | + | |
| - | listen | + | listen |
| - | server_name | + | server_name |
| + | |||
| + | #Création des accès et des erreurs du logs dans / | ||
| + | access_log | ||
| + | error_log | ||
| - | | + | |
| - | access_log | + | root /var/www/ryzomweb/web/public_php; |
| - | | + | index index.php index.html ; |
| - | #Dossier de ryzomweb | + | |
| - | | + | |
| + | try_files $uri $uri/ =404; | ||
| + | } | ||
| - | # ajouter ici encore l' | + | |
| - | | + | include snippets/ |
| - | include snippets/ | + | fastcgi_pass unix:/var/ |
| - | fastcgi_pass unix:/ | + | } |
| - | } | + | |
| - | | + | |
| - | deny all; | + | deny all; |
| - | } | + | } |
| } | } | ||
| Ligne 718: | Ligne 742: | ||
| - | {{tag> | + | {{tag> |





