畅购07:缓存测试注意事项

参考笔记,openresty在我们的虚拟机中已经安装,并且访问自己的虚拟机IP也能得到如下也页面,但是要实现视频中的缓存,我们需要修改一些配置。在这里插入图片描述

cd /usr/local/server/lua65/
vim update_content.lua 

这个lua脚本中的IP改成自己虚拟机的IP,然后重启nginx

cd /usr/local/openresty/nginx/sbin/
./nginx -s reload  

这里推荐一款开源的Redis可视化工具AnotherRedisDesktopManager

重启后的测试结果:

在这里插入图片描述在这里插入图片描述

发布了10 篇原创文章 · 获赞 4 · 访问量 1338

猜你喜欢

转载自blog.csdn.net/foxException/article/details/103828100
今日推荐