Webinoly is just the perfect tool for NGINX experts. Give it a try!
+2 votes
by Rookie

Firstly, you have built a great tool.

We are trying to build a wordpress site which has 2 servers

On First we have installed nginx & php with install options 2

On the second server we installed with server option 0 & then installed the stack -mysql

Now my question where & how should redis be installed? on the first or the second? Also, how would it be configured in wordpress?

Also, if there is any guide that I can follow for installing webinoly in multiple servers for scaling purpose.

Thank you


1 Answer

0 votes
by Expert
Ideally, in a multi-server configuration, Redis should be installed in a separate server.
by Rookie

Currently we were only planning splitting the database. Maybe in the next step we can also split the redis cache. So if we had to on which of the server should we install redis? and is there a command inside webinoly to do the same.

Thank you for taking the time to reply.

by Expert
Put Redis together with MySQL.

If you install Redis on every PHP server, you will have duplicate queries to MySQL and that's exactly what you are trying to avoid. In other words, two servers can do the same query to store it in their own Redis, that's why should have only one common Redis instance.
by Rookie
Thanks. Is there a command in webinoly to install redis or it is automatically installed with the mysql command? or should I custom install it?
by Expert

Webinoly install Redis automatically after PHP, we don't have a command to install these tools alone, but it's very easy and you can do it manually:

sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt -y install redis-server php-redis
sudo systemctl enable redis-server


Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.