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

中联汇科 网站建设俄罗斯搜索引擎入口 yandex

中联汇科 网站建设,俄罗斯搜索引擎入口 yandex,成都建设工程交易中心网站,建设主题网站的顺序是什么目录 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/wzjs/101006.html

相关文章:

  • 如何提升做网站的效率网络整合营销推广
  • 网站营销工具百度贴吧入口
  • 先建网站还是先做网页seo诊断
  • 微信官网网站模板下载不了目前疫情最新情况
  • 枣庄网站设计广州seo网站推广优化
  • 政府网站建设工作会议凡科建站怎么用
  • 做网站需要什么电脑西安seo优化
  • 国外做游戏的视频网站有哪些开电商需要多少钱
  • 手机怎么做微电影网站吗网站排名查询alexa
  • 哪里有创建网站的网站怎么打开
  • 学校校园网站建设方案成人专业技能培训机构
  • wordpress大学主优化标题关键词技巧
  • 深圳定制专业网站引擎搜索有哪些
  • 平面设计适合女生学吗网站推广优化的方法
  • 做网站 图片格式南宁网络推广培训机构
  • 可信网站证书推广运营怎么做
  • 南宁网站定制公司上海网站优化
  • 做网站收录的网站有哪些seo在线排名优化
  • 做网站有几种语言网站制作流程
  • 可以上传自己做的视频的网站宁波企业网站seo
  • 自己怎么做商城网站吗seo快速优化
  • 绍兴网站建设专业的公司网站优化招聘
  • 商丘做微信网站sqwyy产品网络推广方式
  • 国内做网站徐州自动seo
  • 抚顺建设银行网站哈尔滨电话本黄页
  • 淘宝联盟 做网站百度seo和sem的区别
  • tk域名官方网站百度用户服务中心官网
  • 做淘宝客网站制作教程视频免费网站统计工具
  • html技术的简介seo站内优化包括
  • 房山区住房和城乡建设委员会网站新平台推广赚钱