| 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)
cd $rootDir/temp
echo "Downloading ISPConfig installlation package" | log
curlDownload https://git.ispconfig.org/ispconfig/ispconfig3/repository/archive.tar.gz?ref=stable-3.1 ispconfig.tar.gz
tar xfz ispconfig.tar.gz
cd $rootDir/temp/ispconfig3*/install/
echo "Installing Pure-FTPD" | log
apt install pure-ftpd-mysql -y
echo "Generating Configuration" | log
mv $rootDir/temp/ispconfig3*/docs/autoinstall_samples/autoinstall.ini.sample ./autoinstall.ini
sed -i "/^mysql_root_password/c\mysql_root_password=${ADMINPASSWORD}" ./autoinstall.ini
sed -i "/^ispconfig_admin_password/c\ispconfig_admin_password=${ADMINPASSWORD}" ./autoinstall.ini
sed -i "s/apache/nginx/" ./autoinstall.ini
php install.php --autoinstall=autoinstall.ini
systemctl start mysql.service
echo "adding descriptions" | log
descriptionAppend "ISPConfig Admin Web Interface: https://${CWM_SERVERIP}:8080/"
descriptionAppend "ISPConfig Admin Username: admin"
descriptionAppend "ISPConfig Admin Password: ${ADMINPASSWORD}"
descriptionAppend " "
tagScript success
exit 0