Linux
Start chromium in remote machine from ssh
Section titled “Start chromium in remote machine from ssh”ssh user@ipDISPLAY=:0 chromium
Format a USB key (exFat is compatible with all OS)
Section titled “Format a USB key (exFat is compatible with all OS)”diskutil eraseDisk ExFAT {NAME_OF_USB_STICK} /dev/disk{X}
Configure a RAID 5
Section titled “Configure a RAID 5”- List existing disk
fdisk -l
- Get info about existing RAID
cat /proc/mdstat
- Get more info about a specific RAID
mdadm --detail /dev/md0
- Improve the speed of RAID creation
sysctl -w dev.raid.speed_limit_max=1000000
- Create the RAID with 4 disks:
mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
- Format the RAID volume as a partition
mkfs.ext4 /dev/md0
- Mount the RAID volume as a partition
mount /dev/md0 /mnt
- To ensure that the RAID configuration is saved and can be reassembled at boot, save the configuration:
mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
!> Important /!\ Verifiy the /etc/mdadm/mdadm.conf file that the config does not contains duplicate /!\
- Update the initial RAM filesystem so that the RAID array is recognized at boot:
update-initramfs -u