APS Installer?

Discussion in 'ISPConfig 3 Priority Support' started by Gaston Girardi, Nov 11, 2020.

  1. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    Hi everyone, i update IPSconfig to version 3.2 and the seccion APS Installer does not exist anymore, but now i have a cliente that need wordpress :confused:.

    I never used the APS Installer section but it look very usefull, to add those package to the web site if you need it, so how can i add it to a site?!., there a guide or another tool to be able to do that in an easy way?...
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    We removed the APS installer as the project is dead. It is currently hidden and will be purged in the near future. I wouldn't advise to re-enable it as the installer uses outdated insecure packages and we don't fix bugs for in anymore.

    We are working on a new 1-click CMS installer, see https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5698

    I have written a simple bash script to quickly download WordPress and place it in the web folder of the client, if you want I can share that tomorrow when I'm in office.
     
  3. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    If you can that will be perfect, thank you so much.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Code:
    read -p "Client ID (without prefix): " clientid
    read -p "Web ID: " webid
    mkdir /var/www/clients/client$clientid/web$webid/web/tmp-at-wp
    cd /var/www/clients/client$clientid/web$webid/web/tmp-at-wp
    wget https://nl.wordpress.org/latest-nl_NL.zip
    unzip latest-nl_NL.zip
    mv  ./wordpress/* ../
    cd ../
    mv index.html index-standaard.html
    rm -r tmp-at-wp
    chown -R web$webid:client$clientid /var/www/clients/client$clientid/web$webid/web/*
    chmod 400 /var/www/clients/client$clientid/web$webid/web/wp-config.php
    WP-CLI is probably better though, but I haven't used it for installing: https://wp-cli.org/
     

Share This Page