SD 12 GB n°3
hd card rouge n°3 (pour l'instant dans le raspberry au case transparant)
raspbian
au boot, quelques erreurs:)
- locales de Pearl : sudo dpkg-reconfigure locales (choisir fr-UTF-8)
- systemd-hostnamed[1374]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
-
failed to execute /lib/udev/mtp-probe
Installer libmtp-runtime : sudo apt-get install libmtp-runtime -
lightdm[558]: ** (lightdm:558): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
lightdm[558]: ** (lightdm:558): WARNING **: Could not enumerate user data directory /var/lib/lightdm/data: No such file or directory - sendmail "my unqualified host name" => dans /etc/hosts ajouter : 127.0.0.1 localhost localhost.localdomain
applis
install terminator, vlc, keepassX car Keepass2 KO
install drupal 8 (et drush)
test 1 (avec drupal-pi via ansible) KO
ansible 2.3.0.0, MySQL 5.5.54, Fail2ban, /usr/local/bin/drush 8.1.10 (configuré pour php7)
Vers installer drupal 8 sur un Pi - test 1 : Ansible, MySQL 5.5.54, Fail2ban, Sendmail, nginx, un mélange de php5 et php 7 :(
Source, qui date un peu est n'est pas à jour (drupal 8.1 avec php 5) : https://github.com/geerlingguy/drupal-pi
étude de drupal-pi
fichier de conf | notes et modifs |
---|---|
config.yml |
indique conf drupal (url, nom...), conf nginx, mysql, conf php 5 ouvre ports TCP 22 et 80 |
drupal.make.yml | drupal core 8.1 alors qu'on en est à 8.3.0 (modif) + devel 1.x-dev |
main.yml | s'assure de l'existance de php5-fpm et non de php/7.0/fpm (modifié) |
templates/www.conf.j2 | ref à /var/run/php5-fpm.sock -> /var/run/php/php7.0-fpm.sock |
test 2 : avec drupal composer
cf Installer drupal 8 et drush 8.1 sur un Pi - test 2 (drupal composer) et srv17 : install drupal 7
Manque de mémoire ?
en faisant un composer update
, j'ai eu une erreur "llack of memory or swap" "Cannot allocate memory in phar".
Un free -m
quitter par ex chrome, un autre free -m
la 1ere fois (avec chrome + applis ouvertes), ca ne passe pas | composer update est passé avec |
---|---|
total used free shared buffers cached Mem: 923 721 202 92 41 299 -/+ buffers/cache: 380 543 Swap: 99 95 4 |
total used free shared buffers cached Mem: 923 463 460 28 41 243 -/+ buffers/cache: 178 744 Swap: 99 69 30 |