Welcome to Centmin Mod Community
Become a Member

Redis.conf location

Discussion in 'Other Centmin Mod Installed software' started by steph40, Aug 17, 2019.

  1. steph40

    steph40 Premium Member Premium Member

    58
    13
    8
    Jan 28, 2019
    Ratings:
    +25
    Local Time:
    8:21 AM
    1.1.5
    mariadb 10
    Please fill in any relevant information that applies to you:
    • CentOS Version:CentOS 7 64bit
    • Centmin Mod Version Installed:123.09beta01
    • Nginx Version Installed: 1.17.3
    • PHP Version Installed: 7.3
    • MariaDB MySQL Version Installed: 10.3
    • When was last time updated Centmin Mod code base ? : every day
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      LETSENCRYPT_DETECT='y'
      NGINX_IORURING_PATCH='y'
      NGINX_HPACK='y'
      NGINX_DYNAMICTLS='y'
    I just installed centminmod on a new server 6 core, 24gb ram, 250gb nvme (sweet) and all is working well. I wanted to tweak redis a bit but for the life of me I cannot find the redis.conf file is. I check /etc/redis/ but the directory does not exist, next was /etc/redis.conf but does not exist.

    Where does centminmod install this file?
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,443
    329
    83
    May 31, 2014
    Ratings:
    +627
    Local Time:
    3:21 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Did you install Redis?

    Code:
    cd /svr-setup
    wget -O redis-install.sh https://github.com/centminmod/centminmod-redis/raw/master/redis-install.sh
    chmod +x redis-install.sh
    ./redis-install.sh install
    
    systemctl enable redis.service
    systemctl start redis.service
     
    • Informative Informative x 1
  3. steph40

    steph40 Premium Member Premium Member

    58
    13
    8
    Jan 28, 2019
    Ratings:
    +25
    Local Time:
    8:21 AM
    1.1.5
    mariadb 10
    I installed redis using centmin.sh menu option 13). Install/Reinstall Redis PHP Extension
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,443
    329
    83
    May 31, 2014
    Ratings:
    +627
    Local Time:
    3:21 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    You need to install first main software Redis and then the Redis php extension as you did from the menu...
     
    • Agree Agree x 1
  5. steph40

    steph40 Premium Member Premium Member

    58
    13
    8
    Jan 28, 2019
    Ratings:
    +25
    Local Time:
    8:21 AM
    1.1.5
    mariadb 10
    Thanks
    I feel like a noob
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    3,443
    329
    83
    May 31, 2014
    Ratings:
    +627
    Local Time:
    3:21 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    I am noob also so no worries :)
     
  7. EckyBrazzz

    EckyBrazzz Active Member

    589
    125
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +231
    Local Time:
    9:21 AM
    1.17.x
    10.3.x
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,443
    329
    83
    May 31, 2014
    Ratings:
    +627
    Local Time:
    3:21 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    I already post that on second post :)
     
  9. EckyBrazzz

    EckyBrazzz Active Member

    589
    125
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +231
    Local Time:
    9:21 AM
    1.17.x
    10.3.x
    I mentioned it because the guide if followed was missing it. As add on information for those who want to follow that guide. Pid file is different.

    Only looking for some tools to benchmark so that I can tune it a bit. Can't find them here on the forum
     
  10. EckyBrazzz

    EckyBrazzz Active Member

    589
    125
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +231
    Local Time:
    9:21 AM
    1.17.x
    10.3.x
    FYI I would recommend using that install that uses yum for installing instead of the GitHub install. With the yum install Redis get's his updats, with the GitHub install it won't be updated.

    To auto update with yum you can use Eckybrazzz/yum-auto-update-Centos-Redhat. Open for improvements! I just dump it on GitHub as a note, but now it is copy/past. Script would be nice.