Categories

Debian – Error PHP5 – Unable to load dynamic library

Error :

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20131226/ssh2.so’ – /usr/lib/php5/20131226/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20131226/memcached.so‘ – /usr/lib/php5/20131226/memcached.so: cannot open shared object file: No such file or directory in Unknown on line […]

Debian – Antivirus ClamAV Debian 8 Jessie

Installation Antivirus ClamAV Debian

root@srv-khanh:~# apt-get install clamav Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: clamav-base clamav-freshclam libclamav7 libmspack0 Suggested packages: clamav-docs apparmor libclamunrar7 The following NEW packages will be installed: clamav clamav-base clamav-freshclam libclamav7 libmspack0 0 upgraded, 5 newly installed, 0 to remove […]

Debian – Docker Lizmap

Test docker Lizmap

Installer docker sur Debian 8 (Installation Docker) Le container khanh78/debian-lizmap contient les produits suivants : Apache 2 , PHP 7 , Qgis , Lizmap

 

 

Récupérer l’image

root@qgis:~# docker pull khanh78/lizmap-debian latest: Pulling from khanh78/lizmap-debian 4d43e3e8873c: Pull complete cfbc775b0fa8: Pull complete b0b3dee9e9c7: Pull complete 5d37079dc56a: Already exists Digest: sha256:06651a0e4f6e1a4bf9d554e13f435a1d896341a9281375c53585f5c549810196 Status: […]

Debian – Docker Portainer UI

root@debian:~# docker pull portainer/portainer latest: Pulling from portainer/portainer 3690474eb5b4: Pull complete 8b6c06755057: Pull complete 25f5b35443a5: Pull complete 6a99b8e76d78: Pull complete 47501d4299e7: Pull complete 051ffa2f51b0: Pull complete f4557f58f23b: Pull complete Digest: sha256:25cec153060b708a86f5a4c8ab26d26e3713e78e4ec6b488040e2a96bcf538b8 Status: Downloaded newer image for portainer/portainer:latest root@debian:~#

root@debian:~# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE portainer/portainer latest f4557f58f23b 2 days ago 9.256 […]

Debian – Installer docker sous Debian 8 Jessie

Configurer l’accès au repository : /etc/apt/source.list

#—————————————————————————————– # Security deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free

# France mirror deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.fr.debian.org/debian/ jessie main contrib non-free

#Docker deb http://http.debian.net/debian jessie-backports main #—————————————————————————————

Faire la mise à jour de Debian #apt-get update && apt-get upgrade -y

[…]

Debian : SMTP mail serveur Postfix

Debian – Update IP dynamic – DynHost at OVH

#crontab -l

#———————————————————————————– # Check IP Internet and change it if renew – Update 0 * * * * /data/scripts/IP-Check-Update.sh >/tmp/IP-Check-Update.log 2>&1 #———————————————————————————–

# cat /data/scripts/IP-Check-Update.sh #!/bin/bash ################################################################################ #CHANGE: « HOST », « LOGIN », « PASSWORD » and « LOG_FILE » #———————————————————————————— HOST=www.kdinh.fr LOGIN=ovf-identify PASSWORD=ovh-password LOG_FILE=/var/log/check-ip/dynhost_`date ‘+%d%m%Y’`.log [ ! -d /var/log/check-ip ] && mkdir […]

Debian – Error NGINX webmin plugins – Perl execution failed – HTML::Entities module

Error plugins nginx for webmin – Perl execution failed

Can’t locate HTML/Entities.pm in @INC (you may need to install the HTML::Entities module) (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl . /usr/share/webmin/) at /usr/share/webmin/nginx/index.cgi line 5. BEGIN failed–compilation aborted at /usr/share/webmin/nginx/index.cgi line 5.

root@srv-khanh:~# apt-get install libhtml-parser-perl Reading package lists… Done Building […]

Debian – Raspberry -PI – Ajout swap

Vérifier la zone de swap

root@srv-khanh:~# /sbin/dphys-swapfile setup wanted –> /var/swap=100MByte, checking existing: keeping it

Modifier le fichier /etc/dphys-swapfile pour changer la valeur du SWAP

CONF_SWAPSIZE=2048

Arrêt et redémarrer pour la prise en compte de la nouvelle valeur du SWAP

root@srv-khanh:~# /etc/init.d/dphys-swapfile stop [ ok ] Stopping dphys-swapfile (via systemctl): dphys-swapfile.service.

root@srv-khanh:~# /etc/init.d/dphys-swapfile start [ […]

PHP Warning: Module ‘memcache’ already loaded in Unknown line 0

Problème message : PHP Warning: Module ‘memcache’ already loaded in Unknown line 0

root@srv-khanh:/etc/php5# php -v PHP 5.6.29-0+deb8u1 (cli) (built: Dec 17 2016 06:04:43) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies root@srv-khanh:/etc/php5#

 

Mettre un # devant la […]