Skip to content

Commit 8d169b9

Browse files
authored
Merge pull request #149 from chpc-tech-eval/stag
Stag
2 parents 1b99bb4 + a33525f commit 8d169b9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You are strongly encouraged to get help and even assist others by [Opening and P
4141
4242
## Timetable
4343

44-
Everyday will comprise of four lectures in the mornings and tutorials taking place in the afternoons. A [PDF Version of the Timetable](resources/CHPC_2024_SCC_Local_Selection_Round_Timetable.pdf) is available for you to download.
44+
Everyday will comprise of four lectures in the mornings and tutorials taking place in the afternoons. A [PDF Version of the Timetable](./resources/CHPC_2024_SCC_Local_Selection_Round_Timetable.pdf) is available for you to download.
4545

4646
<p align="center"><img alt="Timetable." src="resources/CHPC_2024_SCC_Local_Selection_Round_Timetable.png" width=900 /></p>
4747

tutorial2/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -456,13 +456,11 @@ Stateful packet inspection, also referred to as dynamic packet filtering, is a n
456456
```
457457
1. You can now save your configuration to an output file
458458
```bash
459-
sudo nft -s list ruleset | tee hn.nft
459+
sudo nft -s list ruleset | sudo tee /etc/nftables/hn.nft
460460
```
461461
1. Edit your head node's nft file and modify the policy for `input` and `forward ` to be `drop`
462462
```bash
463-
nano hn.nft
464-
465-
sudo mv hn.nft /etc/nftables/
463+
sudo nano /etc/nftables/hn.nft
466464
```
467465
1. Amend the configuration file to include your changes when the service is restarted
468466
* Edit `nftables.conf`
@@ -584,14 +582,17 @@ The head node will act as the [NFS server](https://docs.rockylinux.org/guides/fi
584582

585583
1. Export the shares, then start and enable the `nfs-server` service using `systemctl` on the head node.
586584
```bash
587-
exportfs -ar
585+
sudo exportfs -ar
588586
sudo systemctl enable nfs-server
589587
```
590588
1. Mount the NFS export on your compute node
591589
```bash
592590
# You cannot mount /home while you are occupying it
593591
cd /
594592
sudo mount -t nfs <headnode_ip>:/home /home
593+
594+
# For SELinux based systems (RHEL, Rocky, Alma, CentOS Stream)
595+
sudo setsebool -P use_nfs_home_dirs 1
595596
```
596597
1. Verify that you successfully mounted `/home` export
597598
```bash

0 commit comments

Comments
 (0)