Answer the question
In order to leave comments, you need to log in
Debian/VPS: how to put a CMS (like Joomla/Wordpress) into RAM?
How to put the site in RAM (without pictures)?
There is 5 GB of RAM, 3 GB is used on average.
Sites about 50-100mb (without pictures).
I would like to put the top 10 in terms of views into the RAM, if possible, in order to increase performance.
That. should remain about 1G for tick loads free.
Answer the question
In order to leave comments, you need to log in
use tmpfs - make an entry in /etc/fstab where to mount the memory partition and you will have just a folder that is actually in memory. - an example for 4000 megabytes
tmpfs /mnt/ramdisk tmpfs rw,relatime,size=4000M
Important - you will need to take care of synchronizing what is in memory to a regular disk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question