Autoinstaller ISPConfig script

Discussion in 'Tips/Tricks/Mods' started by diablo666, Mar 27, 2015.

  1. mehargags

    mehargags New Member

    Backports, by definition means Packages from Newer "unstable" version but can be installed on the Older "stable" Versions. So he is implying (I presume) it can be installed on 3.0.5
     
  2. gOOvER

    gOOvER Member

    You can. Noone said something other. I only said, that dkim should not be a part of the Installer Script.

    Till said, that dkim will be a part of 3.1 and the Patch you posted are only a Backport for older versions.

    I think, this is not the correct place to discuss this ;)
     
  3. mehargags

    mehargags New Member

    ok Never mind... so does that conclude we can't "straight away" have DKIM in 3.0.5 ?
    MAy be @Diabloo666 has some views on this ?
     
  4. diablo666

    diablo666 Active Member HowtoForge Supporter

    Will wait for 3.1 to integrate perfectly in the script.
    I'm in dubt if integrate the actual patch aroud for dkim, but for now i've done a fast integration with the script. You can select it during the install.
    Sure can be done better :)
    As usual any suggest would be appreciated.
    v.1.0.4 is there
    Not merged yet in master, need some test.
    I've added some log during install, to check eventually problems and help ppl with debug.
    Thank you for your feedback.
     
  5. gOOvER

    gOOvER Member

    You should remove the Packages:

    php5-ming & php5-ps

    from installer. If someone use PHP 5.6, these both Packages break installation during Installscript.

    I think these both Packages are not really needed by ispconfig3
     
  6. diablo666

    diablo666 Active Member HowtoForge Supporter

    For who is interested, now relased version 1.0.5
    Added supporto for Nginx and other fix.
    Working on Vmware Esxi, Amazon AWS and virtualbox ;)
     
    till likes this.
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The new version is really nice, just run it on a test server today.

    Maybe you could make dovecot the default imap server instead of courier as dovecot is the primary imap server now for all perfect server guides. And I noticed that it activated quote on:

    none /run/shm tmpfs 0 0

    partition. Maybe you could add a check for the filesystem type and exclude all tmpfs drives?
     
    gOOvER likes this.
  8. diablo666

    diablo666 Active Member HowtoForge Supporter

    Sure we can.
    I'll fix now the change to dovecot and open an issue for tmpfs.
    Thank you for advices.
     
  9. diablo666

    diablo666 Active Member HowtoForge Supporter

    Mmm i've done a check but your tmpfs should not be touched by script

    none /run/shm tmpfs 0 0

    In your fstab at the line of tmps there is "defaults" string?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes.

    Code:
    none  /run/shm    tmpfs   defaults    0    0
    This is the debian image virtual server of a large german hoster.
     
  11. diablo666

    diablo666 Active Member HowtoForge Supporter

    Oh OK, this is the issue so.
    OK we'll fix it.
     
    Last edited: Apr 19, 2015
    gOOvER likes this.
  12. diablo666

    diablo666 Active Member HowtoForge Supporter

    Ok fixed in 1.0.6, tmpfs not touched by quota activation.
    Should work fine.
     
    till likes this.
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Today I noticed a problem in the installation that I did on friday. The problem was that sendmail was already installed by the provider on its debian minimal image. Normally, apt should detect that postfix and sendmail are conflicting and will remove senndmail, but this did not happen here. Might be a provider specific problem but maybe its nontheless a good idea to add something like:

    /etc/init.d/sendmail stop
    update-rc.d -f sendmail remove

    when /etc/init.d/sendmail is present?
     
  14. diablo666

    diablo666 Active Member HowtoForge Supporter

    I will try it With a preinstalled sendmail.
    I'll add the check anyway to avoid, problems.
     
  15. diablo666

    diablo666 Active Member HowtoForge Supporter

    Ok released version 1.0.6, added a check for sendmail.
    Here is the CHANGELOG.
    Download link: https://github.com/servisys/ispconfig_setup/archive/master.zip
    Code:
    v.1.0.6
    - Starting modular system for better managment and integration
    - Added more presintall check
    - Added check for different distribution (Ubuntu, Debian Wheezy end Debian Jessie)
    - Little fix and improvments
    - Added check for sendmail installation and removal
    - Added rkhunter
    - Added jailkit version through simple editable variable
    - Changed dovect as default mta
    - Skip quota adding for tmpfs fylesystem
    As always any help, suggestion or feature request will be appreciated ;)
     
  16. diablo666

    diablo666 Active Member HowtoForge Supporter

    With the latest version we had added support for Debian 8 Jessie.
    As usual you can download from https://github.com/servisys/ispconfig_setup/archive/master.zip
    Code:
    v.1.0.8
    - Added support for debian Jessie
    - Added Module for all
    - Fix minor issue
    - Remove Roundcube support for debian Jessie installation
     
    gOOvER and till like this.
  17. gOOvER

    gOOvER Member

    I'll added MariaDB Support to Debian Jessie Installation :) Now waiting for PR Merge from @diablo666 :D
     
  18. nvidian

    nvidian Member

    Hi diablo666, thanks for your works.

    I tried to install on Debian 8 as web server only. I have some questions:
    1. if I dont want to install antivirus, postfix and ftp , can I just remove these files from distros/debian8:
    • install_antivirus.sh
    • install_webmail.sh
    • install_postfix.sh
    • install_ftp.sh
    2. If I want to install ispconfig in expert mode (for multi server) can i also remove install_ispconfig.sh from distros/debian8 ? Then I run ispconfig installation manually from ISPConfig-3-stable.tar.gz and run php -q install.php.

    Will it install successfully if I remove those files ? Thank you
     
  19. diablo666

    diablo666 Active Member HowtoForge Supporter

    For now i'll suggest you to follow the tutorial.
    I theory what you had reported should work, but i've never tested it.
    If you want, add issue/request on github, so we can consider adding some sort of support about that.
    The configuration in expert mode, should be implemented in future relase :)
    Thank you for your appreciation.
     
  20. nvidian

    nvidian Member

    Hi diablo666, FYI, it works when I tried to install with Debian 8.
    But it failed (Mysql problem) when I tried with Debian 7 though.
     

Share This Page