prep a grid vm script
This commit is contained in:
1 parent
88d1f46754
commit
5c154f79d5
1 file changed
+7
@@ -14,6 +14,13 @@ service docker start
|
|||||||
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh
|
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh
|
||||||
sh add-tf-users.sh
|
sh add-tf-users.sh
|
||||||
|
|
||||||
|
# install Caddy
|
||||||
|
apt install -y debian-keyring debian-archive-keyring apt-transport-https
|
||||||
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | tee /etc/apt/trusted.gpg.d/caddy-stable.asc
|
||||||
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
|
apt update
|
||||||
|
apt install caddy -y
|
||||||
|
|
||||||
# set propper sshd config
|
# set propper sshd config
|
||||||
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/sshd_config
|
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/sshd_config
|
||||||
cp sshd_config /etc/ssh/
|
cp sshd_config /etc/ssh/
|
||||||
|
|||||||
Reference in new issue
Block a user