Pretty straight forward.
First important is to check which user / group has the current permission, no point of loading a ram drive if magento can’t write to it.
so
Code:
cd /home/magento/var/
then perform
Should give you a basic view of the current owner.
Now, we can create our tmpfs drives.
Code:
mount -t tmpfs -o size=128m tmpfs /home/magento/var/cache/
then
Code:
chown user:group /home/magento/var/cache
chmod o+w /home/magento/var/cache
Perform the same for /var/sessions
Their you go, you now have a very fast magento cache
Only downside if you reboot you shall have to remount them, otherwise you can add them to you /etc/fstab
View more threads in the same category:
- buy a USA/UK passport online( https://legitcleandocs.com)visa, SNN, id card
- buy registered drivers license online(legitcleandocs.com)passport,IELTS certific
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- buy real passports online(https://legitcleandocs.com)drivers license, visa, id card
- BUY UNDETECTABLE GRADE A+ COUNTERFEIT BANKNOTE(legitcleandocs.com)
- BUY REGISTERED DRIVERS LICENSE ONLINE https://worldpassporte.com/
Bookmarks