Redis installation
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Shannon Plaquet
  2. 15.01.2020
  3.  Subscribe via email
I realize there are instructions here, to setup/integrate redis into a CloudLinux system:
https://docs.cloudlinux.com/cloudlinux_os_components/#redis-support-for-hostinglimits

...but, it appears dated. for example, the references to the source files are inconsistent:
http://repo.cloudlinux.com/cloudlinux/sources/da/mod_hostinglimits.tar.gz
http://repo.cloudlinux.com/cloudlinux/sources/mod_hostinglimits.tar.gz

whenever you download the file linked to the above URL, it downloads ver-1.0-36. when looking through the repo list, it shows a ver-1.0-37 as being available.

secondly, i cannot seem to find a way to work around these errors:
`[[email protected] mod_hostinglimits-1.0-36]# cmake -DREDIS:BOOL=TRUE .
-- Version 2.4...
-- apache 2.4 detected...
-- Can't find Apache Portable Runtime
-- Can't find Apache Portable Runtime Utils
-- Found Apache Bin Directory: /usr/sbin, /usr/lib64/apache2/modules/
-- Found Apache2: /usr/include/apache2
-- Apache binary /usr/sbin/httpd
-- USE MUTEX WORKER, EVENT FOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
APRUTIL_INCLUDE_DIR
used as include directory in directory /root/mod_hostinglimits-1.0-36
APR_INCLUDE_DIR
used as include directory in directory /root/mod_hostinglimits-1.0-36
APR_LIBRARY
linked by target "mod_hostinglimits" in directory /root/mod_hostinglimits-1.0-36
REDIS_INCLUDES_DIR
used as include directory in directory /root/mod_hostinglimits-1.0-36
REDIS_LIB_DIR
linked by target "mod_hostinglimits" in directory /root/mod_hostinglimits-1.0-36

-- Configuring incomplete, errors occurred!
See also "/root/mod_hostinglimits-1.0-36/CMakeFiles/CMakeOutput.log".`

and with 1.0-37:
`[[email protected] mod_hostinglimits-1.0-37]# cmake -DREDIS:BOOL=TRUE .
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Version 2.4...
-- apache 2.4 detected...
-- Found Apache Portable Runtime: /opt/cpanel/ea-apr16/include/apr-1, /opt/cpanel/ea-apr16/lib64/libapr-1.so
-- Found Apache Portable Runtime Utils: /opt/cpanel/ea-apr16/include/apr-1, /opt/cpanel/ea-apr16/lib64/libaprutil-1.so
-- Found Apache Bin Directory: /usr/sbin, /usr/lib64/apache2/modules/
-- Found Apache2: /usr/include/apache2
-- Apache binary /usr/sbin/httpd
-- USE MUTEX WORKER, EVENT FOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
REDIS_INCLUDES_DIR
used as include directory in directory /root/mod_hostinglimits-1.0-37
REDIS_LIB_DIR
linked by target "mod_hostinglimits" in directory /root/mod_hostinglimits-1.0-37

-- Configuring incomplete, errors occurred!
See also "/root/mod_hostinglimits-1.0-37/CMakeFiles/CMakeOutput.log".
`

the kicker is that *i know* that i've set this up before, and i *do not* remember the process being this complicated. it'd be really, really nice if setting Redis up was easier for all.

any help or suggestions?
Rate this post:
  1. 16.01.2020 10:01:14
  2. # 1
Sergey Khristich Accepted Answer
Posts: 263
Joined: 20.05.2019
0
Votes
Undo
Hello Shannon,
To help you with this question we need a little bit more information, please create a ticket here https://cloudlinux.zendesk.com/hc/en-us/requests/new and technical experts will help you asap.
If you have any other questions, feel free to ask here. Thank you for contacting us.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.