From 817145e0662d25ad922a43912241c503e65d93af Mon Sep 17 00:00:00 2001 From: Francesco Minnocci Date: Thu, 27 Apr 2023 16:57:59 +0000 Subject: [PATCH] initial setup --- Setup-iniziale.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Setup-iniziale.md 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