Home > Database > Mysql Tutorial > body text

WDCP面板开启Memcached分布式缓存解决方案

WBOY
Release: 2016-06-07 16:38:22
Original
1059 people have browsed it

默认安装的 WDCP 面板是没有开启 Memcached 分布式缓存功能的,需要安装Memcached组件才可以解决这个问题,下午的时候一个网友需要提供解决方案,所以我先把具体的解决步骤分享在老左博客中,以来以后如果有需要的用户可以直接查阅,二来自己如果有需要使用

默认安装的WDCP面板是没有开启Memcached分布式缓存功能的,需要安装Memcached组件才可以解决这个问题,下午的时候一个网友需要提供解决方案,所以我先把具体的解决步骤分享在老左博客中,以来以后如果有需要的用户可以直接查阅,二来自己如果有需要使用的时候直接复制安装脚本。

WDCP官方网站提供的安装源文件包是不完整的,老左这里把缺失的文件包都放到本地,这样能确保Memcached的正确安装和启动。我们先看看WDCP面板的Memcached状态。

WDCP-Memcached-1

在我们的WDCP面板中可以看到"系统设置"-"MEMCACHED设置"提示是没有安装的,那我们就需要安装。

WDCP面板开启Memcached方法/脚本

wget -c http://www.laozuo.org/download/scripts/memcached_ins.sh
sh memcached_ins.sh

安装完毕,然后我们启动服务

service memcached start|stop|restart {启动|停止|重启}

WDCP-Memcached-3

上面是安装启动后的界面。我们再回到WDCP面板后台看看状态。

WDCP-Memcached-2

已经启动Memcached,如果之前没有用命令启动,这里上图中下面一行字中的"点击重启"也是可以启动Memcached后生效。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!