首页
关于
统计
我的追番
在线留言
友链申请
开往
打赏
投稿
推荐
打赏博主
公益网盘
阿浩图床
Search
1
2000个steam游戏 STEAM账号 离线账号分享
1,779 阅读
2
记录解决Nginx配置"nginx/conf/nginx.conf test failed"问题过程
599 阅读
3
JOE主题自定义网站字体
112 阅读
4
抖音短视频 for Android v20.9.0 去除广告视频无水印版
94 阅读
5
实时更新:新型冠状病毒肺炎疫情地图
63 阅读
落子无悔
值得一看
网站优化
干货教程
商家推荐
精品仓库
精品源码
电脑软件
安卓应用
谈码风云
python
Java
其他
登录
/
注册
Search
标签搜索
tj
typecho
阿浩
累计撰写
41
篇文章
累计收到
58
条评论
首页
栏目
落子无悔
值得一看
网站优化
干货教程
商家推荐
精品仓库
精品源码
电脑软件
安卓应用
谈码风云
python
Java
其他
页面
关于
统计
我的追番
在线留言
友链申请
推荐
打赏博主
公益网盘
阿浩图床
用户登录
登录
注册
搜索到
21
篇与
的结果
2022-08-08
苹果手机注册美区账号(各区通用)——Izekel'BLog
前言 前几天阿浩因某些原因要用到tg,在网上找了一大堆教程,发现都比较老了,不知道会不会变,所以自己试了一下,阿浩拿自己的iPhone 7Plus试了一下,发现真的可以,而且不会封号锁机。下面是成功截图:{mtitle title="图一(国区账号)"/}{mtitle title="图二(美区账号)"/}正文 废话阿浩就不多说了直接上教程。第一步Apple ID官网:https://appleid.apple.com/进入官网后找到 “创建您的Apple ID” 第二步创建id是地区随便选择,阿浩选的是美国,毕竟自由美利坚 :@(便便) 限制少,同时也是为了减少后续的操作之后填完后你的电话号码可以填国内的,当然你有国外的就填国外的(不推荐)第三步创建好账号后点击 “付款方式” 进入付款方式后 “添加付款方式” 进入后填写相关信息结语下方下载连接里放了美国的注册信息隐藏内容,请前往内页查看详情
2022年08月08日
9 阅读
0 评论
1 点赞
2022-07-03
使用Plexdrive/Rclone+Google Drive搭建无限容量的媒体库,适用于Plex/Emby/Jellyfin等——Izekel'Blog
前言 一般我们玩 Plex 、 Emby 、 Jellyfi n这些媒体服务器的时候,都会考虑到硬盘大小的问题。如果考虑到成本的话,那就只能挂载无限网盘了,这里就建议用 Google Drive ,挂载方法的话可以用 Plexdrive 和 Rclone 。{message type="warning" content="提示:本教程需要国外的服务器,且挂载后看电影、听音乐的时候不需要梯子"/}Plexdrive 是一个可以安装 Gdrive 应用的工具,看名字像是为 Plex 量身打造,其实其它应用也可以用,该工具可以直接从 Gdrive 读取媒体文件,专门争对媒体服务器优化,貌似是利用内存缓存原理,可以加快媒体访问并减少API的读取次数。所以可能需要内存大点,不够的可以添加个几G的虚拟内存, Swap 一键脚本→传送门。Rclone 是一个强大的网盘挂载工具,很久前博主就经常介绍,不过考虑到用途,之前的挂载参数肯定是需要调整下的,所以会在这里单独说下,该工具目前也有适合媒体服务器的缓存读取功能,但缓存很容易占用本地硬盘空间,所以这里博主就不用缓存功能了,主要使用的是分段读取,读取会快点,对于 API 来说,读取次数也会变的非常少。#两个工具的读取区别 Plexdrive:只能读取和删除 Rclone:可以写入、读取和删除,但不能当硬盘直接写入,只能将文件移动进去这 2 个工具都需要安装 fuse ,可以提前装下,使用命令:#Debian/Ubuntu系统 apt-get install fuse -y #CentOS系统 yum install fuse -y使用PlexdriveGithub地址 :https://github.com/dweidenfeld/plexdrive1、获取谷歌API凭据先启用 Google Drive API ,启用地址:点击进入。 .png) 再创建一个 OAuth client ID ,创建地址:点击进入。应用类型选择其他( Other ),名称自己填,这里博主填的 Plexdrive 。 .png) 然后你会获得自己的客户端 ID 和客户端密钥,再复制下来。 .png) 2、运行Plexdrive Plexdrive 下载地址→传送门,根据自己的架构选择对应的版本。#下载最新的Plexdrive wget https://github.com/dweidenfeld/plexdrive/releases/download/5.0.0/plexdrive-linux-amd64 #移动并命名 mv plexdrive-linux-amd64 /usr/local/bin/plexdrive chmod +x /usr/local/bin/plexdrive #新建本地挂载目录 mkdir -p /home/gdrive #开始挂载 /usr/local/bin/plexdrive mount \ -c /home/.plexdrive \ -o allow_other \ -v 4 --refresh-interval=1m \ --chunk-check-threads=4 \ --chunk-load-threads=4 \ --chunk-load-ahead=4 \ --max-chunks=20 \ /home/gdrive挂载参数可以参考→传送门,可以根据你的需求自行调整以上参数。挂载后会要你输入客户端 ID 和密匙,然后打开获取到的链接绑定账号后,将自己获取到的code复制到SSH客户端确定即可。然后接下来 Plexdrive 将开始生成缓存,所以期间我们需要等几分钟。缓存完了后,你会看到 Gdrive 的文件已经同步到了本地挂载文件夹。然后使用 Plex 、 Emby 、 Jellyfin 等媒体服务器的时候,就可以直接把媒体文件夹指向本地挂载文件夹了。3、开机自启这里使用 Systemctl 守护进程,只适用于 CentOS 7 、 Debian 8+ 、 Ubuntu 16 +。#以下是一整条命令,一起复制到SSH客户端运行 cat > /etc/systemd/system/plexdrive.service <<EOF [Unit] Description=Plexdrive AssertPathIsDirectory=/home/gdrive After=network-online.target [Service] Type=simple ExecStart=/usr/local/bin/plexdrive mount \ -c /home/.plexdrive \ -o allow_other \ -v 4 --refresh-interval=1m \ --chunk-check-threads=4 \ --chunk-load-threads=4 \ --chunk-load-ahead=4 \ --max-chunks=20 \ /home/gdrive ExecStop=/bin/fusermount -u /home/gdrive Restart=on-abort [Install] WantedBy=default.target EOF开始启动:systemctl start plexdrive设置开机自启:systemctl enable plexdrive其他命令:重启:systemctl restart plexdrive 停止:systemctl stop plexdrive 状态:systemctl status plexdrive使用Rclone1、配置Rclone使用和挂载 Google Drive 的方法可以参考博主以前发的教程→传送门,但只参考教程安装和配置即可,挂载就看本文。2、挂载Gdrive挂载需要3个主要参数,这里很多人容易搞混,就详细的说下,比如开头的参数如下:/usr/bin/rclone mount DriveName:Folder LocalFolder参数解读:DriveName为Rclone的配置名称,比如你配置rclone的时候,Name填的Rats Folder为网盘里的文件夹路径,如果你要挂载整个网盘,直接填/挂载整个根目录 LocalFolder为本地服务器上的挂载文件夹,如果你需要将网盘的文件夹挂载到服务器上的/Drive文件夹,那就填/Drive博主目前针对媒体服务器测试了个比较不错的挂载参数,命令:#记得修改DriveName:Folder和LocalFolder的值 /usr/bin/rclone mount DriveName:Folder LocalFolder \ --umask 0000 \ --default-permissions \ --allow-non-empty \ --allow-other \ --buffer-size 32M \ --dir-cache-time 12h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit 1G3、开机自启这里和 Plexdrive 一样,同样使用Systemctl守护进程,也只适用于 CentOS 7 、 Debian 8+ 、 Ubuntu 16+ 。#以下是一整条命令,先修改DriveName:Folder和LocalFolder的值,再一起复制到SSH客户端运行 cat > /etc/systemd/system/rclone.service <<EOF [Unit] Description=Rclone AssertPathIsDirectory=LocalFolder After=network-online.target [Service] Type=simple ExecStart=/usr/bin/rclone mount DriveName:Folder LocalFolder \ --umask 0000 \ --default-permissions \ --allow-non-empty \ --allow-other \ --buffer-size 32M \ --dir-cache-time 12h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit 1G ExecStop=/bin/fusermount -u LocalFolder Restart=on-abort User=root [Install] WantedBy=default.target EOF开始启动:systemctl start rclone设置开机自启:systemctl enable rclone其他命令:重启:systemctl restart rclone 停止:systemctl stop rclone 状态:systemctl status rclone总结现在 Plexdrive 项目好像很少更新了,不过还能用;至于 Rclone 的话,更新频繁,功能也强,所以博主还是偏向于 Rclone 的,不过博主体验了下下,貌似 Plexdrive 加载什么的更快些,当然也不能肯定 Plexdrive 要快,毕竟也可能与其它因素有关,对于这2个工具的选择,可以都体验下,觉得哪个适合自己就用那个。编译Plexdrive说明:由于作者 Github 源码更新了,二进制还没更新,为了可以使用最新版的功能,我们可以编译下,这里就说下方法。1、安装Go#32位系统下载 wget -O go.tar.gz https://dl.google.com/go/go1.13.3.linux-386.tar.gz #64位系统下载 wget -O go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz #解压压缩包 tar -zxvf go.tar.gz -C /usr/local #设置环境变量,将以下一起复制进ssh客户端运行 mkdir $HOME/go echo 'export GOROOT=/usr/local/go export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> /etc/profile source /etc/profile #查看go版本,有输出即为安装成功 go version2、安装Git#Debian/Ubuntu系统 apt-get -y install git #CentOS/RHEL系统 yum -y install git3、编译Plexdrivego get github.com/dweidenfeld/plexdrive cd $GOPATH/src/github.com/dweidenfeld/plexdrive #构建 go build结语到这里最新版的plexdrive编译并安装完成。
2022年07月03日
18 阅读
0 评论
0 点赞
2022-07-03
在Debian/Ubuntu上使用rclone挂载Google Drive网盘——Izekel'Blog
前言 我们很多人喜欢用 VPS 做离线下载,不过由于有的服务器硬盘太小了,装不了太多电影资源啥的,我们就需要想办法了,之前说过可以通过挂载 FTP 来增大空间,参考: Linux VPS 通过安装 CurlFtpFS 来挂载 FTP ,这里再说个挂载 Google Drive 网盘的方法,毕竟 Google Driv e有 15G 免费的空间,有的也有无限空间,都可以利用上去。正文本教程只适用 Debian/Ubuntu 系统,如果你是 CentOS 或者其它 Linux 系统,请使用以下命令安装 rclone :curl https://rclone.org/install.sh | sudo bash初始化配置和挂载方法和下面一样,开机自启可参考该教程→传送门。安装1、安装rclonewget download.izekel.cn/shell/rclone_debian.sh && bash rclone_debian.sh2、初始化配置rclone config会出现以下信息:n) New remote s) Set configuration password q) Quit config n/s/q> n name> Rats #配置名称,随便填 Type of storage to configure. Enter a string value. Press Enter for the default (""). Choose a number from below, or type in your own value 1 / 1Fichier \ "fichier" 2 / Alias for an existing remote \ "alias" 3 / Amazon Drive \ "amazon cloud drive" 4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc) \ "s3" 5 / Backblaze B2 \ "b2" 6 / Box \ "box" 7 / Cache a remote \ "cache" 8 / Dropbox \ "dropbox" 9 / Encrypt/Decrypt a remote \ "crypt" 10 / FTP Connection \ "ftp" 11 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 12 / Google Drive \ "drive" 13 / Google Photos \ "google photos" 14 / Hubic \ "hubic" 15 / JottaCloud \ "jottacloud" 16 / Koofr \ "koofr" 17 / Local Disk \ "local" 18 / Mega \ "mega" 19 / Microsoft Azure Blob Storage \ "azureblob" 20 / Microsoft OneDrive \ "onedrive" 21 / OpenDrive \ "opendrive" 22 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 23 / Pcloud \ "pcloud" 24 / Put.io \ "putio" 25 / QingCloud Object Storage \ "qingstor" 26 / SSH/SFTP Connection \ "sftp" 27 / Union merges the contents of several remotes \ "union" 28 / Webdav \ "webdav" 29 / Yandex Disk \ "yandex" 30 / http Connection \ "http" 31 / premiumize.me \ "premiumizeme" Storage> 12 #选择12,Google Drive,注意该序列号会随时变化,看清楚再填 Google Application Client Id - leave blank normally. client_id> #留空 Google Application Client Secret - leave blank normally. client_secret> #留空 Service Account Credentials JSON file path - needed only if you want use SA instead of interactive login. service_account_file> #留空 Choose a number from below, or type in your own value 1 / Full access all files, excluding Application Data Folder. \ "drive" 2 / Read-only access to file metadata and file contents. \ "drive.readonly" / Access to files created by rclone only. 3 | These are visible in the drive website. | File authorization is revoked when the user deauthorizes the app. \ "drive.file" / Allows read and write access to the Application Data folder. 4 | This is not visible in the drive website. \ "drive.appfolder" / Allows read-only access to file metadata but 5 | does not allow any access to read or download file content. \ "drive.metadata.readonly" scope> 1 ID of the root folder Leave blank normally. Fill in to access "Computers" folders. (see docs). Enter a string value. Press Enter for the default (""). root_folder_id> Service Account Credentials JSON file path Leave blank normally. Needed only if you want use SA instead of interactive login. Enter a string value. Press Enter for the default (""). service_account_file> Edit advanced config? (y/n) y) Yes n) No y/n> n #输入n Remote config Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine y) Yes n) No y/n> n #输入n If your browser doesn't open automatically go to the following link: https://accounts.google.com/o/ #打开该地址获取code Log in and authorize rclone for access Enter verification code>hjdd #输入你获取到的code Configure this as a team drive? y) Yes n) No y/n> n #输入n -------------------- [Rats] type = drive client_id = 85042871 client_secret = D72gPc scope = drive token = {"access_token":"y902Z"} -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y #输入y Current remotes: Name Type ==== ==== Rats drive e) 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 #输入q保存退出3、挂载为磁盘#新建本地文件夹,路径自己定,即下面的LocalFolder mkdir /root/GoogleDrive #挂载为磁盘,下面的DriveName、Folder、LocalFolder参数根据说明自行替换 rclone mount DriveName:Folder LocalFolder --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000DriveName 为初始化配置填的 name , Folder 为 Google Drive 里的文件夹, LocalFolder 为 VPS 上的本地文件夹。挂载成功后,输入 df -h 命令查看即可! 4、卸载磁盘fusermount -qzu LocalFolder开机自启先新建 systemd 配置文件,适用 CentOS 7 、 Debian 8+ 、 Ubuntu 16+ 。再使用命令:#将后面修改成你上面手动运行命令中,除了rclone的全部参数 command="mount DriveName:Folder LocalFolder --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000" #以下是一整条命令,一起复制到SSH客户端运行 cat > /etc/systemd/system/rclone.service <<EOF [Unit] Description=Rclone After=network-online.target [Service] Type=simple ExecStart=$(command -v rclone) ${command} Restart=on-abort User=root [Install] WantedBy=default.target EOF开始启动:systemctl start rclone设置开机自启:systemctl enable rclone其他命令:重启:systemctl restart rclone 停止:systemctl stop rclone 状态:systemctl status rclone结语如果你想挂载多个网盘,那么将 systemd 配置文件的 rclone.service 改成 rclone1.service 即可,重启动什么的同样换成 rclone1 。
2022年07月03日
60 阅读
0 评论
0 点赞
2022-07-03
Linux VPS一键添加/删除Swap虚拟内存——Izekel'Blog
前言 很多人的VPS服务器由于内存太小,会导致很多进程被杀掉,这时候就需要我们添加Swap虚拟内存了,这里就整了个一键脚本方便懒人或小白使用。正文脚本 {message type="warning" content="提示:脚本不支持OpenVZ架构,安装会自动退出。"/}运行命令:wget https://download.izekel.cn/shell/swap.sh && bash swap.sh然后根据选项进行操作,记得添加 swap 的时候填写纯数字,默认单位为 M 。 结语结束了
2022年07月03日
14 阅读
0 评论
0 点赞
2022-07-01
GitHubMirror加速下载GitHub资源- Izekel'Blog
About Us 部署此项目,只希望大家可以快速、稳定下载GitHub资源,望大家不要滥用,且用,且珍惜。 About Speed 文件首次下载,因为国内到国外原因,回源大概在 2MB 左右(需要请求GITHUB官方源,地理限制,没办法),节点缓存很快,之后速度起飞。终端命令行 支持终端命令行 git clone , wget , curl 等工具下载。支持raw.githubusercontent.com , gist.github.com , gist.githubusercontent.com文件下载。 注意:不支持 SSH Key 方式 git clone 下载。git clonegit clone https://github.do/https://github.com/stilleshan/ServerStatuswget & curlwget https://github.do/https://github.com/stilleshan/ServerStatus/archive/master.zip wget https://github.do/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile curl -O https://github.do/https://github.com/stilleshan/ServerStatus/archive/master.zip curl -O https://github.do/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile项目地址:https://www.github.do
2022年07月01日
15 阅读
0 评论
0 点赞
1
2
...
5