diff --git a/Setup-iniziale.md b/Setup-iniziale.md new file mode 100644 index 0000000..5ba7474 --- /dev/null +++ b/Setup-iniziale.md @@ -0,0 +1,27 @@ +Script utilizzato per installare le macchine: + +```bash +#!/bin/bash + +mkdir /scratch + +chown -R rock:rock /home/rock + +# Don't ask for anything +export DEBIAN_FRONTEND=noninteractive + +# Cambia il fuso orario +timedatectl set-timezone Europe/London + +# Fixa la chiave pubblica delle repository (da https://forum.radxa.com/t/gpg-error-with-ubuntu-server-20-04/13392) +wget -O - apt.radxa.com/focal-stable/public.key | sudo apt-key add - + +# Repository aggiuntive +add-apt-repository ppa:gluster/glusterfs-7 -y + +# Update & Upgrade +apt update -y && apt upgrade -y + +# Install required packages +apt -y install build-essential gcc openmpi-bin openmpi-common libopenmpi-dev glusterfs-server slurm python3-pip valgrind tree git curl man-db mc parallel neovim unrar atool +``` \ No newline at end of file