Transmission的安装、配置、制作PT种子torrent做种

安装Transmission apt install transmission-daemon 配置Transmission 先停止Transmission systemctl stop transmission-daemon.service 然后编辑配置文件/var/lib/transmission-daemon/info/settings.json nano /var/lib/transmission-daemon/info/settings.json 重点需要修改的地方 "rpc-password": "管理密码", #web-ui的密码,可直接修改,重新运行或者reload服务的时候会自动被加密 "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "用户名", #用户名 "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": false, #如果你要让其他网段连入,请设false 对照表 "alt-speed-up": 500, #计划时段上传限速值 "alt-speed-down": 500, #计划时段下载限速值 "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": true, #启用计划工作,为false时,以上计划配置则不生效 "alt-speed-time-end": 420, #计划结束时间,为零点到开始时间的分钟数,比如7:00就是7*60=420。另外,该时间是用的GMT时间,即北京时间-8小时。比如你计划北京时间7点30分开始,这个数字应该是(7-8+24)*60+30=1410 "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": true, "blocklist-updates-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, #缓存大小,以MB为单位,建议设大一些,避免频繁读写硬盘而伤硬盘,建议设为内存大小的1/6~1/4 "compact-view": false, "dht-enabled": false, #关闭DHT(不通过tracker寻找节点)功能,不少PT站的要求,但BT下载设置为true会使得下载更好 "download-dir": "/home/yys/Downloads", #下载的内容存放的目录 "download-queue-enabled": true, "download-queue-size": 5, "encryption": 1, #0=不加密,1=优先加密,2=必须加密 "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/home/yys/Downloads", "incomplete-dir-enabled": false, "inhibit-desktop-hibernation": true, "lpd-enabled": false, #禁用LDP(本地节点发现,用于在本地网络寻找节点),不少PT站的要求 "main-window-height": 500, "main-window-is-maximized": 0, "main-window-width": 615, "main-window-x": 337, "main-window-y": 211, "message-level": 2, "open-dialog-dir": "/home/yys/\u684c\u9762", "peer-congestion-algorithm": "", "peer-limit-global": 240, #全局连接数 "peer-limit-per-torrent": 60, #每个种子最多的连接数 "peer-port": 51413, #预设的port口 "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, #不建议改为true "peer-socket-tos": "default", "pex-enabled": false, #禁用PEX(节点交换,用于同已与您相连接的节点交换节点名单),不少PT站的要求 "port-forwarding-enabled": true, "preallocation": 1, #预分配文件磁盘空间,0=关闭,1=快速,2=完全。建议取1开启该功能,防止下载大半了才发现磁盘不够。取2时,可以减少磁盘碎片,但速度较慢。 "prefetch-enabled": 1, "queue-stalled-enabled": true, "queue-stalled-minutes": 30, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, #在未完成的文件名后添加后缀.part,false=禁用 "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "{c8c083168db9fff40b5136b6d0f3f4a864110a78\/oH51JaE", #web-ui的密码,可直接修改,重新运行或者reload服务的时候会自动被加密 "rpc-port": 9091, #默认web-ui的port口,可自行更改 "rpc-url": "/transmission/", "rpc-username": "transmission", #默认登入名称 "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": true, #如果你要让其他网段连入,请设false "scrape-paused-torrents-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "/home/yys", "seed-queue-enabled": false, "seed-queue-size": 10, "show-backup-trackers": true, "show-extra-peer-details": false, "show-filterbar": true, "show-notification-area-icon": false, "show-options-window": true, "show-statusbar": true, "show-toolbar": true, "show-tracker-scrapes": true, "sort-mode": "sort-by-age", "sort-reversed": false, "speed-limit-down": 300, #平时的下载限速 "speed-limit-down-enabled": true, #启用平时下载限速 "speed-limit-up": 30, #平时上传限速 "speed-limit-up-enabled": true, #启用平时上传限速 "start-added-torrents": false, "statusbar-stats": "total-ratio", "torrent-added-notification-enabled": true, "torrent-complete-notification-enabled": true, "torrent-complete-sound-enabled": true, "trash-can-enabled": true, "trash-original-torrent-files": false, "umask": 18, "upload-slots-per-torrent": 14 "utp-enabled": true, #启用μTP协议 "watch-dir": "/home/yys/\u4e0b\u8f7d", "watch-dir-enabled": false 更多配置参数,可去 diting-Configuration-Files探索。 ...

七月 4, 2021 · admin

win10系统音量图标灰色无法调节的解决方法

解决方法如下 按Win+R打开运行,输入regedit回车打开注册表编辑器; 依次展开到以下位置: 计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run 在右侧新建名为systray.exe的字符串值; 重启PC电脑.

六月 2, 2021 · admin

Oracle甲骨文OCI自动刷ARM VPS脚本

安装Terraform 从Terraform官网找到对应CPU架构的版本 X86_X64如下 wget https://releases.hashicorp.com/terraform/0.15.4/terraform_0.15.4_linux_amd64.zip unzip terraform_0.15.4_linux_amd64.zip mv terraform /usr/bin ARM64如下 wget https://releases.hashicorp.com/terraform/1.0.9/terraform_1.0.9_linux_arm64.zip unzip terraform_1.0.9_linux_arm64.zip mv terraform /usr/bin 查看版本 terraform version 安装oci-cli工具 安装,一路回车即可,默认安装在/root/bin目录 bash -c "$(curl –L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)" 当出现===> Modify profile to update your $PATH and enable shell/tab completion now? (Y/n):这个时候,是在提示你输入Y回车,会自动帮你添加环境变量。之后又是一路回车。出现如下提示表示安装成功。 ===> Modify profile to update your $PATH and enable shell/tab completion now? (Y/n): y ===> Enter a path to an rc file to update (file will be created if it does not exist) (leave blank to use '/root/.bashrc'): -- Backed up '/root/.bashrc' to '/root/.bashrc.backup' -- Tab completion set up complete. -- If tab completion is not activated, verify that '/root/.bashrc' is sourced by your shell. -- -- ** Run `exec -l $SHELL` to restart your shell. ** -- -- Installation successful. -- Run the CLI with /root/bin/oci --help 把/root/bin/oci路径移动到/usr/bin目录下 ...

五月 29, 2021 · admin

Files Photo Gallery漂亮的php目录列表源码

Files Photo Gallery Demo Requirements Any web server with PHP 5.5 or higher. Extensions GD and mbstring are required. Files app works in all modern browsers Chrome, Firefox, Safari, Opera and Edge, and almost all mobile devices. Files app does NOT work in Internet Explorer. Although Files app is a single file that loads files locally, it still requires an internet connection to load Javascripts loaded from CDN jsdelivr.com. Usage Examples Instantly create a gallery of all your files and folders. No setup required. Preview images, video, audio and code. Share files and images with clients, friends or family. Use as a simple yet beautiful and modern gallery on your website. Preview IPTC, EXIF, GPS, dimensions and size for your photos. Manage files and folders directly on your server. Coming soon! Faster and more comfortable than using FTP! Download Simply download index.php, drop it into any dir and view from browser. ...

一月 5, 2021 · admin

如何打开超大TXT文本文件

前阵子拿到了某个大佬分享的裤子文件,解压后都是超大的.txt文本文件,少则几个G,大的几十个G的 尝试过用Windows自带的记事本(据说记事本最大只能打开1G的文件),PilotEdit Lite和LogViewer加载了很久还是失败了,Visual Studio Code也不行,也许是电脑配置太差吧。EmEditor也只能读取部分,附终身授权key DMAZM-WHY52-AX222-ZQJXN-79JXH 最终搜索找到了glogg 18G的大文件(7亿行)完全加载不到1分钟左右,查找某个值也不到1分钟左右。

十二月 10, 2020 · admin

V2ray安装配置Vadminss、VLESS、XTLS教程

