cachecloud安装部署

项目地址:https://github.com/sohutv/cachecloud

# 初始化数据库

默认插入admin超级管理员,用户名admin, 密码:admin

安装mysql

yum -y install mariadb mariadb-server mariadb-devel

systemctl enable mariadb

systemctl start mariadb

# clone项目并导入mysql数据 

cd /usr/local/src

扫描二维码关注公众号,回复: 3968435 查看本文章

git clone https://github.com/sohutv/cachecloud.git

cd /usr/local/src/cachecloud/script

如果mysql是5.5的,修改下cachecloud.sql 745行,内容修改为如下内容,5.7版本的不用修改

`service_time` timestamp NOT NULL DEFAULT "0000-00-00 00:00:00" COMMENT '上线时间'

进入mysql

创建数据库

create database `cache_cloud` default character set utf8 COLLATE  utf8_general_ci;

grant all on cache_cloud.* to admin@'localhost' identified by 'admin';

source cachecloud.sql;

CacheCloud项目配置

猜你喜欢

转载自www.cnblogs.com/linkenpark/p/9921521.html