Scripts: Add usage comment to dist/install-firewall.sh
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
0ff2fee91d
commit
4c40e7612a
1 changed files with 3 additions and 0 deletions
3
scripts/dist/install-firewall.sh
vendored
3
scripts/dist/install-firewall.sh
vendored
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# This installs a simple firewall on Ubuntu Linux that only allows incoming http, https and ssh connections.
|
||||||
|
# bash <(curl -s https://raw.githubusercontent.com/photoprism/photoprism/develop/scripts/dist/install-firewall.sh)
|
||||||
|
|
||||||
# Install ufw package if needed:
|
# Install ufw package if needed:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -qq install --no-install-recommends ufw
|
sudo apt-get -qq install --no-install-recommends ufw
|
||||||
|
|
Loading…
Reference in a new issue