Pour utiliser les touches fonctions (F1, F2, ...) au lieu des touches media par défaut sur un clavier Logitech K290 sous linux
Bug #1245081 “macbook keyboard layout maps the tilde key to some...” : Bugs : linux package : Ubuntu
Pour inverser le mapping des touches #@ et <> sur un clavier mac sous linux:
echo "echo 0 > /sys/module/hid_apple/parameters/iso_layout" >> /etc/rc.local
Comment installer Ubuntu sur MacOS X El Captain. C'est le créateur de Refind qui répond à la question. Testé et approuvé
- Boot the Ubuntu installer into "try without installing mode."
- Open a Terminal program window.
- In the Terminal, type ubiquity -b. This will run the Ubuntu installer, but -b tells it to not install a boot loader. If you follow advanced installation options, be sure to use ext4fs as your filesystem. Do not use a separate /boot partition unless you use LVM, RAID, or an encrypted root (/) partition. You may need to shrink your OS X partition to make room for Ubuntu (or you can do that before you start).
- When you're done, reboot, but hold down Command+R to boot into the OS X recovery environment.
- Launch a Terminal window and type csrutil disable to disable SIP.
- Reboot. The system should boot OS X normally.
- Install rEFInd.
Procédure pour étendre un volume EBS sur AWS.
Pour étendre un root disk partitionné, il faut aussi aller voir de ce côté: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/storage_expand_partition.html
TLDR:
- Arrêter l'instance EC2 et détacher le volume EBS
- Faire un snapshot au cas où
- Attacher le volume à une autre instance EC2
- Resizer la partition avec parted
- Resizer le FS si nécessaire (resize2fs ou autre)
- Lancer un FSCK sur la partition au cas ou
- Arrêter l'instance EC2 et détacher le volume EBS
- Rattacher le volume EBS à l'instance d'origine et la redémarrer
Il va falloir que je me créé des AMI avec LVM ça simplifieras légèrement les choses...
Une distrib Linux minimale qui se concentre sur la légèreté et la sécurité. L'image de base fait 8Mo (sans le kernel Linux) et peu faire une bonne base de départ pour des containers docker
bonnes pratiques de sécurité pour une station de travail linux
Un classement de tutos pour différents langages (ruby, python, ...) et outils (git, puppet, chef, aws ec2, ...)
Pour optimiser la taille d'un JPEG:
jpegtran -optimize -outfile $newfile.jpg $oldfile.jpg
jpegtran -progressive -outfile $newfile.jpg $oldfile.jpg
Un petit tuto pour mettre en place SSL sur nginx avec un certificat gratuit de chez https://www.startssl.com/
Testé et approuvé!
Enregistrement de WAS en tant que service Linux
La doc officielle Red Hat 7
Le Debian Handbook par un français...