Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Aug 2009
    Posts
    39

    Default new package

    Hi I'm trying to figure this out. I would like to setup a new package that I can have a set of predefined files and directories installed once created and with a database. So yes more less a instant website ready to go. But of course only for that package.

    I was thinking of the skeleton but I think there is only one and global. So that wouldn't be a good idea.

    Any help with this would be great...

  2. #2
    Member
    Join Date
    Aug 2009
    Posts
    39

    Default anyone

    Does anyone know of this or a place or script that could be used. Something like Fantasico ?

  3. #3
    Member
    Join Date
    Aug 2009
    Posts
    39

    Default please

    please... anyone

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    The cpanel3-skel is the directory where you'd add your content to for a new site. Error pages, default favicon, robots.txt and anything else you'd like all new accounts to start out with.

    There have been many threads on the forums asking about wanting to setup a database on a newly created account you might do some digging for, but creating an package specific installation of a sites files and database I'm not sure is possible.

    I do know there is a way to get cPanel to do things for you pre or post account setup that you can read more on here:
    cPanel/WHM Script Hooks

    Sorry can't help more than that.

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by Infopro View Post
    The cpanel3-skel is the directory where you'd add your content to for a new site. Error pages, default favicon, robots.txt and anything else you'd like all new accounts to start out with.

    There have been many threads on the forums asking about wanting to setup a database on a newly created account you might do some digging for, but creating an package specific installation of a sites files and database I'm not sure is possible.

    I do know there is a way to get cPanel to do things for you pre or post account setup that you can read more on here:
    cPanel/WHM Script Hooks

    Sorry can't help more than that.
    What Infopro posted is correct; using the available script hooks and APIs it is possible to automate actions via a custom script, such as one that is triggered immediately following the creation of a new account as seen via the link provided (referencing "postwwwacct").

    For additional information on usage I recommend to review above documentation (cPanel/WHM Script Hooks) as well as searching our Developer Discussion forums as linked below:
    Developer Discussions - cPanel Forums

    An alternative to, or in addition to, using automated custom actions via script hooks may be to offer a custom cPAddon installed via cPanel that includes a packaged version of a script and custom content to jump-start the creation of a user's web site including creating a database; for more verbose information please reference our official cPAddon documentation as linked below:
    Introduction to cPAddons

  6. #6
    Member linux7802's Avatar
    Join Date
    Dec 2007
    Posts
    224
    cPanel/Enkompass Access Level

    Root Administrator

    Default Soution

    As per my experience with cPanel its not possible to create the packages with the specific files/directories as packages are basically defines the limitation for your newly created hosting account.But yes if you want to give defaults files for your newly created hosting account than you need to upload the files/directories in cpanel3-skel feature present in WHM but you can't define databases as every database having its own database user name and password.
    Regards,
    G R Sonar
    cPanel Hosting Blog

  7. #7
    Member
    Join Date
    Aug 2009
    Posts
    39

    Default Thanks

    big thanks to all of you. I will read those links and see what I can come up with. Thanks a lot.

Similar Threads & Tags
Similar threads

  1. Howto upgrade package's users to new package
    By activa in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-03-2010, 05:29 PM
  2. You are not allowed to create an account with the package <package>,
    By DrYurich in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-16-2007, 01:14 PM
  3. ask about package
    By hikaro in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-25-2006, 07:11 AM
  4. See only package name!? help please.
    By webadpro in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-14-2006, 06:19 PM
  5. Replies: 2
    Last Post: 04-30-2003, 05:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube