跳至主要内容

博文

抛弃Aria2,测试Cloud Torrent

抛弃Aria2,测试Cloud Torrent Sandy之前有说过 利用Aria2+Nginx+rclone完成无限电影硬盘 的做法,但是Aria2好像下载BT的速度有点慢.而且发现各种强迫症的Bug,虽然说Aria2有很多插件的支持但是总觉得是鸡肋.115/百度/迅雷会员肯定不想用也买不起,买的起也会想到要折腾这些东西.在无意中发现了Cloud Torrent这个工具! 官方GitHub地址: Cloud Torrent Docker地址: https://hub.docker.com/r/jpillora/cloud-torrent/ 折腾一番以后发现居然比Aira2好用.下载BT的速度和解析磁力链的速度都比Aria2快.这里就给出教程吧! 群晖安装篇 (图文) 1.查找docker下的源,注册表搜索:jpillora/cloud-torrent (如图1) 2.创建容器,点击高级设置 3.设置下载目录,文件/文件夹位置是你本地的,装载路径必须是/downloads,否则各种Bug都会找上你滴! 4.设置端口按照下面几个端口设置好! 5.启动docker,并且在浏览器上访问http://ip:3000 即可使用! VPS Linux服务器篇: 已经有老司机写出一键安装脚本,这里就不重复做教程浪费时间了请移步逗比根据地: 支持 BT(磁力链接)、离线下载和边下边播的老司机坐骑 —— Cloud Torrent 一键脚本

自己建立网盘并且设置主备盘

自己建立网盘并且设置主备盘 web管理推荐:File Browser,请参考: File Browser配置教程 File Browser配置好了我们来配置3个盘,这里用到的工具是大名鼎鼎的Rclone 我们这里把Aws S3做为主盘,Google Drive和Onedrive(E3)做备份盘.提示芳姐的Onedrive教育版无法做.因为什么的?天天折腾人家,微软受不了封主号了! 开始折腾. 一. 先准备创建3个目录 mkdir /root/s3 mkdir /root/google mkdir /root/onedrive #并且给与写入权限 chmod a+x /root 二. 安装Rclone Ubuntu 18为演示版本 具体教程请看 利用Google Drive的无限网盘做数据定时备份 curl https://rclone.org/install.sh | sudo bash rclone config S3配置 root@ip-172-26-13-159:~# rclone config 2018/10/31 06:21:18 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n name> s3 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 / A stackable unification remote, which can appear to merge the contents of several remotes \ "union" 2 / Alias for ...

亿家模板组-CMSV2模板[帝国CMS]

亿家模板组 cms模板v2 支持版本7.2/7.5 导入模板文件到系统 进入后台->模板->模板组管理->导入导出模板 如图1 上传skin文件到你的网站目录,完成! 更新网站缓存,生成首页,栏目页,内容页 网站demo截图 web版 手机版 下载地址 亿家模板组-cmsv2模板

利用GoogleDrive无限盘配置File Browser教程

File Browser配置教程 1. 安装说明 curl -fsSL https://filebrowser.github.io/get.sh | 2. 配置文件 创建配置目录 mkdir /etc/filemanager 创建网盘目录 mkdir /home/data 下载配置文件 wget -O /etc/filemanager/config.json https://blog.e9china.net/ssh/filemanager-config.json 3. 运行命令 测试能不能允许 filebrowser -c /etc/filemanager/config.json 后台运行命令 nohup filebrowser -c /etc/filemanager/config.json >/dev/null 2>&1 & 管理密码 user:admin pass:admin 4.配置rclone来链接网络硬盘 利用Google Drive的无限网盘做数据定时备份 仔细看这篇文章,我们就不在这里细说教程了 配置好rclone,然后我们在编辑File Browser的配置文件,把目录指向那个文件夹 vi /etc/filemanager/config.json "scope":"/home/data", #找到这个修改成你网盘挂载的目录 ####5.配置关于命令 我们这里就不复制粘贴官方的说明自己去看吧! filebrowser.github.io ####6.另外一种配置 本站战略合作炮友: 芳姐 给我们提供了OneDrive的办法 Aria2+Aria2Ng+OneIndex一键安装脚本,离线下载自动上传至OneDrive

利用Aria2+Nginx+rclone完成无限电影硬盘

昨天芳姐在群里说在尝试利用Google Drive来做在线电影的硬盘,然后Sandy也跟着捣鼓了,装了5台VPS发现网上的错误好多好多.找不到一个适合自己用的.今天决定自己一点一点的捣鼓! 开整的条件 1. 必须有一台国外的VPS,不要问我为什么?因为那是国情.... 2. 操作系统推荐:ubuntu 16+,centos7自动脚本不知道能不能用没测试 3. 涉及到组件:nginx,Aria2,AriaNg,Rclone,filebrowser 我们开始吧! 安装Nginx sudo apt-get install nginx sudo /etc/init.d/nginx start web目录 /var/www/html 安装Rclone 请参考 利用Google Drive的无限网盘做数据定时备份 安装Aria2 这里用的逗比的脚本,使用命令: wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh 安装AriaNg cd /var/www/html wget https://blog.e9china.net/ssh/aria-ng-0.2.0.zip && unzip aria-ng-0.2.0.zip 此时进入http://ip 就可以打开ariaNg界面了,记住该文件夹不能删,误删的重新此操作。 插件脚本让Aria2完成下载以后自动转移 `#!/bin/bash path="$3" #取原始路径,我的环境下如果是单文件则为/data/demo.png,如果是文件夹则该值为文件夹内某个文件比如/data/a/b/c/d.jpg downloadpath='/root/Download' #下载目录 mv='/root/google-movie' #mv挂载的目录 if [ $2 -eq 0 ] #下载文件为0跳出脚本 then exit 0 fi while true;...

ssh over socks5:通过socks5 proxy来连接ssh服务器[转载]

最近因为不可描述的原因,我在aws soul的云主机访问不了,ssh、80、ss全部都被禁掉了。 80端口在chrome配置SwitchyOmega就可以了,但ssh不太好办,shell上配置http_proxy对ssh没什么用。 其实ssh自己就支持proxy。 注意这跟在ssh端口转发:远程和本地中介绍过使用ssh作为proxy的方法不同,ssh -D是为了用ssh做proxy,而不是通过proxy来连接ssh服务器。 TL;DR ssh -o ProxyCommand='nc -x 192.0.2.0:1080 %h %p' user@awshost 原理解析 $ man ssh_config ProxyCommand Specifies the command to use to connect to the server. The command string extends to the end of the line, and is executed using the user's shell ‘exec’ directive to avoid a lingering shell process. In the command string, any occurrence of ‘%h’ will be substituted by the host name to connect, ‘%p’ by the port, and ‘%r’ by the remote user name. The command can be basically anything, and should read from its standard input and write to its standard output. It should eventually connect an sshd(8) server running on some machine, or execute sshd -i somewhere. Host key management will be done using the HostName of the host being connected (defa...

帝国cms7.2-7.5实现栏目批量修改

帝国cms实现栏目批量修改 是否生成:不生成栏目页、不生成内容页、不生成JS调用、标签不调用的修改方法 第一步、/e/admin/SetMoreClass.php中查找: <tr> <td height="24" bgcolor="#FFFFFF"> <div align="center"> <input name="doshowdt" type="checkbox" id="doshowdt" value="1"> </div></td> <td bgcolor="#FFFFFF">内容页模式</td> <td bgcolor="#FFFFFF"> <input type="radio" name="showdt" value="0"<?=$r[showdt]==0?’ checked’:’’?>> 静态页面 <input type="radio" name="showdt" value="1"<?=$r[showdt]==1?’ checked’:’’?>> 动态生成 <input type="radio" name="showdt" value="2"<?=$r[showdt]==2?’ checked’:’’?>> 动态页面</td> </tr> 在下面增加: <tr> ...