Add jammy.sh installer

Issue #1266 resolved
Brett created an issue

Would you been willing to add a jammy.sh installer along with the focal.sh installer. I made the following tweaks to the focal.sh installer and got it installed but it made need some more tweaking.

Changed php version from 7.4 to 8.1, changed mariadb version from 10.3 to 10.6, removed libzip5 as it is not in the 22.04 repo and added manual installation of libssl1.1.deb and libzip5.1.deb:

   apt-get -y --no-install-recommends install \
      wget rsyslog openssl sysstat php8.1-cli php8.1-cgi php8.1-mysql php8.1-fpm php8.1-zip php8.1-ldap \
      php8.1-gd php8.1-curl php8.1-xml ca-certificates zip catdoc unrtf poppler-utils nginx tnef \
      libtre5 libwrap0 cron libmariadb-dev python3 python3-mysqldb libmariadb-dev mariadb-client-core-10.6 \
      mariadb-server-10.6

   wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1\~18.04.20_amd64.deb
   sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb
   wget http://mirrors.kernel.org/ubuntu/pool/universe/libz/libzip/libzip5_1.5.1-0ubuntu1_amd64.deb
   sudo dpkg -i libzip5_1.5.1-0ubuntu1_amd64.deb

Changed php7.4-fpm.sock reference to php8.1-fpm.sock in /etc/nginx/sites-enabled/piler.conf :

   sed -i 's/7.4/8.1/g' /etc/nginx/sites-enabled/piler.conf

I just started working on installing piler on 22.04, so I can report back any other necessary changes I find.

Also updating it for maticore would be great.

Comments (5)

  1. Janos SUTO repo owner

    I may add a jammy installer. However, I don’t understand what you do. Why do you install focal (18.04) packages to 22.04?

  2. Brett reporter

    I didn’t dig too deep but that is what I found online. libzip in Jammy is libzip4 in the Ubuntu Repo and not libzip5 like in Focal.

  3. Brett reporter

    Looks good except doesn't line 15 need to be updated from

    PHP_FPM_SOCKET="/var/run/php/php7.4-fpm.sock"

    to

    PHP_FPM_SOCKET="/var/run/php/php8.1-fpm.sock"

    Other than that looks good. Thank you

  4. Log in to comment