[Loris-dev] CentOS 8 and Loris

Eli Johnson joh17964 at umn.edu
Tue Jan 12 18:05:03 EST 2021


Hi Julie,

I'm not on the LORIS team, but I referenced this CentOS 7 documentation
while installing on RHEL 7 last year --

https://github.com/aces/Loris/tree/main/docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/CentOS

Most of the documentation can be found in the docs directory within the
LORIS project on github.

@LORIS team, the links for CENTOS documentation in the github wiki are
broken.


Best,
Eli Johnson

Eli Johnson
Developer/Data Manager
Institute of Child Development
University of Minnesota
joh17964 at umn.edu


On Tue, Jan 12, 2021 at 3:25 PM <loris-dev-request at bic.mni.mcgill.ca> wrote:

> Send Loris-dev mailing list submissions to
>         loris-dev at bic.mni.mcgill.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
> or, via email, send a message with subject or body 'help' to
>         loris-dev-request at bic.mni.mcgill.ca
>
> You can reach the person managing the list at
>         loris-dev-owner at bic.mni.mcgill.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Loris-dev digest..."
> Today's Topics:
>
>    1. Re: CentOS 8 and Loris (Julie Ashworth, HWNI Computing Support)
>
>
>
> ---------- Forwarded message ----------
> From: "Julie Ashworth, HWNI Computing Support" <support-cirl at berkeley.edu>
> To: Dave MacFarlane <dave.macfarlane at mcin.ca>
> Cc: loris-dev <loris-dev at bic.mni.mcgill.ca>, Samir Das <
> samirdas99 at gmail.com>, Christine Rogers <rogers at bic.mni.mcgill.ca>
> Bcc:
> Date: Tue, 12 Jan 2021 13:24:57 -0800
> Subject: Re: [Loris-dev] CentOS 8 and Loris
> Can you please send me the URL for the most recent linux (ubuntu or
> centos) installation documentation?
> Thank you
>
> On Tue, Jan 12, 2021, 1:17 PM Julie Ashworth, HWNI Computing Support <
> support-cirl at berkeley.edu> wrote:
>
>> Thanks Dave,
>> There are many groups taking over development of Centos8, so I thinks
>> it's incorrect to say that it's discontinued. The most active group is
>> Rocky linux, started by Greg Kurtzer, who also founded the original CentOS
>> project 15 years ago.
>> https://rockylinux.org/
>>
>> I have no personal interest in using php-fpm. I was following the centos7
>> instructions to install php-fpm, but there was an apache error expecting mod_php.
>> I'm happy to install mod_php but that is not documnted in the centos7
>> instructions.
>> To be honest, I'm really disappointed in the loris documentation and that
>> my emails aren't being read carefully.
>>
>>
>>
>> On Tue, Jan 12, 2021, 12:22 PM Dave MacFarlane <dave.macfarlane at mcin.ca>
>> wrote:
>>
>>> Hi Julie,
>>>
>>> CentOS is no longer supported (by which I mean the operating system
>>> itself has been discontinued, not the LORIS support for it.) The MCIN
>>> production servers currently run on CentOS7 which is why the installation
>>> procedure is well documented/tested for that system, but given the
>>> discontinuation of CentOS the plan is to move our production servers off of
>>> CentOS entirely. It's worth noting that CentOS 8 EOL is 2021, while CentOS
>>> 7 EOL is 2024. This is the reason why our documentation is tailored to V7.
>>>
>>> We don't have much experience running LORIS under php-fpm, which is why
>>> there's no documentation for that environment. At one point years ago I had
>>> written a configuration file in order to use it in Travis CI, but since
>>> then testing/development has moved towards using Docker and the built-in
>>> PHP web server (I just looked at that configuration file and it's so old it
>>> refers to php5..). mod_php is currently the only supported/documented PHP
>>> environment as it's all most of the LORIS developers have experience with
>>> (though I also regularly develop with the php built in dev server, so I'm
>>> confident that that works as well.)
>>>
>>> The good news is our dependency on apache/mod_php is much weaker than it
>>> was when I had worked on it years ago, but the bad news is there's no
>>> written documentation that I'm aware of.
>>>
>>> If you're willing to do the work of debugging the environment we can
>>> help where we can, but if you're trying to get a system up and quickly it's
>>> likely faster and easier to use something that we have more experience
>>> with. For reference, I don't think the php_value setting you're trying to
>>> set should be required anywhere by LORIS. LORIS uses an autoloader for
>>> class/include resolution and shouldn't depend on the PHP include_path. If
>>> you're set on php-fpm you can look at docs/config/apache2-fastcgi as a
>>> starting point, but note that that configuration is from 2014 (which as far
>>> as I know is the last time anyone tried to use LORIS in that environment.)
>>>
>>> P.S. (Forgive me if I'm slow to respond to any emails as I'm on vacation
>>> until next week..)
>>>
>>> On Tue, Jan 12, 2021 at 12:39 PM Julie Ashworth, HWNI Computing Support <
>>> support-cirl at berkeley.edu> wrote:
>>>
>>>> Thank you,
>>>> In the last 4 emails I have simply asked for  current linux
>>>> documentation, not centos8 documentation (preferably that mentions php-fpm
>>>> configuration). Is that available?
>>>>
>>>>
>>>>
>>>> On Tue, Jan 12, 2021, 8:59 AM Samir Das <samirdas99 at gmail.com> wrote:
>>>>
>>>>> Hi Julie,
>>>>>
>>>>> We'll do our best to help you with this configuration. :) We'll send
>>>>> you any documentation we have.
>>>>>
>>>>> Regarding CentOS, since RedHat has discontinued its support, we are
>>>>> planning on putting our testing resources elsewhere. We have yet to discuss
>>>>> CentOS-Stream, which we will do next week. But I wouldn't worry too much...
>>>>> we'll help as much as we can given that you have already installed it, etc.
>>>>> If the problems become too tedious, then we can figure out options together.
>>>>>
>>>>> Best,
>>>>>
>>>>> Samir Das
>>>>>
>>>>> On Tue, Jan 12, 2021 at 5:52 PM Julie Ashworth, HWNI Computing Support
>>>>> <support-cirl at berkeley.edu> wrote:
>>>>>
>>>>>> hi Shen,
>>>>>>
>>>>>> On 12-01-2021 11.40 -0500, Shen Wang wrote:
>>>>>> >    So Loris team will not support Centos. We will only
>>>>>> support Ubuntu in the future.Â
>>>>>>
>>>>>> That's interesting that CentOS will no longer be supported.
>>>>>>
>>>>>> Since you previously mentioned that CentOS8 should work, I already
>>>>>> started the installation, and I'd like to see if it works.
>>>>>>
>>>>>> So, please, please...
>>>>>> will you please send me a link to the most recent instruction for
>>>>>> loris installation that includes the php_value in /etc/php-fpm.d?
>>>>>> As I said, I can modify ubuntu instructions. I don't need
>>>>>> instructions specific to CentOS.
>>>>>>
>>>>>> thanks,
>>>>>> Julie
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 12-01-2021 11.40 -0500, Shen Wang wrote:
>>>>>> >    Hi Julie,
>>>>>> >    We are holding the Loris meeting to discuss whether to support
>>>>>> centos in
>>>>>> >    the future.Â
>>>>>> >    Loris's sub-modules have issues with the Centos system. So
>>>>>> Loris team will
>>>>>> >    not support Centos.
>>>>>> >    We will only support Ubuntu in the future.Â
>>>>>> >    BestÂ
>>>>>> >    Shen
>>>>>> >    On Tue, 12 Jan 2021 at 11:27, Julie Ashworth, HWNI Computing
>>>>>> Support
>>>>>> >    <[1]support-cirl at berkeley.edu> wrote:
>>>>>> >
>>>>>> >      hi Shen,
>>>>>> >      I'm looking for documentation of the (useful!) instruction you
>>>>>> provided
>>>>>> >      in your previous email:
>>>>>> >
>>>>>> >      >    step 2 : add "php_value[include_path]  =
>>>>>> >      >    ....." into /etc/php-fpm.d/loris.conf
>>>>>> >
>>>>>> >      I would appreciate a link to that documentation, because I
>>>>>> think it
>>>>>> >      would be valuable for the future. I can adapt Ubuntu
>>>>>> documentation for
>>>>>> >      CentOS.
>>>>>> >
>>>>>> >      thanks,
>>>>>> >      Julie
>>>>>> >
>>>>>> >      On 12-01-2021 09.14 -0500, Shen Wang wrote:
>>>>>> >      >Â  Â  Hi Julie,
>>>>>> >      >
>>>>>> >      >Â  Â  The Loris Team only supports Centos7 currently.
>>>>>> >      >Â  Â  We don't have Centos8 instructions yet, so you can't
>>>>>> find it.
>>>>>> >      >
>>>>>> >      >Â  Â  If you and Ioannis would like to install loris 23 on
>>>>>> centos 8, you
>>>>>> >      can
>>>>>> >      >Â  Â  try.
>>>>>> >      >Â  Â  I have installed loris 23 on centos 8, although the
>>>>>> process is not
>>>>>> >      simple.
>>>>>> >      >Â  Â  That is why I mentioned Centos 8, not officially
>>>>>> supported yet.
>>>>>> >      Sorry for
>>>>>> >      >Â  Â  confusion.
>>>>>> >      >Â  Â  best
>>>>>> >      >Â  Â  Shen
>>>>>> >      >    [1]å± å¹•å¿«ç § 2021-01-11 Àş‹å
>>>>>> ˆ8.04.56.png
>>>>>> >      >Â  Â  On Mon, 11 Jan 2021 at 16:27, Julie Ashworth, HWNI
>>>>>> Computing
>>>>>> >      Support
>>>>>> >      >Â  Â  <[2][2]support-cirl at berkeley.edu> wrote:
>>>>>> >      >
>>>>>> >      >Â  Â  Â  Thanks Shen,
>>>>>> >      >Â  Â  Â  Is this documented anywhere? I checked the Ubuntu
>>>>>> instructions
>>>>>> >      and the
>>>>>> >      >Â  Â  Â  install.sh file, but I don't see it mentioned.
>>>>>> >      >
>>>>>> >      >Â  Â  Â  You also mentioned to Ioannis that Loris should run
>>>>>> find on
>>>>>> >      CentOS8.
>>>>>> >      >Â  Â  Â  Which version did you recommend for CentOS8?
>>>>>> >      >
>>>>>> >      >Â  Â  Â  best,
>>>>>> >      >Â  Â  Â  Julie
>>>>>> >      >
>>>>>> >      >Â  Â  Â  On 11-01-2021 16.04 -0500, Shen Wang wrote:
>>>>>> >      >      >    Hi Julie,
>>>>>> >      >      >    We do not support Loris 23.0.2 to run on
>>>>>> CentOS 8.
>>>>>> >      >      >    You can install 23.0.2 on Centos 7.
>>>>>> >      >      >    If you want to try to install it on
>>>>>> Centos8. There is no
>>>>>> >      guarantee
>>>>>> >      >Â  Â  Â  that it
>>>>>> >      >      >    will work on Centos 8.
>>>>>> >      >      >    You can try it.
>>>>>> >      >      >    step 1 : remove the line of php_value
>>>>>> from loris.conf
>>>>>> >      >      >    step 2 : add "php_value[include_path]ÂÂ
>>>>>> =
>>>>>> >      >      >  ÂÂ
>>>>>> ....." into /etc/php-fpm.d/loris.conf
>>>>>> >      >      >    step 3: reload php-fpm and httpd.
>>>>>> >      >      >    Good Luck!
>>>>>> >      >      >    BestÂÂ
>>>>>> >      >      >    Shen
>>>>>> >      >      >    On Mon, 11 Jan 2021 at 15:32, Julie
>>>>>> Ashworth, HWNI
>>>>>> >      Computing
>>>>>> >      >Â  Â  Â  Support
>>>>>> >      >      >    <[1][3][3]support-cirl at berkeley.edu>
>>>>>> wrote:
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      hi Shen,
>>>>>> >      >      >      that *is* how I installed
>>>>>> apache/php7.4.
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      Please reread my email.
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      I'd like to know how y'all recommend
>>>>>> adding the php
>>>>>> >      path for
>>>>>> >      >Â  Â  Â  loris
>>>>>> >      >      >      libraries using php-fpm.
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      If I use the apache configuration
>>>>>> file provided:
>>>>>> >      >      >              php_value
>>>>>> include_path
>>>>>> >      >      >    ÂÂ
>>>>>> >      >Â  Â  Â
>>>>>> >
>>>>>> .:/usr/share/php:/var/www/loris/project/libraries:/var/www/loris/php/libraries
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      I get an error:
>>>>>> >      >      >      Invalid command 'php_value', perhaps
>>>>>> misspelled or
>>>>>> >      defined by a
>>>>>> >      >Â  Â  Â  module
>>>>>> >      >      >      not included in the server
>>>>>> configuration
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      ... because this isn't supported
>>>>>> with php-fpm
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      best,
>>>>>> >      >      >      Julie
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >      On 11-01-2021 10.08 -0500, Shen Wang
>>>>>> wrote:
>>>>>> >      >      >      >    Hi Julie,
>>>>>> >      >      >      >    I recommend reinstalling
>>>>>> php 7.4 and apache.
>>>>>> >      >      >      >  ÂÂ
>>>>>> >      >Â  Â  Â  [1][2][4][4]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      this
>>>>>> >      >      >      article is
>>>>>> >      >      >      >    helpful.
>>>>>> >      >      >      >    Best
>>>>>> >      >      >      >    Shen
>>>>>> >      >      >      >
>>>>>> >      >      >      > References
>>>>>> >      >      >      >
>>>>>> >      >      >      >    Visible links
>>>>>> >      >      >      >    1.
>>>>>> >      >Â  Â  Â  [3][5][5]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >      >      ---end quoted text---
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >    --
>>>>>> >      >      >    Shen Wang
>>>>>> >      >      >    [4]Loris  Developer
>>>>>> >      >      >    Montreal Neurological InstituteÂÂ
>>>>>> >      >      >    McGill University
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >Â  Â  Â  > References
>>>>>> >      >Â  Â  Â  >
>>>>>> >      >      >    Visible links
>>>>>> >      >      >    1. mailto:[6][6]support-cirl at berkeley.edu
>>>>>> >      >      >    2.
>>>>>> >      [7][7]https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >      >    3.
>>>>>> >      [8][8]https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >      >    4. [9][9]https://github.com/aces/Loris
>>>>>> >      >Â  Â  Â  ---end quoted text---
>>>>>> >      >
>>>>>> >      >Â  Â  --
>>>>>> >      >Â  Â  Shen Wang
>>>>>> >      >    [10]Loris  Developer
>>>>>> >      >    Montreal Neurological InstituteÂÂ
>>>>>> >      >Â  Â  McGill University
>>>>>> >      >
>>>>>> >      > References
>>>>>> >      >
>>>>>> >      >Â  Â  Visible links
>>>>>> >      >Â  Â  2. mailto:[10]support-cirl at berkeley.edu
>>>>>> >      >Â  Â  3. mailto:[11]support-cirl at berkeley.edu
>>>>>> >      >Â  Â  4. [12]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >Â  Â  5. [13]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >Â  Â  6. mailto:[14]support-cirl at berkeley.edu
>>>>>> >      >Â  Â  7. [15]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >Â  Â  8. [16]
>>>>>> https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >      >Â  Â  9. [17]https://github.com/aces/Loris
>>>>>> >      >Â  Â 10. [18]https://github.com/aces/Loris
>>>>>> >
>>>>>> >      ---end quoted text---
>>>>>> >
>>>>>> >    --
>>>>>> >    Shen Wang
>>>>>> >    [19]Loris  Developer
>>>>>> >    Montreal Neurological InstituteÂ
>>>>>> >    McGill University
>>>>>> >
>>>>>> > References
>>>>>> >
>>>>>> >    Visible links
>>>>>> >    1. mailto:support-cirl at berkeley.edu
>>>>>> >    2. mailto:support-cirl at berkeley.edu
>>>>>> >    3. mailto:support-cirl at berkeley.edu
>>>>>> >    4. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >    5. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >    6. mailto:support-cirl at berkeley.edu
>>>>>> >    7. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >    8. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >    9. https://github.com/aces/Loris
>>>>>> >   10. mailto:support-cirl at berkeley.edu
>>>>>> >   11. mailto:support-cirl at berkeley.edu
>>>>>> >   12. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >   13. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >   14. mailto:support-cirl at berkeley.edu
>>>>>> >   15. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >   16. https://tecadmin.net/install-apache-php-fpm-centos-8/
>>>>>> >   17. https://github.com/aces/Loris
>>>>>> >   18. https://github.com/aces/Loris
>>>>>> >   19. https://github.com/aces/Loris
>>>>>> ---end quoted text---
>>>>>> _______________________________________________
>>>>>> Loris-dev mailing list
>>>>>> Loris-dev at bic.mni.mcgill.ca
>>>>>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>>>>>
>>>>> _______________________________________________
>>>> Loris-dev mailing list
>>>> Loris-dev at bic.mni.mcgill.ca
>>>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>>>
>>> _______________________________________________
> Loris-dev mailing list
> Loris-dev at bic.mni.mcgill.ca
> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210112/54a19f18/attachment-0001.html>


More information about the Loris-dev mailing list