# JmalCloud 个人网盘
JmalCloud 是一款私有云存储网盘项目
### 线上预览地址: https://www.jmal.top , 用户名:amdin,密码:jmalcloud
部分截图:

### 部署
#### 1.环境准备
- nginx 1.18+
- mongodb 4.0+
- jdk 1.8+
#### 2.下载网盘界面程序,并配置nginx
去[这里](https://github.com/jamebal/jmal-cloud-view/releases)下载最新的版本,选择dist.tar下载
下载后解压到某个地方
nginx配置如下: (只需要修改两个地方)
```nginx
server {
listen 80;
# 1.这里填写你的ip地址,或域名
server_name xxx;
# 2.这填写为dist.tar解压后的路径
root xxx;
client_body_temp_path /Users/jmal/temp/filetest/rootpath;
client_max_body_size 100m;
client_body_buffer_size 100m;
location /api {
proxy_pass http://localhost:8088/;
proxy_set_header Host $proxy_host;
}
location / {
try_files $uri $uri/ /index.html;
index index.html index.htm;
}
location /mq {
proxy_pass http://localhost:8088/mq/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_connect_timeout 60s;
proxy_read_timeout 500s;
proxy_send_timeout 500s;
}
location /articles {
proxy_pass http://localhost:8088/articles;
proxy_set_header Host $proxy_host;
}
location ~ \.(eot|otf|ttf|woff|woff2|svg)$ {
add_header Access-Control-Allow-Origin *;
}
}
```
#### 3.下载网盘服务程序
去[这里](https://github.com/jamebal/jmal-cloud-server/releases)最新的jar包
启动(需要提前安装jdk,mongodb环境)
`java -jar clouddisk-2.0-exec.jar --spring.profiles.active=prod --file.rootDir=xxx`
其中`file.rrootDir`为网盘文件真实的存储的位置
#### 4.访问
在浏览器里直接输入你的IP或域名即可
### 浏览器支持
| [
](http://godban.github.io/browsers-support-badges/)IE / Edge | [
](http://godban.github.io/browsers-support-badges/)Firefox | [
](http://godban.github.io/browsers-support-badges/)Chrome | [
](http://godban.github.io/browsers-support-badges/)Safari |
| --------- | --------- | --------- | --------- |
| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
### 后续更新
- [ ] webDAV
- [ ] iOS APP
- [ ] Android APP
- [ ] PC
### 许可
[MIT](https://github.com/jamebal/jmal-cloud-view/blob/master/LICENSE) license.
Copyright (c) 2020-present jmal