Update ocp-install.sh

main
denny 2023-09-13 14:59:28 +00:00
parent 04d00daf1c
commit a961e305d4
1 changed files with 17 additions and 11 deletions

View File

@ -1,6 +1,12 @@
#!/bin/bash
cd /var/www/webroot/ROOT cd /var/www/webroot/ROOT
#disable litespeed object cache (not entire plugin) #disable litespeed object cache (not entire plugin)
wp plugin install redis-cache --activate
#wp plugin install redis-cache --activate
#install OCP instead
wp config set WP_REDIS_IGNORED_GROUPS "['comment','counts','plugins','themes','wc_session_id','learndash_reports','learndash_admin_profile','bp_messages','bp_messages_threads']" --raw wp config set WP_REDIS_IGNORED_GROUPS "['comment','counts','plugins','themes','wc_session_id','learndash_reports','learndash_admin_profile','bp_messages','bp_messages_threads']" --raw
wp config set WP_REDIS_CLIENT 'relay' wp config set WP_REDIS_CLIENT 'relay'
wp config set WP_REDIS_SCHEME 'unix' wp config set WP_REDIS_SCHEME 'unix'