ISPConfig 3 system installation script

Discussion in 'Tips/Tricks/Mods' started by Mark_NL, Sep 16, 2011.

  1. Mark_NL

    Mark_NL Member

    Since I'm deploying ISPConfig 3 installations on new servers on a frequent base, I got tired of installing the same system software over and over and doing the same settings over and over.

    Then dclardy came with a install script. With no disrespect towards him i recreated an improved version from scratch.

    The script uses whiptail and is almost unattended, the only thing you need to do is give some default required values, choose 'no' at dbconfig-common db configuration for phpmyadmin, and enter the common name when creating a ssl certificate for pure-ftpd (which i want to automate with a template in a future version). The "No" question is because of a bug in dbconfig-common. The bug prevents you to set the "No" option via debconf. The rest (up to installing ISPConfig 3 itself is completely unattended)

    The script currently supports Debian only. (If someone can convert it to a different distribution for me, I'll be glad to merge it into the existing script)

    I've tested this on a clean installation of Debian Squeeze 32bits.

    Please test this script and give feedback in this thread.

    The script can be downloaded here:

    maybe add it to ISPConfig3 tarball when it's tested well enough?
  2. dclardy

    dclardy Member

    It would be nice to work together on something like this instead of attempting to bash another person just trying to help.
  3. Mark_NL

    Mark_NL Member

    I'm not bashing you, as i quote myself from my previous post:
    Something like this was already on my to-do list for some time.

    So again, this wasn't to bash you, i just wanted to make one myself and this is the end result, thought i'd share it with the rest.
  4. digitalage

    digitalage New Member

  5. Mark_NL

    Mark_NL Member


    Sorry about that, I relocated my site to a new VPS, i forgot one setting which prevented graabing those files, this should be fixed now. Let me know it you still can't get it and i'll send you a copy.

  6. digitalage

    digitalage New Member

    It works now, thank you!
  7. digitalage

    digitalage New Member

    Excelent work!
    I got some errors, 'though! (I followed Courier path)

    However, the control panel is opening, the email is opening (round-cube). I didn't setup further.

    Any idea what's happening?
  8. digitalage

    digitalage New Member

    And a quick (dumb) question. I notices a few time is generating a certificate (3 x times if I recall correctly). Is it possible to ask all those questions only once and then the automatic script to fill everything in?
  9. webguyz

    webguyz Active Member HowtoForge Supporter

    The installation script works well with Debian Squeeze 64 bit.

    This is setup for a single user system, thinking that with a little tweaking it could be truned into a multiuser installation tool where you had the option to specify what apps you wanted to install based on the type of server it was that you were installing.(Web, Mail, etc)

    Thanks for the hard work!
  10. Mark_NL

    Mark_NL Member

    @webguyz: You're welcome! Feel free to edit the installation script and post the results here to share it with everyone :)

    @digitalage: That looks like a debian mysql installation error, not related to the script itself. What the script does is try to automate the most of the stuff for you, the certificated can be generated from a template file, so what you're asking IS possible, but i was just to damn lazy at the time to make something like that. ;-)

  11. digitalage

    digitalage New Member

    That would be great. I don't have the knowledge to improve it, but I'm willing to test and use. Maybe will help others too.

    Good to hear that! I'll try installing without script to see if those errors appear. If you have a link to a tutorial about generating certificates from a template file, that would be excelent.
  12. NewAmericanClassic

    NewAmericanClassic New Member

    I'd love to see one of these for ubuntu!
  13. gamal.mohammad

    gamal.mohammad New Member

    Thanks alot bro for your offer
    so Please Can anyone compile this script to run on CentOS server
    beacause i need it urgently
    Thanks alot in advance
  14. janelu

    janelu New Member

    Risking my ubuntu installation

    I am Risking my ubuntu installation to try this :D. yeah yeah I heard is for debian but... realm girls don't backup, real girls cry :D lol
    I know this is old.. to bad it have't been worked out
  15. janelu

    janelu New Member

    weird! it did successfuly installed everything on my ubuntu 14.10 but, I don"t see the ispconfig panel when accessing it. yeah port is open

Share This Page