
13th July 2010, 21:14
|
|
Member
|
|
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
|
|
auto installer script
perhaps this feature has been asking by others, but I dont know.
I wish there is an auto installer script that can run on ispconfig like what fantastico/installatron/softaculous can ran on cpanel/directadmin
Softaculous developer seems very nice and try to make as many as possible script can be installed on various panel.
http://www.softaculous.net/
Other options is simplescript, it's free, hosted installed on their servers but can integrated well with many panel. hopefully ispconfig and simplescript developer can works each others.
http://www.simplescripts.com/webhost
below is list of script supported by simplescript
http://www.simplescripts.com/script_list
|

21st July 2010, 12:33
|
|
Member
|
|
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Those scripts doesn't have a GPL license
|

26th July 2010, 16:17
|
|
Member
|
|
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
I will create something like this for install drupal (this is just an example)
Add a new remoting function that will install an open source package:
remoting::installDrupal($session_id, $client_id, $web_id, $params) {
//1. Create the database
//2. Copy drupal files in the client web
//3. Execute a script that will install drupal with the current $params
//4. Done
}
What do you think of this idea?
I wish to know what do you think about installing open source software (by deman) to client websites?
|

27th July 2010, 13:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
I think a package installer should be more generic:
1) Define a package installer format.
2) Create a universal package installer function and repository that is able to execute and installe the packages in the format defined in 1) into the websites.
A remoting function is only a wy to insert data into the mysql database on the master server, it can not execute any code to install software on the slave that runs the webserver. A package installer would have to be implemented as server side module plus a corresponding database table and some inteface forms to select the software that shall be installed in the website module.
|

27th July 2010, 14:09
|
|
Member
|
|
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Hello till and thanks for your reponse.
So what you mean is to create a new plugin here: (just an example)
server/plugins-available/installer_plugin.inc.php
Here I will create all the functions (install, uninstall a drupal/wordpress/etc to a client) to manage the "universal package installer format"?
Some UI will be useful as you said to manage that.
Then with the remoting class, I just add a new record in the DB saying "I will create a drupal site in the site id = 1".
And finally the server.sh cron file will be executed and install the site.
Thanks for your feedback in advance.
|

27th July 2010, 14:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
Basically yes. But the remoting api is not used for this at all. The remoting API is a API for third party applications that are not part of ISPConfig, e.g. billing systems, to read and add data in the ispconfig database. You never use the remoting API for functions in the ispconfig interface or server part as you use local functions and librarys for this.
|

27th July 2010, 14:37
|
|
Member
|
|
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
I guess I forgot to said that I'm doing a plugin for thehostingtool a.k.a THT (third party open source software billing system, etc ) to integrate it with ISPConfig 3.
So THT will called the remoting ISPConfig3 functions.
|

27th July 2010, 14:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
Then you might have to add remoting function as well beside the local function to install packages from within ISPConfig.
|

27th July 2010, 15:21
|
|
Member
|
|
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Quote:
Originally Posted by till
Then you might have to add remoting function as well beside the local function to install packages from within ISPConfig.
|
Great! I will write a proposal and then I will ask for suggestions, etc.
|

27th July 2010, 21:15
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Austria
Posts: 287
Thanks: 54
Thanked 86 Times in 53 Posts
|
|
What I know, something like that is in the bugtracker system as a feature request. http://bugtracker.ispconfig.org/inde...rom=&closedto=
So you could use the Application Packaging Standard for your plugin.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 03:17.
|
|
Recent comments
10 hours 51 min ago
11 hours 51 min ago
15 hours 38 min ago
16 hours 52 min ago
20 hours 28 min ago
1 day 3 hours ago
1 day 12 hours ago
1 day 14 hours ago
2 days 5 hours ago
2 days 7 hours ago