I have been trying to install Wiki js with Apache 2
while executing command:
curl -sSo- https://wiki.js.org/install.sh | bash
got this error:
bash: line 1: Redirecting: command not found
How to avoid this and execute the command?
I have been trying to install Wiki js with Apache 2
while executing command:
curl -sSo- https://wiki.js.org/install.sh | bash
got this error:
bash: line 1: Redirecting: command not found
How to avoid this and execute the command?
Copyright © 2021 Jogjafile Inc.
curl https://wiki.js.org/install.shreturns a301status code with thelocationheader set tohttps://js.wiki/install.shand a response of'Redirecting to https://js.wiki/install.sh'which is piped to bash causing the error.You can instruct
curlto follow redirects using the-Lflag.Or you could fetch the script from https://js.wiki/install.sh and pipe it to
bash.