install Redis caching engine on Cpanel server with underlying CentOS6.7 OS

Mangoose

Active Member
Aug 5, 2014
32
0
6
cPanel Access Level
Root Administrator
My question is actually threefold

1. is there smooth way to install Redis on a CentOS 6.7 server with Cpanel installed and what is it?

2. or is it better to do it just from within terminal access and via the command line as outlined in this tutorial
idroot.net/tutorials/how-to-install-redis-on-centos-6/

3. where do you go for if you need help with installing Redis on your server ?

Regards

Anthony
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
  • Like
Reactions: Mangoose

kygeek

Registered
Jan 3, 2011
1
0
51
That tutorial will get you started but it leaves out a couple steps needed.
its trivial, but after you put the redis startup script in /etc/init.d/
you must make it executable

chmod +x /etc/init.d/redis

next thing is not a have to, but you will want to put the config params for redis in a file called
/etc/redis/local.conf
that being said for it to work properly you must also put a

include /etc/redis/local.conf
in the file /etc/redis/redis.conf

also as a quick note. pecl install redis didnt work for me
i went to here
grabbed the source and ran phpize && ./configure && make install
(more details will be in tutorial im writing) ill post a link here if its ok with mods. when its done.

If you are using ea4 and multi-php then thats a whole other issue.

hope that helps some if you ran into trouble.
 
Last edited:

Mangoose

Active Member
Aug 5, 2014
32
0
6
cPanel Access Level
Root Administrator
Hi kygeek


That tutorial will get you started but it leaves out a couple steps needed.
its trivial, but after you put the redis startup script in /etc/init.d/
you must make it executable

chmod +x /etc/init.d/redis

next thing is not a have to, but you will want to put the config params for redis in a file called
/etc/redis/local.conf
that being said for it to work properly you must also put a

include /etc/redis/local.conf
in the file /etc/redis/redis.conf

also as a quick note. pecl install redis didnt work for me
i went to here
grabbed the source and ran phpize && ./configure && make install
(more details will be in tutorial im writing) ill post a link here if its ok with mods. when its done.

If you are using ea4 and multi-php then thats a whole other issue.

hope that helps some if you ran into trouble.
I am not sure how I would accomplish this last one

next thing is not a have to, but you will want to put the config params for redis in a file called
/etc/redis/local.conf
that being said for it to work properly you must also put a

include /etc/redis/local.conf
in the file /etc/redis/redis.conf