近期更新重点 V2Ray v4.27.0+新增支持VLESS新协议 V2Ray v4.29.0+新增支持XTLS新协议 Vadminss AEAD will be used when alterId is 0 in V2Ray v4.28.0+ 安装脚本放废弃go.sh改用install-realese.sh V2Ray v4.33.0移除了XTLS,建议使用V2Ray v4.32.1 详情参考 https://v2ray.com/ https://github.com/v2ray/v2ray-core https://toutyrater.github.io/ https://guide.v2fly.org/ https://github.com/veekxt/v2ray-template https://github.com/v2fly/v2ray-examples https://www.v2fly.org/ https://github.com/rprx/v2ray-vless https://github.com/v2fly/v2ray-core https://github.com/XTLS/Xray-core 排名不分先后顺序 致敬开发者们的无私奉献 xray https://github.com/XTLS/Xray-core Install & Upgrade Xray-core and .dat files bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) Update geoip.dat and geosite.dat only bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-dat-release.sh) Remove Xray, except json and logs bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) --remove 成功安装后会提示如下 # /etc/systemd/system/xray.service [Unit] Description=Xray Service Documentation=https://github.com/xtls After=network.target nss-lookup.target [Service] User=nobody CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true ExecStart=/usr/local/bin/xray run -config /usr/local/etc/xray/config.json Restart=on-failure RestartPreventExitStatus=23 [Install] WantedBy=multi-user.target # /etc/systemd/system/xray.service.d/10-donot_touch_single_conf.conf # In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there. # Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html [Service] ExecStart= ExecStart=/usr/local/bin/xray run -config /usr/local/etc/xray/config.json installed: /usr/local/bin/xray installed: /usr/local/share/xray/geoip.dat installed: /usr/local/share/xray/geosite.dat installed: /usr/local/etc/xray/config.json installed: /var/log/xray/ installed: /var/log/xray/access.log installed: /var/log/xray/error.log installed: /etc/systemd/system/xray.service installed: /etc/systemd/system/xray@.service removed: /tmp/tmp.S3mHoPXvIj info: Xray v1.1.2 is installed. You may need to execute a command to remove dependent software: apt purge curl unzip Please execute the command: systemctl enable xray; systemctl start xray 解决SSL证书权限不足 ...

九月 28, 2020 · admin

纯净Linux系统手工配置独角数卡发卡站点环境

纯净系统纯手工打造独角数卡发卡站点环境,抛弃各种面板、一键网站环境。 https://github.com/assimon/dujiaoka 支付接口已集成 支付宝当面付 支付宝PC支付 支付宝手机支付 payjs微信扫码. Paysapi(支付宝/微信). 码支付(QQ/支付宝/微信) 微信企业扫码支付 Paypal支付(默认美元) 麻瓜宝数字货币支付 全网易支付支持(针对彩虹版) 基本环境要求 (PHP + PHPCLI) version >= 7.2 Nginx version >= 1.16 MYSQL version >= 5.6 Redis (高性能缓存服务) Supervisor (一个python编写的进程管理服务) Composer (PHP包管理器) Linux/Win (Win下未测试,建议直接Linux) 实测Supervisor不装也是可以运行的 PHP环境要求 星号(*)为必须执行的要求,其他为建议内容 *安装fileinfo扩展 *安装redis扩展 *终端需支持php-cli,测试php -v(版本必须一致) *需要开启的函数:putenv,proc_open,pcntl_signal,pcntl_alarm 安装opcache扩展 网络上各类发卡网站程序,比如ZFAKA、独角数卡环境搭建教程都是基于宝塔面板、LNMP等等环境搭建的教程。 ZFAKA可以在宝塔面板后台一键部署安装,也可以使用Docker版 为什么要手工搭建发卡网站环境 怕有后门(被害妄想症) 近期某某面板强迫用户注册才能使用 享受折腾的乐趣 测试使用环境Debian 10,其它系统可以参考修改搭建。 独角数卡发卡站环境搭建 Nginx、MYSQL的搭建具体教程请点击查看,这里重点只讲独角数卡发卡站环境搭建PHP环境的配置 PHP和一些必要组件的安装 apt -y install php-fpm php-mysql php-redis php-fileinfo php-cli php-gd redis-server php-mbstring php-bcmath php-curl php-xml php-dom 配置PHP组件 配置PHP的redis缓存组件 ...

九月 22, 2020 · admin

Microsoft OneDrive空全局账号自建API(Rclone、OneManager-php)

OneDrive申请空全局账号,然后登陆Azure自建API(Rclone、OneManager-php)使用,可避免使用公共API因使用频率过高导致的Rclone、网盘列目录程序OneManager-php、OneList、PyOne、Oneindex等等不稳定情况 注意: 区分国际版和中国版(由世纪互联运营) Microsoft OneDrive网页登陆管理入口国际版、中国版(由世纪互联运营) 申请空全局账号 国际版购买注册(A1、A3、A1P、EDU、个人版)、中国版(由世纪互联运营)购买注册随便选个套餐,点立即购买,按提示注册新账号,然后进入管理把付款取消掉,到此空全局账号已经撸到手了。 登陆Azure创建API Microsoft Azure由世纪互联运营、国际版 创建方法一样的,但是要注意区分国际版和中国特供版的登陆管理入口地区。 创建Rclone的API 获取 CLIENT_ID 及 CLIENT_SECRET Microsoft Azure由世纪互联运营、国际版登陆并按以下步骤: 左侧找到 Azure Active Directory 点击 左侧找到 应用注册 上方找到 新注册 点击 名称:Rclone 受支持的账户类型:任何组织目录(任何 Azure AD 目录 - 多租户)中的帐户、任何组织目录(任何 Azure AD 目录 - 多租户)中的帐户和个人 Microsoft 帐户(例如,Skype、Xbox) Web重定向 URL:http://localhost:53682 点击注册 找到 应用程序(客户端) ID 复制client_ID保存 左侧找到 证书和密码 点击 下方 客户端密码 - 新客户端密码 说明:Rclone 截止期限:默认 1年内改为从不 点击 添加,值 客户端密码 复制client_secret保存 左侧找到 API 权限 点击 添加权限 - Microsoft Graph - 委托的权限 - Files (7)全部勾选 选择应用程序权限 在下方Files里选择 Files.Read.All和Files.ReadWrite.All 回到界面会发现该权限处于未授权状态,我们需要全局管理员点击 代表XXXX授予管理员同意 ...

