Setup Data Server
Setup network¶
Basic tools¶
Wireless¶
iwconfig
# assuming **wlx881100802445** as device id
sudo iwlist wlx881100802445 scan | grep ESSID
# Use SSID with password
sudo nmcli dev wifi connect "<SSID>" password "xxxxxxxx" ifname wlx881100802445
nmcli connection show
sudo nmcli connection modify "<SSID>" connection.autoconnect yes
sudo nmcli connection modify "<SSID>" connection.interface-name wlx881100802445
To Test speed¶
install speedtest-cli (If needed)Reconnect¶
this will work for ethernet tooMount disks¶
lsblkgives the list of disks connectedblkidgives the UUID and label./etc/fstabis where the disks are registerred# /dev/nvme1n1: LABEL="data-disk" UUID="a36d3595-ef77-4f2b-96ab-8d1db1caa691" BLOCK_SIZE="4096" TYPE="ext4" # /dev/sda1: LABEL="backup-disk" UUID="cb9f2f7b-cf68-40fb-b30e-dac9f223a156" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="backup-disk" PARTUUID="623244ce-c389-467b-8b4f-a265f1821e27" /dev/disk/by-uuid/a36d3595-ef77-4f2b-96ab-8d1db1caa691 /disks/nvm_bkup ext4 defaults,noatime,nodiratime,errors=remount-ro,nodev,nosuid,noexec 0 2 /dev/disk/by-uuid/cb9f2f7b-cf68-40fb-b30e-dac9f223a156 /disks/sata_bkup ext4 defaults,noatime,nodiratime,errors=remount-ro,nodev,nosuid,noexec 0 2
Add nofail so a missing disk can't hang boot
On a headless box, a disk that is absent or fails to mount can stall boot at an emergency prompt with no console to recover from. Add nofail so boot continues regardless, and x-systemd.device-timeout=10 to skip the long wait — especially for removable (USB) or non-critical disks: