当前位置: 首页 > news >正文

网站建设费用什么意思恩施州建设局网站

网站建设费用什么意思,恩施州建设局网站,网站建设百度搜索到左边的图,wordpress 简介主题目录 1、部署alist,配置ssl 安装alist 参考官方文档添加网盘 配置ssl 开启webdav访问 2、安装opkg 修改环境变量 添加计划任务 3、安装配置rclone挂载alist 安装rclone,新建remote 安装fuse3 挂载AList 添加计划任务 1、部署alist&#xff0…

目录

1、部署alist,配置ssl

安装alist

参考官方文档添加网盘

配置ssl

开启webdav访问

2、安装opkg

修改环境变量

添加计划任务

3、安装配置rclone挂载alist

安装rclone,新建remote

安装fuse3

挂载AList

添加计划任务


1、部署alist,配置ssl

确保你的套件中心添加了矿神源

安装alist

默认账号/密码是admin/alist,打开之后点击底下的管理,第一件事先修改账号密码

参考官方文档添加网盘

通用项 | AList文档

配置ssl

下载crt证书,可参考

玩机日记 1 前期准备工作:申请公网ipv4、购买域名、申请SSL证书-CSDN博客玩机日记 3 PVE配置SSL证书,主路由端口转发,实现远程访问PVE-CSDN博客

把保存crt证书的共享文件夹修改一下权限,确保alist可以访问

下载下来可能是三个文件,一个public.crt,一个chain.crt,需要把它们合成一个完整的证书

cat public.crt chain.crt > fullchain.crt

修改alist的config.json

vim /volume1/@appdata/alist3/config.json
#如果你的alist不是安装在储存空间1,比如说在储存空间2,那就把volume1改成volume2

找到这一段

修改成这样,两个file就是存放crt证书的路径

重启alist

成功添加了证书

开启webdav访问

2、安装opkg

opkg是一个第三方的包管理器,可以像apt一样在终端很方便的安装各类软件。

root执行

wget -O - http://bin.entware.net/x64-k3.2/installer/generic.sh | /bin/sh

根据安装后的提示进行操作:

修改环境变量
vim /etc/profile

找到这一行

在结尾添加

:/opt/bin:/opt/sbin

添加完之后

添加计划任务

/opt/etc/init.d/rc.unslung start

完成之后重启群晖

此时已经安装好opkg了

3、安装配置rclone挂载alist

安装rclone,新建remote
opkg install rclonerclone config

接下来根据提示操作,其实并不复杂

root@RiNG:~# rclone config
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n #新建remoteEnter name for new remote.
name> AList  #给新建的remote起个名字,随便什么都可以Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.1 / 1Fichier\ (fichier)2 / Akamai NetStorage\ (netstorage)3 / Alias for an existing remote\ (alias)4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, ChinaMobile, Cloudflare, DigitalOcean, Dreamhost, GCS, HuaweiOBS, IBMCOS, IDrive, IONOS, LyveCloud, Leviia, Liara, Linode, Magalu, Minio, Netease, Petabox, RackCorp, Rclone, Scaleway, SeaweedFS, StackPath, Storj, Synology, TencentCOS, Wasabi, Qiniu and others\ (s3)5 / Backblaze B2\ (b2)6 / Better checksums for other remotes\ (hasher)7 / Box\ (box)8 / Cache a remote\ (cache)9 / Citrix Sharefile\ (sharefile)
10 / Combine several remotes into one\ (combine)
11 / Compress a remote\ (compress)
12 / Dropbox\ (dropbox)
13 / Encrypt/Decrypt a remote\ (crypt)
14 / Enterprise File Fabric\ (filefabric)
15 / FTP\ (ftp)
16 / Files.com\ (filescom)
17 / Gofile\ (gofile)
18 / Google Cloud Storage (this is not Google Drive)\ (google cloud storage)
19 / Google Drive\ (drive)
20 / Google Photos\ (google photos)
21 / HTTP\ (http)
22 / Hadoop distributed file system\ (hdfs)
23 / HiDrive\ (hidrive)
24 / ImageKit.io\ (imagekit)
25 / In memory object storage system.\ (memory)
26 / Internet Archive\ (internetarchive)
27 / Jottacloud\ (jottacloud)
28 / Koofr, Digi Storage and other Koofr-compatible storage providers\ (koofr)
29 / Linkbox\ (linkbox)
30 / Local Disk\ (local)
31 / Mail.ru Cloud\ (mailru)
32 / Mega\ (mega)
33 / Microsoft Azure Blob Storage\ (azureblob)
34 / Microsoft Azure Files\ (azurefiles)
35 / Microsoft OneDrive\ (onedrive)
36 / OpenDrive\ (opendrive)
37 / OpenStack Swift (Rackspace Cloud Files, Blomp Cloud Storage, Memset Memstore, OVH)\ (swift)
38 / Oracle Cloud Infrastructure Object Storage\ (oracleobjectstorage)
39 / Pcloud\ (pcloud)
40 / PikPak\ (pikpak)
41 / Pixeldrain Filesystem\ (pixeldrain)
42 / Proton Drive\ (protondrive)
43 / Put.io\ (putio)
44 / QingCloud Object Storage\ (qingstor)
45 / Quatrix by Maytech\ (quatrix)
46 / SMB / CIFS\ (smb)
47 / SSH/SFTP\ (sftp)
48 / Sia Decentralized Cloud\ (sia)
49 / Storj Decentralized Cloud Storage\ (storj)
50 / Sugarsync\ (sugarsync)
51 / Transparently chunk/split large files\ (chunker)
52 / Uloz.to\ (ulozto)
53 / Union merges the contents of several upstream fs\ (union)
54 / Uptobox\ (uptobox)
55 / WebDAV\ (webdav)
56 / Yandex Disk\ (yandex)
57 / Zoho\ (zoho)
58 / premiumize.me\ (premiumizeme)
59 / seafile\ (seafile)
Storage> 55  #选择webdav,也就是55号,alist只支持通过webdav挂载 
#注意!!!这个编号随着更新是会变的,看清楚webdav是几号,不要无脑输入55!Option url.
URL of http host to connect to.
E.g. https://example.com.
Enter a value.
url> https://localhost:5244/dav #注意/dav是必须加的Option vendor.
Name of the WebDAV site/service/software you are using.
Choose a number from below, or type in your own value.
Press Enter to leave empty.1 / Fastmail Files\ (fastmail)2 / Nextcloud\ (nextcloud)3 / Owncloud\ (owncloud)4 / Sharepoint Online, authenticated by Microsoft account\ (sharepoint)5 / Sharepoint with NTLM authentication, usually self-hosted or on-premises\ (sharepoint-ntlm)6 / rclone WebDAV server to serve a remote over HTTP via the WebDAV protocol\ (rclone)7 / Other site/service or software\ (other)
vendor> 7  #alist不属于上述类型,因此选择othersOption user.
User name.
In case NTLM authentication is used, the username should be in the format 'Domain\User'.
Enter a value. Press Enter to leave empty.
user> #这里输入你的alist用户名Option pass.
Password.
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, leave this optional password blank (default)
y/g/n> y  #是的,输入自己的密码
Enter the password:
password: #输入你的alist密码
Confirm the password:
password: #确认密码Option bearer_token.
Bearer token instead of user/pass (e.g. a Macaroon).
Enter a value. Press Enter to leave empty.
bearer_token> Edit advanced config?
y) Yes
n) No (default)
y/n> n  #不更改高级选项Configuration complete.
Options:
- type: webdav
- url: https://192.168.1.141:5244/dav
- vendor: other
- user: 你的alist用户名
- pass: *** ENCRYPTED ***
Keep this "AList" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y  #是的,以上设置没有问题Current remotes:Name                 Type
====                 ====
AList                webdave) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q  #退出rclone配置

