blog
Table des matières
0 billet(s) pour février 2026
Vérifier l'intégrité des fichiers avec Fim
Installation
Pour Java 8 sous Jessie, les backports sont nécessaire
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list apt-get update
Install
apt-get install -t jessie-backports openjdk-8-jre-headless
A partir des sources
Nous allons compiler le code Java.
apt-get install maven apt-get install -t jessie-backports openjdk-8-jdk
cd /opt git clone https://github.com/evrignaud/fim.git cd fim mvn clean install export PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin:$PATH alias fim='PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin:$PATH /opt/fim/fim'
Utiliser virtualenv dans un notebook iPython
Source : https://help.pythonanywhere.com/pages/IPythonNotebookVirtualenvs/
Install the ipython kernel module into your virtualenv
python3 -m venv plop cd plop source bin/activate pip install --upgrade pip pip install ipykernel #deactivate
Now run the kernel “self-install” script
python -m ipykernel install --user --name=plop
Replacing the --name parameter as appropriate.
You should now be able to see your kernel in the IPython notebook menu: Kernel → Change kernel and be able so switch to it (you may need to refresh the page before it appears in the list). IPython will remember which kernel to use for that notebook from then on.
Utilisateur plusieurs noms même uid
#chown -h -R --from=Plop:Plop reference:reference / find / /var /home /data /opt -xdev \( -type f -o -type d \) \( -uid $(id -u Plop) -o -gid $(id -g Plop) \) -exec chown $(id -u reference):$(id -g reference) {} \; usermod -o -u $(id -u reference) -g $(id -g reference) Plop
Coloration des logs
Voir aussi :
- lwatch
- dircolors
dmesg --color=always | less -R
ccze
apt-get update && apt-get install -y ccze
Exemples :
dmesg |ccze |less -r tail /var/log/syslog |ccze -A ccze -A < /var/log/syslog
blog.txt · Dernière modification : de 127.0.0.1
