Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2005, 23:23
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Selectable install packages.

Alright, i'm back, was a bit busy, but ive got a week off, so i'm totally going to get ISPconfig to better than cPanel. Anyway, i had an idea. Now, if we want to expand, we should offer more functionality for other RDBMS's and other software.. Now, the problem with this is that we should not have them all in the installer, but with my new one, make it so that they can choose.

This is what i propose - we need to have support for say, ruby, PHP, Perl, python, etc, but not have them installed as default. Now, say i make some scripts which are either PHP or bash, or both, which download the packages, and then installs them, and notifies the main web-based program that they require admin for it, and it adds the option, say "manage postgresql/python/perl, etc".

so, without rambling, this is what i propose to do.

* Have core components that are installed from web or hd.
* Then, have optional software that can be installed by PHP scripts, or bash which can be run, install the software on the machine.
* Then, the web fontend gets notified, and the admin then gets the options to admin it.

software i can make install scripts for is ;
* Ruby for Apache
* Perl
* Python
* postgreSQL (although i think this should be pushed as a good option)
* Firebird SQL
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2005, 13:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

To work with components in the installer is a good idea. Also the core components will have to be selectable if we want to have multiserver setups where not all services run on the same server.

Example:

3x Webserver (on one of this the controlpanel is installed)
1x Mailserver
2x DNS Server
1x Database Server

If we want to manage this with ISPConfig, the installer must handle these scenario.

Example:

Install Controlpanel (y/n)
Install BIND support (y/n)
Install Mailserver support (y/n)
Install DNS support(y/n)
Install Database MySQL support (y/n)
Install Database Postgres support (y/n)

What do you think?
Reply With Quote
  #3  
Old 9th November 2005, 14:54
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes! I like the idea very much, i think that the core components should be force installed, otherwise many many problems will occur and cause nightmarish circumstances :-(, but still, i'm working on this now, so yes! should be neat indeed! :-)
Reply With Quote
  #4  
Old 9th November 2005, 15:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Yes, maybe the selection of components is something for an expert mode

Here is the database table i thought of:

CREATE TABLE server (
server_id bigint(20) NOT NULL auto_increment,
server_name varchar(255) NOT NULL default '',
mail_server int(11) NOT NULL default '0',
web_server int(11) NOT NULL default '0',
dns_server int(11) NOT NULL default '0',
file_server int(11) NOT NULL default '0',
mysql_server int(11) NOT NULL default '0',
postgresql_server int(11) NOT NULL default '0',
firebird_server int(11) NOT NULL default '0',
active int(11) NOT NULL default '1'
) TYPE=MyISAM;

On a single server setup there will be only one record in the server databasetable with all services set to 1 (mail_server, web_server,...). On a multiserver setup, the installer adds a record / row for every server that is part of this installation and sets the capabilities of the server (e.g only web_server = 1 for an apache only server). In the ISPConfig interface, you select "Add Website" and then you can select on which of the servers with the web_server capability the website shall be hosted. If you are a reseller, you may be limited to one server though.

Last edited by till; 9th November 2005 at 15:11.
Reply With Quote
  #5  
Old 9th November 2005, 16:04
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yes!
There needs to be some way for the frontend to know if the PostgreSQL/etc has been installed.. Perhaps have an "enable/disable features" section where the user can select what features they want installed, and then the script will be executed!
Reply With Quote
Reply

Bookmarks

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
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 09:09
setup's incuded packages gbjbaanb General 2 2nd September 2005 20:31
How can i install the Uebimiau and phpmyadmin packages? Luciano General 8 22nd August 2005 04:07
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55
Why install from source instead of debian packages? TheMike HOWTO-Related Questions 3 27th July 2005 10:40


All times are GMT +2. The time now is 12:54.


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