ispCP - Board - Support
New ispCP Software Installer *RC1* - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: New ispCP Software Installer *RC1* (/thread-7463.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


New ispCP Software Installer *RC1* - rbtux - 08-12-2009 04:08 AM


The ispCP Software installer RC1 is available for ispCP 1.0.3 only.
The installer doesn't support ispCP 1.0/1.0.1/1.0.2


Dear Community,

Some guys in the German corner do work on a software installer which allows customers to install pre-packaged 3rd-party software like drupal, dokuwiki etc.

As this might be interesting for the whole community, I hereby translate the announcement from the German corner:

TheCry has been working on the topic "Software Installer" and did release a Beta version which is based on the work of Achmed. A big THANK YOU goes to these guys.

Summary:
  • * There is only one option in your php configuration that needs to be changed. The "upload_max_filesize" is to be increased to a more reasonable value (like 20 Mbytes)
    * It is NOT needed to enable functions like "exec"
  • * This Beta has been created for the current trunk (r1890)
  • * It's not yet ready for production use
  • * Packages can be created by anyone
  • * As the Admin has to clear the packages he always knows what packages the reseller offers to the customers
  • * The Reseller uploads the finished packages, and as soon as the admin clears them the customers is able to install them.
  • * The software installer can be enabled per reseller and per customer.

*UPDATE 23.12.2009*

Installer
--> ispCP Software Installer *RC1*


Software Packages - XML based

No packages yet .....

Installation
Code:
# wget http://www.ispcp-omega.net/downloads/ispCP_Installer_RC_1.tar.gz
# tar -xvzf ispCP_Installer_RC_1.tar.gz
# cd ispcp_installer/
# ./install
Follow the install instructions (They might be in german, sorry :-()

The "upload_max_filesize" parameter in the masters php.ini needs to be increased, to allow the installation of bigger packages:
Code:
# vi /var/www/fcgi/master/php5/php.ini
Change
Code:
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
to
Code:
; Maximum allowed size for uploaded files.
upload_max_filesize = 20M
and save the file. Remeber that a restart of Apache is needed to immediatly take over the new setting!

Screenshot Admin:
[Image: bildn.th.png]

[Image: new3.th.png]

Screenshot Reseller:
[Image: new11v.th.jpg]

Screenshot Customer:
[Image: installer.th.jpg]

[Image: new2.th.png]

Please post feedback and feature request in this thread.
Be aware the installer is still beta. So it might be possible that you encounter some errors.

Thanks to TheCry for the great job he did Smile


RE: New ispCP Software Installer *BETA* - ephigenie - 08-12-2009 05:06 AM

I'd suggest we make a public repo here as long as we've no aps support.
So the Community can benefit as much as possible from it.

yes ... and of course thx to TheCry.
I'm testing the extension for myself ... to see how to integrate it... Smile


RE: New ispCP Software Installer *BETA* - BeNe - 08-12-2009 05:21 AM

Quote:I'd suggest we make a public repo here as long as we've no aps support.
So the Community can benefit as much as possible from it.
Make sense! So we use http://addons.isp-control.net/ for it ?
APS would be nice in later Versions.
Quote:I'm testing the extension for myself ... to see how to integrate it...
Very very important point, i would like to see this asap in the trunk Cool

Greez BeNe


RE: New ispCP Software Installer *BETA* - ephigenie - 08-12-2009 05:43 AM

yes, i thought about addons.isp-control.net ...

Altough we must warn users because we can't guarantee and introduce some sort of md5 for package checking... but that way we should've a fast growing repo, soon.


RE: New ispCP Software Installer *BETA* - RatS - 08-12-2009 06:16 AM

(08-12-2009 05:21 AM)BeNe Wrote:  Very very important point, i would like to see this asap in the trunk Cool
Sorry for speeding a bit down: Not in ispCP 1.0.1.


RE: New ispCP Software Installer *BETA* - gOOvER - 08-12-2009 03:07 PM

(08-12-2009 06:16 AM)RatS Wrote:  Sorry for speeding a bit down: Not in ispCP 1.0.1.

Why not? So we have to change this Patch with every Trunk. It works and we should add it to the Trunk now and not in one Year when 1.02 maybe will released.

Where is the Problem to add this?


RE: New ispCP Software Installer *BETA* - rbtux - 08-12-2009 03:24 PM

sorry guys I'm with rats on this...

We promised ssl with 1.0.1. We better keep that promise, and make a short release cycle and release 1.0.2 approx 2 months after 1.0.1 probably with the application installer.

Bringing features whitout enough testing, just annoys the users that need to have a robust piece of software.

This project is becoming more and more mature and thus we should treat enhancements and patches like in mature projects.

Of course we finally need to settle the organisation as promised before 1.0.0 came out...


but that are just my few cents....
please remember that this thread is about the software installer not about release discussion...


RE: New ispCP Software Installer *BETA* - BeNe - 08-12-2009 03:44 PM

Quote:please remember that this thread is about the software installer not about release discussion...
Please let us discuss this in the Internal Section.

Back to Topic:
Are here any Users/Testers with a feedback ?

Greez BeNe


RE: New ispCP Software Installer *BETA* - BeNe - 08-14-2009 05:27 AM

TheCry is still coding for a better Beta Version - and he is very quick!
Here are two new Screenshots!

He integrated a Tool tip to display the Package description directly.
(It shows the Field "description", which the reseller writes)
Of course it is in the ispCP style and little bit transparency Big Grin
[Image: installer.th.jpg]

There is no more need to type the SQL-User and Password now.
The Customer can use the Drop down list to choose the User. The data is collect directly from the ispCP DB.
[Image: installer2.th.jpg]

The customer has now only to choose the directory and set the Username and Passwort for the later Login in the installed package. More than simple for the customer!

There is now also the ability as Admin to write the Reseller a reason if you delete a Package!

Stay tuned...
A new Beta Version is on the way!

Greez BeNe


RE: New ispCP Software Installer *BETA* - Nuxwin - 08-14-2009 09:33 AM

Hi ;

In order to integrate this new functionality to ispCP, I would put some suggets:

comment and indent your code properly so that the development team can maintain easily ;

2 ° Do not reinvent the wheel which includes:

* Reuse already existing routines to the maximum.

3 ° Coder so portable that involves:

* Get the paths of commands from the file /etc/ispcp/ispcp.conf and not hard coded in the scripts:

Especially for the script ispcp-sw-mngr :

Paths commands such as cp, tar, mkdir, rm ... must be obtained from file ispcp.conf