Linux

Distributions


The household server runs either Debian stable (buster) or Debian unstable (sid) depending on what I'm using it for.
I run Manjaro on my laptop.

Mounting other drives automatically

Using blkid get the UUIDs of the harddrives.
$ sudo /sbin/blkid

/dev/sdb1: LABEL="Videos" UUID="7AB298C12DC0D2BC" TYPE="ntfs" PTTYPE="dos" PARTUUID="941e1ae8-6dc0-4e7e-ba37-e0768d5ff81c"
/dev/sdc1: LABEL="Public" UUID="89b86fbb-c315-4a70-b314-2bde0b9a2b3b" TYPE="ext4" PARTUUID="eab02d56-01"
/dev/sda1: UUID="5b09fce4-5c5b-48da-9f0a-8347b16eb4d6" TYPE="ext4" PARTUUID="c663ed41-01"
/dev/sda5: UUID="fc4f9dc0-f2d8-44c5-b443-4643d77c9759" TYPE="swap" PARTUUID="c663ed41-05"
/dev/sde1: LABEL_FATBOOT="TWEEDLEDUM" LABEL="TWEEDLEDUM" UUID="9568-4AA8" TYPE="vfat" PARTUUID="00022c65-01"
Using that information edit the fstab to automatically mount the drive at boot.
$ sudo nano /etc/fstab
UUID=7AB298C12DC0D2BC /home/username/Videos/               ntfs    defaults,windows_names,uid=1000,gid=1000,dmask=027,fmask=137,locale=en_US.utf8
UUID=89b86fbb-c315-4a70-b314-2bde0b9a2b3b	/home/username/Public	ext4    errors=remount-ro 0       1

Installing additional software

Depending on what distrobution being used the commands to install software vary.
Ubuntu/Debian $ sudo apt-get install pkgname
Arch $ sudo pacman -S pkgname
Fedora $ sudo yum install pkgname
ardour
audacity
blender
calibre
deluge
fontforge
gimp
hydrogen
inkscape
kdenlive
keepassxc
kodi
krita
lmms
mediainfo-gui
openscad
scribus
solvespace
synfigstudio
telegram-desktop
vlc
winff

On the Debian server
 $ sudo dpkg --add-architecture i386
 $ sudo apt update
 $ sudo apt install nvidia-driver nvidia-driver-libs-i386 nvidia-vulkan-icd nvidia-vulkan-icd:i386
 $ sudo apt install steam
 $ sudo apt install network-manager-openvpn network-manager-openvpn-gnome

Configure the Samba server

Debian # apt install samba
# nano /etc/samba/smb.conf
#======================= Share Definitions =======================

[homes]
   comment = Home Directories
   browseable = no

[Public]
   comment = Public
   browseable = yes
   path = /home/username/Public
   guest ok = no
   read only = no

[Videos]
   comment = Videos
   browseable = yes
   path = /home/username/Videos
   guest ok = no
   read only = no
# smbpasswd -a username
# /sbin/service smbd restart