├── README.md ├── api-install.sh ├── bin └── v-app ├── func └── app-installer │ ├── base.sh │ ├── scripts.sh │ └── scripts │ ├── Joomla-3.5.0.zip │ ├── Nibble-4.0.5.zip │ ├── OpenCart-2.0.3.1.zip │ ├── PrestaShop-1.6.1.1.zip │ ├── SMF-2.0.10.zip │ ├── Textpattern-4.5.7.zip │ ├── WordPress-4.3.zip │ └── phpBB-3.1.5.zip └── web ├── app-installer ├── footer.php ├── header.php ├── img │ ├── index.html │ ├── index.php │ ├── joomla.png │ ├── nibbleblog.png │ ├── opencart.png │ ├── phpbb.png │ ├── prestashop.png │ ├── smf.png │ ├── textpattern.png │ └── wordpress.png ├── index.php └── scripts_DB.php └── templates ├── admin └── panel.html └── user └── panel.html /README.md: -------------------------------------------------------------------------------- 1 | # Vesta Automatic App Installer 2 | 3 | ### install 4 | 5 | Connect to your server as root 6 | 7 | ```bash 8 | curl -LOk https://github.com/pkfrom/vesta-app-installer/raw/master/api-install.sh 9 | bash api-install.sh 10 | ``` 11 | -------------------------------------------------------------------------------- /api-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Automatic APP INSTALLER FOR VESTA CP 3 | # THIS SOFTWARE IS PROVIDED FOR FREE BY JOE MATTOS OWNER OF CDNMALL.COM. 4 | 5 | # Includes 6 | source $VESTA/func/main.sh 7 | source $VESTA/conf/vesta.conf 8 | 9 | cp -f $VESTA/web/templates/user/panel.html $HOMEDIR/$BACKUP/panel.html_USER 10 | cp -f $VESTA/web/templates/admin/panel.html $HOMEDIR/$BACKUP/panel.html_ADMIN 11 | 12 | cd ~/ 13 | curl -LOk https://github.com/pkfrom/vesta-app-installer/releases/download/v1.0.2/app-installer.zip 14 | unzip -o app-installer.zip -d /usr/local/vesta 15 | rm -rf app-installer.zip 16 | chmod 755 $VESTA/bin/v-app 17 | 18 | echo "********************************************" 19 | echo "********************************************" 20 | echo "********************************************" 21 | echo "Vesta CP Automatic APP INSTALLER is Now Installed........" 22 | echo "********************************************" 23 | echo "********************************************" 24 | echo "********************************************" 25 | 26 | exit 27 | 28 | 29 | -------------------------------------------------------------------------------- /bin/v-app: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Automatic APP INSTALLER FOR VESTA CP 3 | # THIS SOFTWARE IS PROVIDED FOR FREE BY JOE MATTOS OWNER OF CDNMALL.COM. 4 | # BY USING THIS SOFTWARE YOU AGREE NOT TO TAKE ANY CREDIT FOR THIS SOFTWARE OR ITS SOURCE CODE, SELL THIS SOFTWARE OR ITS SOURCE CODE, OR USE ANY SOURCE CODE FOR ANYTHING WITH OUT MY CONSENT. 5 | 6 | # Include vesta config 7 | source $VESTA/func/main.sh 8 | source $VESTA/conf/vesta.conf 9 | 10 | # Users Username 11 | user=$1 12 | if [ -z "$user" ]; then 13 | echo "Please Enter A Username" 14 | exit $E_NOTEXIST 15 | fi 16 | 17 | # Users Install Directory 18 | APPI_USER_INSTALL=$2 19 | if [ -z "$APPI_USER_INSTALL" ]; then 20 | echo "Please Enter A Install Directory" 21 | exit $E_NOTEXIST 22 | fi 23 | 24 | # Users Public HTML Path 25 | APPI_USER_HTTP=$3 26 | if [[ $APPI_USER_HTTP != "public_html" && $APPI_USER_HTTP != "public_shtml" ]]; then 27 | echo "Invalid Public HTML Path" 28 | exit $E_NOTEXIST 29 | fi 30 | 31 | # Users Domain 32 | APPI_USER_DOMAIN=$4 33 | if [ -z "$APPI_USER_DOMAIN" ]; then 34 | echo "Please Enter A Domain" 35 | exit $E_NOTEXIST 36 | fi 37 | 38 | # Users selected App Package 39 | APPI_USER_PACKAGE=$5 40 | if [ -z "$APPI_USER_PACKAGE" ]; then 41 | echo "Please Enter A Package" 42 | exit $E_NOTEXIST 43 | fi 44 | 45 | # Users selected App Package Version 46 | APPI_USER_PACKAGEV=$6 47 | if [ -z "$APPI_USER_PACKAGEV" ]; then 48 | echo "Please Enter the Version of $APPI_USER_PACKAGE you wish to install" 49 | exit $E_NOTEXIST 50 | fi 51 | 52 | # Users Admin Username 53 | APPI_SD_USER=$7 54 | if [ -z "$APPI_SD_USER" ]; then 55 | echo "Please Enter A Admin Username" 56 | exit $E_NOTEXIST 57 | fi 58 | 59 | # Users Admin Email 60 | APPI_SD_EMAIL=$8 61 | if [ -z "$APPI_SD_EMAIL" ]; then 62 | echo "Please Enter A Email Address" 63 | exit $E_NOTEXIST 64 | fi 65 | 66 | # Users Admin New Password 67 | APPI_SD_PASS=$(cat /dev/urandom| tr -dc 'a-z0-9A-Z' | head -c 12) 68 | 69 | # Location of app packages no trailing slash 70 | APPI="$VESTA/func/app-installer/scripts" 71 | 72 | # Make Location of User Install Directory with trailing slash 73 | APPI_USER_INSTALLDIR="$HOMEDIR/$user/web/$APPI_USER_DOMAIN/$APPI_USER_HTTP$APPI_USER_INSTALL/" 74 | 75 | # Make Location of User Install Directory without trailing slash 76 | APPI_INSTALLDIR="$HOMEDIR/$user/web/$APPI_USER_DOMAIN/$APPI_USER_HTTP$APPI_USER_INSTALL" 77 | 78 | # Include web app installer config 79 | source $VESTA/func/app-installer/base.sh 80 | source $VESTA/func/app-installer/scripts.sh 81 | 82 | # Check User 83 | is_object_valid 'user' 'USER' "$user" 84 | is_object_unsuspended 'user' 'USER' "$user" 85 | is_object_valid 'web' 'DOMAIN' "$APPI_USER_DOMAIN" 86 | 87 | 88 | # Start Install start base and scripts files 89 | if [ "$(declare -F "INSTALL_$APPI_USER_PACKAGE"_"$APPI_USER_PACKAGEV")" ]; then 90 | BASE_CHECK 91 | INSTALL_$APPI_USER_PACKAGE"_"$APPI_USER_PACKAGEV 92 | BASE_CLEAN_UP 93 | echo "Congratulations, $APPI_USER_PACKAGE $APPI_USER_PACKAGEV has successfully been installed. Please check your email for login credentials." 94 | exit $OK 95 | else 96 | echo "NO SUCH APP EXISTS - $APPI_USER_PACKAGE $APPI_USER_PACKAGEV" 97 | exit $E_NOTEXIST 98 | fi -------------------------------------------------------------------------------- /func/app-installer/base.sh: -------------------------------------------------------------------------------- 1 | # Automatic APP INSTALLER FOR VESTA CP 2 | # THIS SOFTWARE IS PROVIDED FOR FREE BY JOE MATTOS OWNER OF CDNMALL.COM. 3 | 4 | function BASE_CHECK () { 5 | if [ ! -d "$APPI_USER_INSTALLDIR" ]; then 6 | mkdir -p $APPI_USER_INSTALLDIR 7 | fi 8 | 9 | if [ "$(ls -A $APPI_USER_INSTALLDIR)" ]; then 10 | echo "INSTALL DIRECTORY $APPI_INSTALLDIR MUST BE EMPTY" 11 | exit $E_EXISTS 12 | fi 13 | 14 | if [ ! -f "$APPI/$APPI_USER_PACKAGE-$APPI_USER_PACKAGEV.zip" ]; then 15 | echo "Installation Issue: Unable to locate APP PACKAGE." 16 | BASE_BD_INSTALL $E_INVALID 17 | fi 18 | } 19 | 20 | function BASE_CLEAN_UP() { 21 | chown -R $user:$user $HOMEDIR/$user/web/$APPI_USER_DOMAIN/$APPI_USER_HTTP 22 | 23 | if [ -f $APPI_USER_INSTALLDIR"/app_data.sql" ]; then 24 | rm -rf $APPI_USER_INSTALLDIR/app_data.sql 25 | fi 26 | 27 | BASE_SEND_MAIL 28 | } 29 | 30 | function BASE_SEND_MAIL() { 31 | 32 | echo -e "Congratulations, you have just successfully installed $APPI_USER_PACKAGE $APPI_USER_PACKAGEV, 33 | 34 | http://${APPI_USER_DOMAIN}${APPI_USER_INSTALL} 35 | 36 | Your Login Credentials: 37 | 38 | Username: $APPI_SD_USER 39 | Password: $APPI_SD_PASS 40 | 41 | http://${APPI_USER_DOMAIN}${APPI_USER_INSTALL}/${APPI_QST} 42 | ________________________________________ 43 | 44 | Installation Directory: $APPI_USER_INSTALLDIR 45 | DB HOST: $APPI_DB_HOST / DB NAME: $APPI_DB_NAME / DB USER: $APPI_DB_USER / DB PASS: $APPI_DB_PASS / DB PRE: $APPI_DB_TPREF" | $VESTA/web/inc/mail-wrapper.php -s " $APPI_USER_PACKAGE $APPI_USER_PACKAGEV Installation Details " $APPI_SD_EMAIL 46 | } 47 | 48 | function BASE_INSTALL_START() { 49 | 50 | unzip -qnd $APPI_USER_INSTALLDIR $APPI/$APPI_USER_PACKAGE-$APPI_USER_PACKAGEV.zip 51 | 52 | #APP SQL 53 | if [[ $1 == "y" && ! -f $APPI_USER_INSTALLDIR"app_data.sql" ]]; then 54 | echo "Installation Issue: Unable to locate app data file." 55 | BASE_BD_INSTALL $E_INVALID 56 | fi 57 | 58 | if [[ $3 != "n" && $2 != "n" ]]; then 59 | 60 | #APP CONFIG 61 | if [[ $3 == "n" && ! -f "$APPI_USER_INSTALLDIR$2" ]]; then 62 | echo "Installation Issue: Unable to locate app Config file." 63 | BASE_BD_INSTALL $E_INVALID 64 | fi 65 | 66 | if [[ $3 != "n" && ! -f "$APPI_USER_INSTALLDIR$3" ]]; then 67 | echo "Installation Issue: Unable to locate app Config file." 68 | BASE_BD_INSTALL $E_INVALID 69 | fi 70 | 71 | if [[ ! -f "$APPI_USER_INSTALLDIR$2" && $3 != "n" ]]; then 72 | mv $APPI_USER_INSTALLDIR$3 $APPI_USER_INSTALLDIR$2 73 | fi 74 | 75 | if [[ $2 != "n" && ! -f "$APPI_USER_INSTALLDIR$2" ]]; then 76 | echo "Installation Issue: Unable to locate app Config file $2." 77 | BASE_BD_INSTALL $E_INVALID 78 | fi 79 | 80 | fi 81 | 82 | } 83 | 84 | function BASE_BD_INSTALL() { 85 | if [[ -n "$APPI_USER_INSTALLDIR" && -d "$APPI_USER_INSTALLDIR" ]]; then 86 | rm -rf $APPI_USER_INSTALLDIR 87 | fi 88 | 89 | if [[ -n "$APPI_DB_NAME" && -d "/var/lib/mysql/"$APPI_DB_NAME ]]; then 90 | $BIN/v-delete-database $user $APPI_DB_NAME 91 | fi 92 | 93 | exit $1 94 | } 95 | 96 | function NEW_DB() { 97 | APPI_DB_HOST="localhost" 98 | APPI_DB_NAME=$(cat /dev/urandom | tr -dc 'a-z'| head -c 5) 99 | APPI_DB_USER=$(cat /dev/urandom | tr -dc 'a-z'| head -c 5) 100 | APPI_DB_PASS=$(cat /dev/urandom | tr -dc 'a-z'| head -c 10) 101 | APPI_DB_TPREF=$(cat /dev/urandom | tr -dc 'a-z'| head -c 5)"_" 102 | APPI_DB_CHAR="utf8" 103 | 104 | $BIN/v-add-database $user $APPI_DB_NAME $APPI_DB_USER $APPI_DB_PASS 105 | 106 | if [ $? -ne 0 ]; then 107 | BASE_BD_INSTALL $E_DB 108 | fi 109 | 110 | APPI_DB_NAME=$user"_"$APPI_DB_NAME 111 | APPI_DB_USER=$user"_"$APPI_DB_USER 112 | } 113 | 114 | function IPORT_DB() { 115 | mysql -h $APPI_DB_HOST -u$APPI_DB_USER -p$APPI_DB_PASS -D$APPI_DB_NAME < $APPI_USER_INSTALLDIR"app_data.sql" 116 | 117 | if [ $? -ne 0 ]; then 118 | echo "Installation Issue: $APPI_USER_PACKAGE has mysql import problems." 119 | BASE_BD_INSTALL $E_DB 120 | fi 121 | } -------------------------------------------------------------------------------- /func/app-installer/scripts.sh: -------------------------------------------------------------------------------- 1 | # Automatic APP INSTALLER FOR VESTA CP 2 | # THIS SOFTWARE IS PROVIDED FOR FREE BY JOE MATTOS OWNER OF CDNMALL.COM. 3 | 4 | function INSTALL_WordPress_4.3() { 5 | 6 | APPI_QST="wp-admin/" 7 | 8 | BASE_INSTALL_START "y" "wp-config.php" "n" 9 | 10 | NEW_DB 11 | 12 | sed -i "s/##CHARSET##/$APPI_DB_CHAR/;s%##TPREF##%$APPI_DB_TPREF%;s%##SITEURL##%http\:\/\/$APPI_USER_DOMAIN$APPI_USER_INSTALL%;s/##ADMIN_PASS##/$APPI_SD_PASS/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s/##ADMIN_USER##/$APPI_SD_USER/g" $APPI_USER_INSTALLDIR"app_data.sql" 13 | sed -i "s/database_name_here/$APPI_DB_NAME/;s/username_here/$APPI_DB_USER/;s/password_here/$APPI_DB_PASS/;s/localhost/$APPI_DB_HOST/;s/utf8/$APPI_DB_CHAR/;s/wp_/$APPI_DB_TPREF/g" $APPI_USER_INSTALLDIR"wp-config.php" 14 | 15 | printf '%s\n' "g/##PLACE_WP_SALT##/d" a "$(curl -sL https://api.wordpress.org/secret-key/1.1/salt/)" . w | ed -s $APPI_USER_INSTALLDIR"wp-config.php" 16 | 17 | chmod 600 $APPI_USER_INSTALLDIR"wp-config.php" 18 | 19 | IPORT_DB 20 | 21 | } 22 | 23 | function INSTALL_OpenCart_2.0.3.1() { 24 | 25 | APPI_QST="admin/" 26 | 27 | BASE_INSTALL_START "n" "n" "n" 28 | 29 | NEW_DB 30 | 31 | chown -R $user:$user $HOMEDIR/$user/web/$APPI_USER_DOMAIN/$APPI_USER_HTTP 32 | chmod -R 755 $APPI_USER_INSTALLDIR"install/cli_install.php" 33 | 34 | INSTALLNOW=$(php $APPI_USER_INSTALLDIR"install/cli_install.php" install --db_hostname $APPI_DB_HOST --db_username $APPI_DB_USER --db_password $APPI_DB_PASS --db_database $APPI_DB_NAME --username $APPI_SD_USER --password $APPI_SD_PASS --email $APPI_SD_EMAIL --http_server http://$APPI_USER_DOMAIN$APPI_USER_INSTALL/) 35 | 36 | if [ $? != 0 ]; then 37 | echo "Installation Issue: Problems with the CLI Installer." 38 | BASE_BD_INSTALL $E_INVALID 39 | fi 40 | 41 | if [ -d $APPI_USER_INSTALLDIR"install" ]; then 42 | rm -rf $APPI_USER_INSTALLDIR"install" 43 | fi 44 | } 45 | 46 | function INSTALL_Textpattern_4.5.7() { 47 | 48 | APPI_QST="textpattern/" 49 | 50 | BASE_INSTALL_START "y" "textpattern/config.php" "textpattern/config-dist.php" 51 | 52 | NEW_DB 53 | 54 | sed -i "s/##CHARSET##/$APPI_DB_CHAR/;s/##TPREF##/$APPI_DB_TPREF/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s/##ADMIN_USER##/$APPI_SD_USER/;s%##REALURL##%$APPI_USER_DOMAIN$APPI_USER_INSTALL%;s/##ADMIN_PASS##/$APPI_SD_PASS/;s%##INSTALL_FOLLDER##%$APPI_INSTALLDIR%;s%##INSTALL_TMP_FOLLDER##%$APPI_INSTALLDIR\/textpattern\/tmp%;s%##INSTALL_FILES_FOLLDER##%$APPI_INSTALLDIR\/files%;s%##SITEURL##%http\:\/\/${APPI_USER_DOMAIN}${APPI_USER_INSTALL}%g" $APPI_USER_INSTALLDIR"app_data.sql" 55 | sed -i "s/##DB_HOST_HERE##/$APPI_DB_HOST/;s/##DB_NAME_HERE##/$APPI_DB_NAME/;s/##DB_USER_HERE##/$APPI_DB_USER/;s/##DB_PASS_HERE##/$APPI_DB_PASS/;s/##TPREF_HERE##/$APPI_DB_TPREF/;s/latin1/$APPI_DB_CHAR/;s%##D_HERE##%$APPI_INSTALLDIR%g" $APPI_USER_INSTALLDIR"textpattern/config.php" 56 | 57 | chmod -R 777 $APPI_USER_INSTALLDIR"files" 58 | chmod -R 777 $APPI_USER_INSTALLDIR"images" 59 | chmod -R 777 $APPI_USER_INSTALLDIR"textpattern/tmp" 60 | 61 | IPORT_DB 62 | } 63 | 64 | 65 | function INSTALL_phpBB_3.1.5() { 66 | 67 | BASE_INSTALL_START "y" "config.php" "n" 68 | 69 | NEW_DB 70 | 71 | sed -i "s/##DB_HOST_HERE##/$APPI_DB_HOST/;s/##DB_NAME_HERE##/$APPI_DB_NAME/;s/##DB_USER_HERE##/$APPI_DB_USER/;s/##DB_PASS_HERE##/$APPI_DB_PASS/;s/##TPREF_HERE##/$APPI_DB_TPREF/g" $APPI_USER_INSTALLDIR"config.php" 72 | 73 | sed -i "s%##SITEURL##%$APPI_USER_DOMAIN$APPI_USER_INSTALL%g" $APPI_USER_INSTALLDIR"app_data.sql" 74 | sed -i "s/##ADMIN_USER##/$APPI_SD_USER/g" $APPI_USER_INSTALLDIR"app_data.sql" 75 | sed -i "s%##ADMIN_PASS##%$APPI_SD_PASS%g" $APPI_USER_INSTALLDIR"app_data.sql" 76 | sed -i "s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/g" $APPI_USER_INSTALLDIR"app_data.sql" 77 | sed -i "s/##TPREF_HERE##/$APPI_DB_TPREF/g" $APPI_USER_INSTALLDIR"app_data.sql" 78 | sed -i "s/##CHARSET##/$APPI_DB_CHAR/g" $APPI_USER_INSTALLDIR"app_data.sql" 79 | sed -i "s/##RANDOM_HERE##/$(cat /dev/urandom| tr -dc '0-9a-z'|head -c 5)/g" $APPI_USER_INSTALLDIR"app_data.sql" 80 | sed -i "s%##REALURL##%$APPI_USER_DOMAIN%g" $APPI_USER_INSTALLDIR"app_data.sql" 81 | 82 | chmod -R 777 $APPI_USER_INSTALLDIR"files" 83 | chmod -R 777 $APPI_USER_INSTALLDIR"cache" 84 | chmod -R 777 $APPI_USER_INSTALLDIR"store" 85 | chmod -R 777 $APPI_USER_INSTALLDIR"images/avatars/upload" 86 | chmod 644 $APPI_USER_INSTALLDIR"config.php" 87 | 88 | IPORT_DB 89 | } 90 | 91 | function INSTALL_PrestaShop_1.6.1.1() { 92 | 93 | APPI_QST="admin" 94 | 95 | BASE_INSTALL_START "n" "n" "n" 96 | 97 | NEW_DB 98 | 99 | if [ -f $APPI_USER_INSTALLDIR"install/index_cli.php" ]; then 100 | 101 | INSTALLNOW=$(php $APPI_USER_INSTALLDIR"install/index_cli.php" install --domain=$APPI_USER_DOMAIN --db_server=$APPI_DB_HOST --db_name=$APPI_DB_NAME --db_user=$APPI_DB_USER --db_password=$APPI_DB_PASS --base_uri=$APPI_USER_INSTALL --email=$APPI_SD_EMAIL --password=$APPI_SD_PASS --send_email=0) 102 | 103 | if [ $? != 0 ]; then 104 | echo "Installation Issue: Problems with the CLI Installer." 105 | BASE_BD_INSTALL $E_INVALID 106 | fi 107 | 108 | if [ -d $APPI_USER_INSTALLDIR"install" ]; then 109 | rm -rf $APPI_USER_INSTALLDIR"install" 110 | fi 111 | 112 | else 113 | echo "Installation Issue: Unable able to locate CLI Installer." 114 | BASE_BD_INSTALL $E_INVALID 115 | fi 116 | } 117 | 118 | function INSTALL_Joomla_3.5.0() { 119 | 120 | APPI_QST="administrator/" 121 | 122 | BASE_INSTALL_START "y" "configuration.php" "n" 123 | 124 | NEW_DB 125 | 126 | sed -i "s/##CHARSET##/$APPI_DB_CHAR/;s/##TPREF##/$APPI_DB_TPREF/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s/##ADMIN_USER##/$APPI_SD_USER/;s/##ADMIN_PASS##/$APPI_SD_PASS/g" $APPI_USER_INSTALLDIR"app_data.sql" 127 | sed -i "s/##DB_HOST_HERE##/$APPI_DB_HOST/;s/##DB_NAME_HERE##/$APPI_DB_NAME/;s/##DB_USER_HERE##/$APPI_DB_USER/;s/##DB_PASS_HERE##/$APPI_DB_PASS/;s/##TPREF_HERE##/$APPI_DB_TPREF/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s%##INSTALL_FOLLDER##%$APPI_INSTALLDIR%;s/##RANDOM_HERE##/$(cat /dev/urandom| tr -dc 'A-Z0-9a-z'|head -c 16)/g" $APPI_USER_INSTALLDIR"configuration.php" 128 | 129 | IPORT_DB 130 | } 131 | 132 | function INSTALL_SMF_2.0.10() { 133 | 134 | BASE_INSTALL_START "y" "Settings.php" "n" 135 | 136 | NEW_DB 137 | 138 | sed -i "s/##CHARSET##/$APPI_DB_CHAR/;s/##TPREF##/$APPI_DB_TPREF/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s/##ADMIN_PASS##/$APPI_SD_PASS/;s%##INSTALL_FOLLDER##%$APPI_INSTALLDIR%;s%##INSTALL_URL##%http\:\/\/${APPI_USER_DOMAIN}${APPI_USER_INSTALL}%;s/##ADMIN_USER##/$APPI_SD_USER/g" $APPI_USER_INSTALLDIR"app_data.sql" 139 | sed -i "s/##DB_HOST_HERE##/$APPI_DB_HOST/;s/##TPREF##/$APPI_DB_TPREF/;s/##DB_NAME_HERE##/$APPI_DB_NAME/;s/##DB_USER_HERE##/$APPI_DB_USER/;s/##DB_PASS_HERE##/$APPI_DB_PASS/;s/##TPREF_HERE##/$APPI_DB_TPREF/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s%##INSTALL_FOLLDER##%$APPI_INSTALLDIR%;s%##INSTALL_URL##%http\:\/\/${APPI_USER_DOMAIN}${APPI_USER_INSTALL}%g" $APPI_USER_INSTALLDIR"Settings.php" 140 | 141 | IPORT_DB 142 | } 143 | function INSTALL_Nibble_4.0.5() { 144 | 145 | APPI_QST="admin.php" 146 | 147 | BASE_INSTALL_START "n" "install.php" "n" 148 | 149 | chown -R $user:$user $HOMEDIR/$user/web/$APPI_USER_DOMAIN/$APPI_USER_HTTP 150 | chmod -R 755 $APPI_USER_INSTALLDIR"install.php" 151 | cd $APPI_USER_INSTALLDIR 152 | 153 | sed -i "s/##DOMAIN##/$APPI_USER_DOMAIN/;s%##INSTALL_FOLLDER##%$APPI_USER_INSTALL\/%;s%##INSTALL_DIR##%$APPI_USER_INSTALL%;s/##ADMIN_USER##/$APPI_SD_USER/;s/##ADMIN_PASS##/$APPI_SD_PASS/;s/##ADMIN_EMAIL##/$APPI_SD_EMAIL/;s%##SITEURL##%http\:\/\/${APPI_USER_DOMAIN}${APPI_USER_INSTALL}\/%g" $APPI_USER_INSTALLDIR"install.php" 154 | 155 | INSTALLNOW=$(php "${APPI_USER_INSTALLDIR}install.php") 156 | 157 | if [ $? != 0 ]; then 158 | echo "Installation Issue: Problems with the CLI Installer." 159 | BASE_BD_INSTALL $E_INVALID 160 | fi 161 | 162 | if [ -f $APPI_USER_INSTALLDIR"install.php" ]; then 163 | rm -rf $APPI_USER_INSTALLDIR"install.php" 164 | fi 165 | } 166 | 167 | -------------------------------------------------------------------------------- /func/app-installer/scripts/Joomla-3.5.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/Joomla-3.5.0.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/Nibble-4.0.5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/Nibble-4.0.5.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/OpenCart-2.0.3.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/OpenCart-2.0.3.1.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/PrestaShop-1.6.1.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/PrestaShop-1.6.1.1.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/SMF-2.0.10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/SMF-2.0.10.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/Textpattern-4.5.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/Textpattern-4.5.7.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/WordPress-4.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/WordPress-4.3.zip -------------------------------------------------------------------------------- /func/app-installer/scripts/phpBB-3.1.5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkfrom/vesta-app-installer/5f7bd4a3daeef17e789ab60cb48bb145cc99828f/func/app-installer/scripts/phpBB-3.1.5.zip -------------------------------------------------------------------------------- /web/app-installer/footer.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
All trademarks, service marks and trade names referenced in this material are the property of their respective owners.
7 | 8 | 9 | 91 | 110 | 111 | 112 | 113 | 114 | 115 | 146 |