45 private links
Autopromo
Encore un super article !
Ha ouais, il est carrément bon ce gars !
Désolé pour ceux qui utilisent ma river. La machine est à genou. Je m'en occupe d'ici peu.
Coude :
Résolveurs DNS ouverts
Pour lutter contre la censure sur Internet, FDN fait le choix de mettre à disposition de toutes et tous des résolveurs DNS récursifs ouverts.
Ils sont disponibles aux adresses IPv4 et IPv6 suivantes :
ns0.fdn.fr : 80.67.169.12 ou 2001:910:800::12
ns1.fdn.fr : 80.67.169.40 ou 2001:910:800::40
C'est top :
One method may be to boot into a new kernel using kexec
apt-get install kexec-tools
dpkg-reconfigure kexec-tools
This should in theory make reboots kexec into a new kernel to do a reboot without rebooting the machine
#debian 7->8
apt-get update
apt-get upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/wheezy/jessie/' /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot
#debian 8->9
apt update
apt full-upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/jessie/stretch/' /etc/apt/sources.list
apt update
apt full-upgrade
reboot
#debian 9->10
apt update
apt full-upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/stretch/buster/' /etc/apt/sources.list
apt update
apt full-upgrade
reboot
#debian 10-> 11
apt update
apt upgrade
sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*.list
sudo sed -i 's#/debian-security bullseye/updates# bullseye-security#g' /etc/apt/sources.list
apt update
apt full-upgrade
apt autoremove
reboot
#debian 11-> 12
apt update
apt upgrade
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
sudo sed -i 's#/debian-security bullseye-updates# bookworm-security#g' /etc/apt/sources.list
apt update
apt upgrade --without-new-pkgs
apt full-upgrade
apt autoremove
reboot
Qui a dit que Linux c'était dur ?
Ultra foutage de gueule.
Une bonne nouvelle !
The table is pretty intelligible doing a mere, first comes the Main: and then Local:
cat /proc/net/fib_trie
or to see your network, IP addresses and netmask:
cat /proc/net/fib_trie | grep "|--" | egrep -v "0.0.0.0| 127."
|-- 193.136.1.0
|-- 193.136.1.2
|-- 193.136.1.255
|-- 193.136.1.0
|-- 193.136.1.2
|-- 193.136.1.255
grep '32 host LOCAL' -B 1 /proc/net/fib_trie | grep -Po '|-- \K(.*)' | grep -v '127.0.0.1' | sort | uniq | tr '\n' ' '
sinon via une commande propre : "hostname --all-ip-addresses || hostname -I"
Avis pertinent et intéressant sur l'offre fibre Orange.
How to shrink a VMDK: Shrinking a virtual disk in VMware ESXi
Posted in Computing, VMware
First open up Disk Management in Computer Management in your guest Windows environment.
Right click the volume on the disk you want to shrink.
Windows will inform you the maximum amount it can shrink the disk by. Choose an amount that you wish to actually shrink it by and click Shrink.
shrinkF
Windows will start the shrinking process and it might take some time and appear to be hanging as Windows will actually be defragmenting the disk in order to consolidate the free space towards the end of the disk before resizing the volume.
Once it is done and you are satisfied that the volume on the disk is the size you want it then you need to shut down the VM.
SSH into the host and copy the VMDK file to make a backup of it, just the descriptor file not the flat file.
cp vmname.vmdk vmname-original.vmdk
Open up the VMDK file in a text editor and find the line that describes the size of the flat file. Similar to the following
Extent description
RW 209715200 VMFS “vmname-flat.vmdk”
The number is the size of the virtual disk in terms of disk sectors, where each sector is 512 bytes. So a 100GB virtual disk is 209715200 sectors.
You will need to change this number to correspond to the new disk size where x = size in GB
vmdk_size = [x * (1024*1024*1024)] / 512
I have chosen to shrink my disk to 60gb, so my new Extent description now reads as follows:
Extent description
RW 125829120 VMFS “vmname-flat.vmdk”
You now need to clone the drive to get it to the new size:
vmkfstools -i vmname.vmdk vmname-new.vmdk
The bit we are interested in is the newly created vmname-new-flat.vmdk file.
Rename the old flat file from vmname-flat.vmdk to vmname-flat-old.vmdk
and rename the vmname-new-flat.vmdk file to vmname-flat.vmdk
Start the VM up and it should show the new smaller disk. When you are satisfied that everything is working you can now delete the old unneeded files from your datastore.
Heu... J'aimerai savoir pourquoi 4 SSD flanchent d'un coup ?
Ça paraît normal, mais il faut le rappeler.
Il va mourir pour la sixième fois cette année... Ça commence à faire beaucoup non ?
À lire aussi : sur les épaules de Darwin de JC Amesseine.
Ou screen.
Cool ! L'application est déjà pas mal mais en plus elle évolue !
-> QPC : un avocat attaque le nouveau délit de consultation de sites terroristes https://t.co/QLwNTo6bkN via @nextinpact
Et pour info, le survol de la souris sur un lien peut charger des éléments du lien (page, dns, etc). On vous aura prévenu.
En attendant, énormément de villes sont sous le monopole d'Orange qui fait payer la fibre à prix cher, voire détonnant. Bienvenue dans l'Internet à deux vitesses d'Orange...