KOD依赖什么环境?
环境要求: php 5.3及以上 + mysql/sqlite; 环境推荐: centos7+php7.3+nginx+mysql5.7+redis
您已配置数据库,如需重置,可在config/setting_user.php文件中修改配置后重新安装!
功能介绍:
[root@localhost conf.d]# yum -y install php-fpm php-mbstring php-gd
[root@localhost conf.d]# systemctl start php-fpm
这里我很好奇,这样php就安装好了,因为我并没有 yum install php
。
然后最好也安装 mysql 模块,方便 php 访问 mysql
yum install php-mysql
下载地址:http://kodcloud.com/download.html 执行: wget http://static.kalcaddle.com/update/download/kodexplorer3.46.zip
将可道云kodexplorer.zip解压,然后再进行相关配置
cd kodexplorer/
unzip kodexplorer3.46.zip
server {
listen 80;
server_name localhost;
root /data/kodexplorer/;
index index.html index.htm index.php;
location ~ \.php$ {
root kodexplorer;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /data/kodexplorer$fastcgi_script_name;
include fastcgi_params;
}
}
看到主页则表示非常完美
首先安装 nginx(yum 安装即可), 再安装 php。
在安装完php之后可以做个测试
这里调用函数 phpinfo(),将会看到很多有关自己系统的有用信息
<?php phpinfo(); ?>
wget http://static.kodcloud.com/update/download/kodbox.1.12.zip
unzip kodbox.1.12.zip && chmod -Rf 777 ./*
然后设置Kod安装目录为读写权限 最终浏览器访问KOD放置的目录(如http://x.x/kodexplorer),开始您的使用之旅
http://YOUR-IP:8080/ 或者 http://YOUR-IP/index.php
这里设置密码为 likai tangleilei
CentOS部署kodexplorer可道云搭建私有网盘 http://bbs.kodcloud.com/d/5
https://kodcloud.com/help/ 帮助 - 可道云KodExplorer-企业私有云存储与协同办公平台企业网盘企业云盘_云网盘
基于LNMP的测试工具环境部署-慕课网 https://www.imooc.com/learn/1070