redi1
This commit is contained in:
parent
15cdddea05
commit
1810c6f65e
@ -42,6 +42,25 @@ wp theme install --allow-root \
|
||||
--activate \
|
||||
--path=/var/www/html
|
||||
|
||||
wp plugin install --allow-root \
|
||||
redis-cache \
|
||||
--activate \
|
||||
--path=/var/www/html
|
||||
wp config set --allow-root \
|
||||
WP_REDIS_HOST \
|
||||
redis \
|
||||
--type=constant \
|
||||
--path=/var/www/html
|
||||
|
||||
wp config set --allow-root \
|
||||
WP_REDIS_PORT \
|
||||
6379 \
|
||||
--type=constant \
|
||||
--path=/var/www/html
|
||||
|
||||
wp redis enable --allow-root \
|
||||
--path=/var/www/html
|
||||
|
||||
echo "WordPress installation completed."
|
||||
|
||||
chown -R wordpress:wordpress /var/www/html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user