Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

Soft Auto Installer is a plugin that can deploy software applications through Softaculous immediately after provisioning hosting accounts.


Table of Contents
Table of Contents
maxLevel4
minLevel2
outlinetrue
classtoc


Note
titleBlesta 4.5+

Soft Auto Installer should be is included with Blesta version 4.5+, but a copy that may work on versions as low as 4.4.0 is available at https://github.com/blesta/plugin-softaculous

...

Soft Auto Installer can automatically deploy applications on new hosting accounts provisioned through the cPanel module on cPanel servers running hosting control panels running Softaculous. It does so by tying into the Event system in Blesta to make an API call to Softaculous after an account is provisioned.

Tie-Ins*

WidgetsNav LinksClient CardsAutomation TasksEmail TemplatesACL PermissionsSearchEventsService Management
Status
titleNone
Status
titleNone

Status
titleNone

Status
colourGrey
titleNONE

Status
titleNone
Status
titleNone
Status
titleNone

Status
colourGreen
titleYES

Status
titleNone

* Plugins are powerful and are not limited to the tie-ins listed above, these are just some of the most common

Supported Modules

The following modules are supported by the Soft Auto Installer for Softaculous:

ModuleSupported Version
cPanel4.5
Plesk4.8
CentOS Web Panel4.8
DirectAdmin4.9
Interworx4.11
ispmanager4.12

Installing Soft Auto Installer

...

To use the Soft Auto Installer plugin you should already have the cPanel module installed a supported module installed and configured. You need to create some configurable options under [Packages] > [Configurable Options] as described:

Label (Suggested, can be anything)NameTypeValueDescription
ScriptscriptDrop-Down, Radioe.g. "WordPress", "Drupal", etc, see full list of apps below
  • Check "Client can Add" only.
Admin Nameadmin_nameText


Info

Client provides during checkout, e.g. "admin".


  • Check "Client can Add" only.
Admin Passadmin_passText, Password


Info

Client provides during checkout, e.g. "mypassword".


  • Check "Client can Add" only.
DirectorydirectoryText


Info

Client provides during checkout, e.g. "/directory/".


  • Optional config option, not required.
  • Check "Client can Add" only.
  • This will be the install directory, defaults to docroot if not provided.


Expand
titleClick to see config option example screenshots

...

Expand
titleCode used to generate the above list


Code Block
languagephp
linenumberstrue
<?php

$scripts_json = file_get_contents('https://s2.softaculous.com/a/softaculous/scripts.php?in=json');
$scripts = json_decode($scripts_json, true);
echo '<table style="border: 1px solid #eee; border-collapse: collapse;">
<tr>
	<td style="border: 1px solid #eee; padding:5px;"><b>Script Name</b></td>
	<td style="border: 1px solid #eee; padding:5px;"><b>Value for Script field for auto install</b></td>
</tr>';
foreach($scripts as $k => $v){
	echo '<tr>
		<td style="border: 1px solid #eee; padding:5px;">'.$v['name'].'</td>
		<td style="border: 1px solid #eee; padding:5px;">'.$v['name'].'</td>
	</tr>';
}
echo '</table>';



Have custom scripts? See the documentation at https://www.softaculous.com/docs/api/api/#list-scripts for the command to run on your Softaculous install to fetch your scripts.