Skip to content

Commit

Permalink
remove unneed port rules
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Oct 5, 2023
1 parent 31075db commit 49c8a0f
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 163 deletions.
10 changes: 1 addition & 9 deletions Set-up-centos.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,6 @@ Then we need to start docker
sudo systemctl start docker
```

Not sure this is needed.
```{bash eval=FALSE}
sudo firewall-cmd --zone=docker --add-port=8081/tcp
sudo firewall-cmd --reload
sudo systemctl restart docker
```

### Install dockerspawner

I am going to be creating the user environment from a docker image, so I also want dockerspawner. Note dockerspawner installed docker-py but it was really old and threw errors so I installed separately to get the latest version. Note make sure you are in the jupyterhub conda env. You can run `conda env list` and use `conda activate jupyterhub` if you are not in it.
Expand Down Expand Up @@ -482,13 +475,12 @@ Create user
useradd jhub
```

Open the 8000 (for jupyterhub) and 8787 (for RStudio) port
Open the 8000 port for access to the application.
```{bash eval=FALSE}
#sudo systemctl enable firewalld
#sudo systemctl start firewalld
sudo firewall-cmd --permanent --add-port 8000/tcp
sudo firewall-cmd --permanent --add-port 8787/tcp
sudo firewall-cmd --reload
sudo firewall-cmd --list-ports
```
Expand Down
Loading

0 comments on commit 49c8a0f

Please sign in to comment.