Autoinstaller -> Add more Services

  • It's easy
    Each Distro version has a list of required packages in docs/Distr named like:
    distribution-packages-flavor.xml (ex debian-packages-squeeze.xml)
    Xml format consist in a list of labels, only alternative having special meaning:


    <package></packages> are requiered in place
    next level (other, name2 and name 3 are section name for easy identify packages needed for a sofware). Is more like a helper for humans.if you want you can write them as


    Only important label is alternative which mark a choice to made (dovecot and courier can not be installed at same time) so for mail server (pop and imap) i mark po as servername (used to determine which class will take care of that server), say that i have alternative packages for server1 (courier) and server2 (dovecot):


    so to add fail2ban which does not have another software to conflict with modify:

    Quote


    <other>tar</other>
    <other>wget</other>
    </packages>

    in

    Quote


    <other>tar</other>
    <other>wget</other>
    <other>fail2ban</other>
    </packages>

    or even create own section:

    Quote


    <other>tar</other>
    <other>wget</other>
    <fail2banexamplesection>fail2ban</fail2banexamplesection>
    </packages>


    but you must know that fail2ban do not work out of box with i-MSCP