Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th July 2010, 21:14
pakogah pakogah is offline
Member
 
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 21st July 2010, 12:33
jmontoya jmontoya is offline
Member
 
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
Default

Those scripts doesn't have a GPL license
__________________
Julio Montoya
BeezNest : http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Reply With Quote
  #3  
Old 26th July 2010, 16:17
jmontoya jmontoya is offline
Member
 
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
Default

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?
__________________
Julio Montoya
BeezNest : http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Reply With Quote
  #4  
Old 27th July 2010, 13:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,444
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th July 2010, 14:09
jmontoya jmontoya is offline
Member
 
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
Default

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.
__________________
Julio Montoya
BeezNest : http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Reply With Quote
  #6  
Old 27th July 2010, 14:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,444
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 27th July 2010, 14:37
jmontoya jmontoya is offline
Member
 
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
Default

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.
__________________
Julio Montoya
BeezNest : http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Reply With Quote
  #8  
Old 27th July 2010, 14:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,444
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

Then you might have to add remoting function as well beside the local function to install packages from within ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 27th July 2010, 15:21
jmontoya jmontoya is offline
Member
 
Join Date: May 2010
Location: France
Posts: 52
Thanks: 2
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by till View Post
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.
__________________
Julio Montoya
BeezNest : http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Reply With Quote
  #10  
Old 27th July 2010, 21:15
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 324
Thanks: 55
Thanked 93 Times in 58 Posts
Send a message via Skype™ to Horfic
 
Default

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.
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
Reply

Bookmarks

Tags
auto, installer, ispconfig, panel, script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Companion Script #2 for The Perfect Server - Fedora 13 x86_64 [ISPConfig 3]" MrCompTech Tips/Tricks/Mods 0 10th July 2010 05:11
write installer script samooil Programming/Scripts 3 31st October 2007 17:10
req: Bash / Script to auto kill PID if it's needed.... edge Programming/Scripts 8 13th March 2006 23:31
Adding a script installer badben Developers' Forum 1 29th November 2005 14:54


All times are GMT +2. The time now is 16:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.