44 private links
Il y a sûrement des points intéressants à mettre en oeuvre
Un petit mémo bash, il contient la base mais c'est toujours pratique !
Une page (longue) décrivant la beauté de la ligne de commande !
Un condensé de règles Iptable pour sécuriser sa machine GNU/Linux simplement
Superbe questionnaire !
Beaucoup à lire pour renforcer la sécurité d'une machine sous GNU/Linux
Un ordinateur libre, encore cher, mais à garder sous le coude pour la suite
Un éditeur visuel pour cron, très pratique pour éviter de relire la doc à chaque fois ;-)
Un petit recueil de points à vérifier quand on veut sécuriser un peu son installation GNU/Linux
Comme le titre l'indique...
Script Bash bien documenté.
echo "Changing path.."
cd "/sauvegardes/"
if [ -f 'archivage.lock.txt' ]; then
echo "Lockfile found, exit"
exit
fi
echo "Setting lockfile"
touch 'archivage.lock.txt'
filename=$(date +%Y-%m-%d)
echo "Finding oldest archive"
oldest=$(ls -tr1 "archives/" | head -1)
echo "Oldest is $oldest, moving to $filename"
mv "archives/$oldest" "archives/$filename"
echo "Now doing rsync archive"
rsync -a --progress --delete-before --no-inc-recursive "incoming/" "archives/$filename/"
touch "archives/$filename/"
echo "Finished, removing lock and exit"
rm 'archivage.lock.txt'Voilà ce qu'il me reste à faire
voir aussi : http://www.jonathandupre.fr/articles/articles.php?id=75&cat=29
À conserver, pour le moment opportun
Site pour générer la ligne PS1 du .bashrc pour personnaliser son shell sous GNU/Linux
Fixing UNetbootin on Mac OS X to create a Bootable Linux USB
If you had issues trying to create a bootable linux usb for a pc, from your Mac, the below tutorial might help you. Even though it sounds slightly ironic, creating a pc bootable linux distro from a Mac, it's a situation I recently faced. So sharing the workaround.
The issue is the last version of UNetbootin I tried, extracts and installs linux successfully, however fails to create a bootable usb. So here are the steps :
- Go to finder/Spotlight, and launch Disk Utility
- Select the usb disk, and create a partition. Format it as MS-DOS FAT and select Options > MBR
- Go to the Terminal, and type the following
diskutil list
locate the name of your usb device.
diskutil unmountDisk /dev/rdisk2
Make the partition active and unmount the disk
sudo fdisk -e /dev/rdisk2
f 1
write
exitdiskutil unmountDisk /dev/rdisk2
- Now, download the latest syslinux.zip (https://www.kernel.org/pub/linux/utils/boot/syslinux/), and extract and locate the mbr.bin
Go back to the extracted folder in the terminal, and install mbr.bin
sudo dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/rdisk2
- Now download and install UNetbootin for Mac, and proceed as usual. Select the distro and click ok.
This usb stick should be bootable on any pc, with your favorite distro :)
Un logiciel Scan & Forget sous GNU/Linux très intéressant. Vivement une machine GNU/Linux à la maison.
Récapitulatif de ces commandes GNU/Linux et de leur usage pratique.