网盘
# oneindex
也可以支持Docker安装:
从docker仓库获取镜像:
1 | docker pull yinaoxiong/oneindex |
---|---|
或者从源码构建镜像:
git clone https://github.com/donwa/oneindex.git cd oneindex/ docker build -t your-image-name .
运行:
1 | docker run -d -p {open port}:80 --name {container name} --restart=always {image name} |
---|---|
停止删除容器:
docker stop {container name}
docker rm -v {container name}
宝塔
外网面板地址: http://115.196.247.46:9999/6b53511d 内网面板地址: http://192.168.12.132:9999/6b53511d username: 1667834841 password: ae19dd28 If you cannot access the panel, release the following panel port [9999] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[9999]端口
Time consumed: 1 Minute!
# cloudreve
# 第一、在/usr/lib/systemd/system目录下创建一个服务cloudreve.service
通过vi打开服务配置:
vi /usr/lib/systemd/system/cloudreve.service
1
1
2
2
输入如下内容:
[Unit]
Description=Cloudreve
Documentation=https://docs.cloudreve.org
After=network.target
Wants=network.target
[Service]
Type=simple
## cloudreve 位置
WorkingDirectory=/home/software/cloudreve
ExecStart=/home/software/cloudreve/cloudreve
Restart=on-abnormal
RestartSec=5s
KillMode=mixed
StandardOutput=null
StandardError=syslog
[Install]
WantedBy=multi-user.target
12345678910111213141516171819
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 2、更新重启服务
# 更新配置
systemctl daemon-reload
# 启动服务
systemctl start cloudreve
# 设置开机启动
systemctl enable cloudreve
123456789
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
管理命令
# 启动服务
systemctl start cloudreve
# 停止服务
systemctl stop cloudreve
# 重启服务
systemctl restart cloudreve
# 查看状态
systemctl status cloudreve
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
账号 1667834841@qq.com
密码 a130144
上次更新: 2022/01/03, 23:02:56