创建好一个remote之后,我们还需要配置连接到它

安装fuse3

rclone挂载依赖fuse3,先安装一下

opkg install fuse3-utils
挂载AList

事先新建好用来挂载的文件夹

 找一个共享文件夹新建一个AList.sh,注意不要放在用来挂载AList的目录中

比如我放在/volume2/Share文件夹里面

vim /volume2/Share/AList.sh

输入以下内容

#!/bin/bashexport PATH=/opt/bin:/opt/sbin:/usr/local/bin:/usr/bin:/binsleep 2              # Alist开机自启需要时间,所以小睡2秒再挂载rclone mount AList:/ /volume1/群晖网盘/AList \
--copy-links \
--no-gzip-encoding \
--no-check-certificate \
--allow-other \
--allow-non-empty \
--umask 000 \
--use-mmap \
--vfs-cache-mode full

chmod +x /volume2/Share/AList.sh #给予可执行权限
/volume2/Share/AList.sh          #运行一下试试看

像这样卡住不动就是挂载成功了,因为我们没有加后台运行的参数

切回群晖看一眼

在Windows11上面也可以顺利访问

关闭群晖的file station和Windows11的文件资源管理器,返回终端,按ctrl+c取消挂载

添加计划任务

添加计划任务以实现开机自动挂载

添加完可以尝试运行一下

挂载成功

接下来重启群晖看看能不能自动挂载

挂载失败了。其实对于我的配置来说,sleep时间要设为3才能挂载成功

再次重启群晖

这次就挂载成功了。对于不同的机器,需要sleep的时间也不一样,你的机器也许只要sleep1秒就能挂载,也有可能要sleep1分钟才能挂载。如果实在找不到挂载失败的原因,也可以照上图提示添加日志,自行查错。

http://www.dtcms.com/a/452487.html

相关文章:

  • asp.net网站安装顺序中国移动网站建设怎么做
  • 电子商务公司网站设计哪个网站做视频有钱挣
  • 网站建设与管理自考本建站行业发展前景
  • 做360效果图网站wordpress自动发布文章待审
  • 做a网站一个网站大概多少钱
  • 大连学校网站建设wordpress微信分享网页带图
  • 织梦建设网站需要什么软件星辰云二级域名分发
  • 阳江市网站建设汕头h5模板建站
  • 陕西门户网站建设wordpress 手机端优化
  • 网站如何做信誉认证wordpress主题 missoften
  • 互联网网站商标常州有哪些好的网站建设案例
  • 企业电话号码查询网站搜狗搜索引擎推广
  • 网站建设资料收集app开发公司哪个好
  • 网站建设的功能需求wordpress固定连接设置后
  • 怎么做网站备案铜陵做网站
  • 免费做网站哪里有东莞商业网站建设常识
  • 包装盒网站模板建筑行业数据开放平台官网
  • 网站建设导航分哪几类唐山哪里建设网站
  • 网站做微信链接怎么做的wordpress 开发h5页面
  • 网站利用微信拉取用户做登录页网上营销
  • 上海定制网站建设wordpress.or
  • 厦门旅游集团网站建设福州全网营销推广公司
  • 贵州三蒲建设工程有限公司网站可以做图片视频的网站
  • 网站服务器环境不支持mysql数据库介绍自己做的网站的论文
  • 自己怎么做网站首页北京seo业务员
  • 东莞哪家网站建设比较好网页设计与制作教程 pdf下载
  • 网站建设需要什么条件北辰集团网站建设
  • iis如何设置服务器上网站空间大小网络营销网站策划
  • 网站建设的项目总结做网站要用到ps吗
  • 买证书网站开发工程师百度识图查图片