Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
doc:raspi_tools [2022/03/25 23:35] – [Raspberry pi tools] admindoc:raspi_tools [2023/09/05 00:13] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<php>  if ($_SERVER['PHP_AUTH_USER'] != 'jeff' && $_SERVER['PHP_AUTH_USER'] != 'marina' && 
 +           $_SERVER['PHP_AUTH_USER'] != 'jflemay@hotmail.com' && $_SERVER['PHP_AUTH_USER'] != 'marina.lemay@hotmail.com'
 +    die('no rights to read this page'); }  </php>
 +
 ====== Raspberry pi tools ====== ====== Raspberry pi tools ======
 x x
   * long life for SD card   * long life for SD card
     * Disable swap : \\ free -m \\ cat /proc/swaps  \\ sudo swapoff --all  \\  sudo swapoff -a \\ rm /swapfile \\ rm /var/swapfile     * Disable swap : \\ free -m \\ cat /proc/swaps  \\ sudo swapoff --all  \\  sudo swapoff -a \\ rm /swapfile \\ rm /var/swapfile
-    * dphys-swapfile swapoff+    * __dphys-swapfile swapoff__ 
 +    * You can set this in /etc/systemd/journald.conf like so: \\ SystemMaxUse=100M
     * Assign the __noatime__ mount flag to partitions residing on the SD card by adding it to the options section of the partition in /etc/fstab.      * Assign the __noatime__ mount flag to partitions residing on the SD card by adding it to the options section of the partition in /etc/fstab. 
     * Highly used directories such as /var/tmp/ and possibly /var/log can be relocated to RAM in /etc/fstab like this: \\ tmpfs /var/tmp tmpfs nodev,nosuid,size=50M 0 0     * Highly used directories such as /var/tmp/ and possibly /var/log can be relocated to RAM in /etc/fstab like this: \\ tmpfs /var/tmp tmpfs nodev,nosuid,size=50M 0 0
  • doc/raspi_tools.1648247709.txt
  • Dernière modification : 2022/03/25 23:35
  • de admin