博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kodexplorer安装
阅读量:6868 次
发布时间:2019-06-26

本文共 1490 字,大约阅读时间需要 4 分钟。

hot3.png

概述

个人觉得这个是最好的网盘系统,没有之一,首先可以直接浏览服务器中的文件,其次还支持一些文件直接打开,web界面也做得很流畅,占用的内存也很小,不需要依赖第三方数据库,备份起来也很方便,而且是国产的,真的是国产良心

lnmp环境安装

这个我是使用oneinstack解决的,最主要安装了nginx,和php7.2,还有opcache,这样就够了

首先下载

wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz

之后解压

tar -zxvf oneinstack-full.tar.gz

安装

./install.sh

关于kodexplorer

首先下载

wget http://static.kodcloud.com/update/download/kodexplorer4.35.zip

解压

unzip kodexplorer4.35.zip

之后移动到站点目录

mv kodexplorer /data/wwwroot/

修改配置文件

vim /usr/local/nginx/conf/nginx.conf

######################## default ############################  server {    listen 80;    server_name _;    access_log /data/wwwlogs/access_nginx.log combined;    root /data/wwwroot/kodexplorer;    index index.html index.htm index.php;    #error_page 404 /404.html;    #error_page 502 /502.html;    location /nginx_status {      stub_status on;      access_log off;      allow 127.0.0.1;      deny all;    }    location ~ [^/]\.php(/|$) {      #fastcgi_pass remote_php_ip:9000;      fastcgi_pass unix:/dev/shm/php-cgi.sock;      fastcgi_index index.php;      include fastcgi.conf;    }    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {      expires 30d;      access_log off;    }    location ~ .*\.(js|css)?$ {      expires 7d;      access_log off;    }    location ~ /\.ht {      deny all;    }  }

其实只要修改下面这行就好了

root /data/wwwroot/kodexplorer

修改kodexplorer权限

chmod -R 777 /data/wwwroot/kodexplorer/

接着浏览器访问服务器ip就可以了

欢迎关注Bboysoul的博客 Have Fun

转载于:https://my.oschina.net/u/3778921/blog/2050050

你可能感兴趣的文章
Mozilla开发新功能提升网络隐私保护
查看>>
运营是一门艺术,互联网营销
查看>>
Visual Studio 2010 SP1将支持HTML5和CSS3
查看>>
[资源记录 ]mobile layer cdn
查看>>
关于scrapy的piplines
查看>>
20165232《信息安全系统设计基础》第六周学习总结
查看>>
凸优化之凸集
查看>>
2、Spring开发的jar文件
查看>>
linux -- #!/bin/bash
查看>>
引用程序集没有强名称解决办法
查看>>
poj 2965 The Pilots Brothers' refrigerator
查看>>
子集生成——回溯法的准备篇
查看>>
Python列表的增删改查和元祖
查看>>
实现多线程2
查看>>
【全网最全的博客美化系列教程】03.给博客添加一只萌萌哒的小仓鼠
查看>>
内核同步机制
查看>>
重建二叉树
查看>>
消息队列
查看>>
用 Tornado 实现简单的在线代理
查看>>
函数指针和指针函数
查看>>