Difference between revisions of "Common setup for all HPC nodes"

From Notes_Wiki
(Blanked the page)
Tag: Blanking
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Main Page|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 ==
<pre> sudo su - apt update apt -y install openssh-server vim htop stress munge </pre>
== 5. Set Root Password ==
<pre> passwd </pre>
== 6. Enable Root SSH Access ==
: Edit the SSH configuration file:
<pre> vim /etc/ssh/sshd_config </pre>
: Locate and change the following line:
<pre> PermitRootLogin yes </pre>
== 7. Restart SSH Service ==
<pre> systemctl restart sshd </pre>
== 8. Install Environment Modules ==
<pre> apt install -y environment-modules </pre>
== 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:
<pre> vim /etc/environment-modules/modulespath </pre>
: Add the following line:
<pre> /export/modules </pre>
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu HPC setup with slurm and linux containers]] > [[Common setup for all HPC nodes]]

Latest revision as of 12:15, 6 June 2025