| Server IP : 104.129.129.72 / Your IP : 216.73.216.229 Web Server : LiteSpeed System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : answe8064 ( 1002) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /opt/installer/apps/ |
Upload File : |
#!/bin/bash
if [ -f "include/startup.sh" ]; then
. include/startup.sh
elif [ -f "../include/startup.sh" ]; then
. ../include/startup.sh
fi
rootDir=$(rootDir)
echo "Setting Hostname & adding it to hosts" | log
hostnamectl set-hostname ${CWM_DOMAIN}
echo "127.0.0.1 ${CWM_DOMAIN} localhost" >> /etc/hosts
echo "Installing application" | log
cd $rootDir/temp
curlDownload https://raw.githubusercontent.com/dokku/dokku/v0.24.8/bootstrap.sh
waitOrStop 0 "File not downloaded from github"
DOKKU_TAG=v0.24.8 bash bootstrap.sh
waitOrStop 0 "Failed to install application"
echo "Setting dokku domain"
dokku domains:set-global ${CWM_DOMAIN}
echo "Adding descriptions" | log
descriptionAppend "Please proceed to http://${CWM_DOMAIN}/ to finish the installation"
descriptionAppend " "
tagScript success
exit 0