The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to create 1click install packages

Discussion in 'General Discussion' started by fireform90, Sep 29, 2002.

  1. fireform90

    fireform90 Active Member

    Joined:
    Aug 26, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I am not the world's best coder/scripter but I want to begin customizing Cpanel so that my customers can have a better array of scripts to install with one click.

    Does anyone know the best way to begin studying how to do this? Is there a guide somewhere? Are the existing ones created with shell scripts?


    Any guidance would be greatly appreciated!
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    You need to study [b:bac210a7ba]Perl[/b:bac210a7ba]
     
  3. fireform90

    fireform90 Active Member

    Joined:
    Aug 26, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    I know a bit of perl, but am still learning the underlying structure behind how those 1click installs work. I cant seem to find what directory they are located in..
     
  4. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:067f3ba502][i:067f3ba502]Originally posted by fireform90[/i:067f3ba502]

    I know a bit of perl, but am still learning the underlying structure behind how those 1click installs work. I cant seem to find what directory they are located in..[/quote:067f3ba502]
    Which 1click install do you mean?
     
  5. fireform90

    fireform90 Active Member

    Joined:
    Aug 26, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Any of them, I was just wondering the location of the scripts that are making say &agora shopping cart& or something work so that I can follow the coding structure of the existing ones :)


    (thanks for your replies friend)
     
  6. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:6084f79b06][i:6084f79b06]Originally posted by fireform90[/i:6084f79b06]

    Any of them, I was just wondering the location of the scripts that are making say &agora shopping cart& or something work so that I can follow the coding structure of the existing ones :)


    (thanks for your replies friend)[/quote:6084f79b06]
    most of these installations are done via Cpanel APIs
    i.e. read this file for Agora shopping Cart
    /usr/local/cpanel/base/frontend/default/installacart.html

    You can use either Cpanel APIs, or write your program from the very beginning
     
  7. fireform90

    fireform90 Active Member

    Joined:
    Aug 26, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    is there any kind of documentation for the cpanel api?

    I opened that .html file and there is reference to something in perl but I cannot find where that reference is leading to. Would be great to see any form of documentation on this stuff.
     
  8. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:f5f663651a][i:f5f663651a]Originally posted by fireform90[/i:f5f663651a]

    is there any kind of documentation for the cpanel api?

    I opened that .html file and there is reference to something in perl but I cannot find where that reference is leading to. Would be great to see any form of documentation on this stuff.[/quote:f5f663651a]
    These are Cpanel APIs, you can find out a list of APIs here:
    /usr/local/cpanel/api.txt
    But there isn't any other document.
     
  9. fireform90

    fireform90 Active Member

    Joined:
    Aug 26, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    some of those functions should be useful thanks..
     
Loading...

Share This Page