Koozali.org: home of the SME Server

Redis install

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Redis install
« on: March 02, 2022, 07:30:45 PM »
Ie been trying to follow this page

https://wiki.koozali.org/OwnCloud#Redis

but looks like i might cause issues.
Ive noticed i can install redis 3.x but not 6?

Thanks


Online ReetP

  • *
  • 3,722
  • +5/-0
Re: Redis install
« Reply #1 on: March 02, 2022, 07:43:57 PM »
Please don't - it is probably quite out of date, especially anything relating to php/services.

Please explain what are you trying to do, and why?

As in do you need owncloud? Nextcloud is already in contribs.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Redis install
« Reply #2 on: March 02, 2022, 08:59:09 PM »
Hi Reet, no its to help with wordpress (i know your a huge fan)

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: Redis install
« Reply #3 on: March 02, 2022, 09:48:57 PM »
:lol:

So why Redis?

Note someone else is messing with Wordpress multi site on Rocket.

If you are hacking stuff it will be easier to talk there. Think you have an account?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Redis install
« Reply #4 on: March 03, 2022, 01:55:08 PM »
I do
Im using redis because I did on the old v9 server as it helped enormously with site speed.
As im using it for ecom and ticket support etc when its busy it can take a battering

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: Redis install
« Reply #5 on: March 03, 2022, 02:20:06 PM »
Speak to me on Rocket.

I'll try a test install on a VM and see what happens.

Don't use the wiki instructions though. Need to run it under systemD....

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: Redis install
« Reply #6 on: March 03, 2022, 05:12:40 PM »
Well, it basically works but needs a load of refinement.

That is redis v6.

systemctl status redis
● redis.service - Redis persistent key-value database
   Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/redis.service.d
           └─50koozali.conf
        /etc/systemd/system/redis.service.d
           └─limit.conf
   Active: active (running) since Thu 2022-03-03 15:59:23 CET; 1h 9min ago
 Main PID: 1765 (redis-server)
   Status: "Ready to accept connections"
    Tasks: 5
   Memory: 8.8M
   CGroup: /system.slice/redis.service
           └─1765 /usr/bin/redis-server 127.0.0.1:6379

Mar 03 15:59:22 smev10.mycompany.local systemd[1]: Starting Redis persistent key-value database...
Mar 03 15:59:23 smev10.mycompany.local systemd[1]: Started Redis persistent key-value database.

It is only running on local host so needs a config file.

Stupidly the default config file does not 'include' override files so that might be fun building a contrib rpm (rpms get stressy these days when overwriting files owned by other packages) but i have put the basics of one together.


These are the installed files - I have no idea about any of it as I have never used it:

=============================================================================
 Package                  Arch    Version                  Repository  Size
=============================================================================
Installing:
 php70-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  221 k
 php71-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  219 k
 php72-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  219 k
 php73-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  220 k
 php74-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  229 k
 php80-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  229 k
 php81-php-pecl-redis5    x86_64  5.3.7-1.el7.remi         remi-safe  229 k
 redis                    x86_64  6.2.6-1.el7.remi         remi       1.2 M
Installing for dependencies:
 php70-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe   76 k
 php70-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php71-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe   76 k
 php71-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php72-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe   81 k
 php72-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php73-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe   91 k
 php73-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php74-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe  107 k
 php74-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php80-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe  107 k
 php80-php-pecl-msgpack   x86_64  2.1.2-1.el7.remi         remi-safe   44 k
 php81-php-pecl-igbinary  x86_64  3.2.7-1.el7.remi         remi-safe  176 k
 php81-php-pecl-msgpack   x86_64  2.2.0~RC1-4.el7.remi     remi-safe   43 k

Transaction Summary
=============================================================================
Install  8 Packages (+14 Dependent packages)



Not doing any more unless I get some help.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation