updated tools folder, fixed openresty conf
This commit is contained in:
@@ -32,6 +32,8 @@ systemctl enable openresty mongod
|
||||
rm /etc/openresty/nginx.conf
|
||||
wget https://git.bprieshof.nl/ci/Releases/ShellHub/"$RelVer"/nginx.env -O /opt/ShellHub/nginx.env
|
||||
mv config/openresty.conf /etc/openresty/nginx.conf
|
||||
mkdir /var/run/openresty
|
||||
echo "d /var/run/openresty 0755 root root - -" > /usr/lib/tmpfiles.d/php-custom.conf
|
||||
echo " 127.0.0.1 ui api ssh mongo" > /etc/hosts
|
||||
systemctl start openresty mongod
|
||||
|
||||
@@ -43,7 +45,7 @@ wget https://git.bprieshof.nl/ci/Releases/ShellHub/"$RelVer"/BinServices/webui.t
|
||||
chmod +x /opt/ShellHub/ShellHubAPI
|
||||
chmod +x /opt/ShellHub/ShellHubSSH
|
||||
tar -zxf /tmp/webui.tar.gz -C /opt/ShellHub/ui
|
||||
mv Tools /opt/ShellHub/tools
|
||||
mv Tools/* /opt/ShellHub/tools/
|
||||
|
||||
##Generating keys
|
||||
openssl genrsa -out /opt/ShellHub/keys/api_private_key 2048
|
||||
|
||||
Reference in New Issue
Block a user