Difference between revisions of "Common setup for all HPC nodes"
From Notes_Wiki
(Created page with "Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Common setup for all HPC nodes = 1. Install Ubuntu 22.04 = : Install Ubuntu 22.04 Server on all nodes with most default values. : Create a non-root user (e.g., admin) during setup. == 2. Login Using the Admin User == : Login to each node using the admin user. == 3. Configure History Retention == : Enable storing date and time along with each command in history, as explained...") |
|||
Line 16: | Line 16: | ||
== 4. Install Essential Packages == | == 4. Install Essential Packages == | ||
<pre> sudo su - apt update apt -y install openssh-server vim htop stress </pre> | <pre> sudo su - apt update apt -y install openssh-server vim htop stress munge </pre> | ||
== 5. Set Root Password == | == 5. Set Root Password == |
Revision as of 10:49, 6 June 2025
Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Common setup for all HPC nodes
1. Install Ubuntu 22.04
- Install Ubuntu 22.04 Server on all nodes with most default values.
- Create a non-root user (e.g., admin) during setup.
2. Login Using the Admin User
- Login to each node using the admin user.
3. Configure History Retention
- Enable storing date and time along with each command in history, as explained in the guide:
Storing date / time along with commands in history
4. Install Essential Packages
sudo su - apt update apt -y install openssh-server vim htop stress munge
5. Set Root Password
passwd
6. Enable Root SSH Access
- Edit the SSH configuration file:
vim /etc/ssh/sshd_config
- Locate and change the following line:
PermitRootLogin yes
7. Restart SSH Service
systemctl restart sshd
8. Install Environment Modules
apt install -y environment-modules
9. Re-login for Modules to Work
- After installation, logout and login again into each node to ensure module command works.
10. Configure Module Path
- Edit the module path configuration file:
vim /etc/environment-modules/modulespath
- Add the following line:
/export/modules
Home > Ubuntu > Ubuntu HPC setup with slurm and linux containers > Common setup for all HPC nodes