八月 30, 2020 · admin

Telegram机器人Bot售卖自动发卡tg_faka_bot

项目地址: https://github.com/GAted0/tg_faka_bot 优点: 使用sqlite3作为数据库,轻量、便于备份; 运行环境易于搭建; 不需要域名,VPS安全不会被恶意攻击. 下载与安装环境 安装python3 apt install python3-pip -y 下载tg_faka_bot并解压 git clone https://github.com/GAted0/tg_faka_bot.git PS:作者删除了部分文件,会导致不能正常使用,推荐在本站下载tg_faka_bot可正常使用。 进入文件目录 cd ~/tg_faka_bot 重命名文件 mv example.config.py config.py 安装依赖 pip3 install -r requirements.txt 编辑配置文件 登陆Telegram @getidsbot获取自己的ID @BotFather创建bot机器人API Token 编辑文件config.py填写替换成自己的 继续配置支付接口信息 编辑配置文件 vi ~/tg_faka_bot/config.py 现在存在的支付接口: PAYMENT_METHOD = { 'epay': '支付宝/微信/QQ', 'alifacepay': '支付宝当面付' } 如果只需要易支付,那么可以这么配置: PAYMENT_METHOD = { 'epay': '支付宝/微信/QQ' } 如果这时候有一个新的文件名为mugglepay.py的支付接口,那么可以这么配置: PAYMENT_METHOD = { 'epay': '支付宝/微信/QQ', 'alifacepay': '支付宝当面付', 'mugglepay': '加密货币' } mugglepay.py的相对路径为getways/mugglepay/mugglepay.py 并且请确保你安装了此支付插件需要的额外依赖(如果有),pip3 install -r ~/tg_faka_bot/getways/mugglepay/mugglepay.txt 以易支付(epay)为例: cd ~/tg_faka_bot/getways/epay mv example.epay.py epay.py vi epay.py 配置相关信息,回到机器人根目录启动机器人 cd ~/tg_faka_bot python3 main.py 添加卡密,进行购买测试 ...

七月 12, 2020 · admin

甲骨文云配置IPV6及关闭防火墙放行端口

甲骨文的系统推荐使用ubuntu 分配 IPv6 网络 - 虚拟云网络 - 虚拟云网络详细信息 中操作,最后一个步骤在实例的 VNIC 详细信息中操作: 分配CIDR 网络 - 虚拟云网络 - 虚拟云网络详细信息 - CIDR块中添加 IPv6 CIDR块 默认会分配一个 /56 大小的 IPv6 地址块 配置子网 网络 - 虚拟云网络 - 虚拟云网络详细信息- 子网 - 编辑 勾选 启用 IPv6 CIDR 块,填写 00-FF 任意一个十六进制数字,然后保存,这里就会分配一个 /64 大小的 IPv6 地址块 配置路由 网络 - 虚拟云网络 - 虚拟云网络详细信息- 路由表 点击添加路由规则 协议版本 ipv6 目标类型 internet网关 目标地CIDR块 ::/0 IPv4/IPv6 双栈要正常工作,应该要有以下两条路由(::/0、0.0.0.0/0) 配置安全规则 实例的VNIC详细信息 - 入站规则和出站规则中都加入以下规则 目的地类型(Destination Type) CIDR 目的地CIDR(Destination CIDR) ::/0 IP协议IP Protocol 所有协议All Protocols IPv4还需要在实例的VNIC详细信息 - 入站规则中加入以下规则 ...

二月 28, 2020 · admin