There are plenty of tutorials on these subjects on Youtube/Reddit/… Some things would depend on the Linux distro you chose.