2

分享最近折腾的 qbittorrent、nfs、IYUUAutoReseed、gitlab server

 2 years ago
source link: https://hellodk.cn/post/179
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

最近在软路由和 ThinkPad T400(Ubuntu 16.04 LTS 下文简称 T400)上面捣腾了一些东西

一、在软路由上安装了 qbittorrent

软路由上的 transmission 上传速度实在是不佳,koolshare 的 lede 系统我早就想换掉了。迫于现在的租房环境需要一个稳定可靠的网络环境(不止我一个人使用我的网络,所以得考虑到他人,我一个人的时候想怎么折腾就怎么折腾),所以软路由暂时不准备换系统。但是下次有打算换成 lean 大神的 lede (openwrt) 或者自己编译 openwrt 玩玩

相关启动程序:

/opt/etc/init.d/S89qbittorrent
/opt/bin/qbittorrent-nox

Xnip2020-04-11_22-36-35.png

公网访问地址:pt.hellodk.com

二、在软路由上安装了 nfs server

/opt/etc/init.d/S57nfs-kernel-server

安装 nfs server 的最初动机是因为在 T400 上装了 qbittorrent,上传速度十分美好,但是受限于 T400 的硬盘容量太小,想着在局域网内通过 nfs 让 T400 挂载 软路由上的 6.5TB 硬盘,但是最终没有折腾下去了,因为在 软路由上成功安装了 qbittorrent,而且速度也非常不错。把 transmission 上的所有种子都迁移到了 qbittorrent

三、安装了 IYUUAutoReseed 自动辅种工具

成功安装并且运行了 这个自动辅种工具

分享几篇文章:

1. ledccn/IYUUAutoReseed: IYUU自动辅种工具,目前能对国内大部分的PT站点自动辅种,支持下载器集群,支持多盘位,支持多下载目录,支持远程连接等。 https://github.com/ledccn/IYUUAutoReseed (作者项目的 github 地址)
2. IYUU自动辅种工具--Readme.md - 大卫 blog https://www.iyuu.cn/archives/321/
3. IYUU自动辅种工具--最简配置(Windows篇) - 大卫 blog https://www.iyuu.cn/archives/324/
4. 【图片】IYUU自动辅种/下载免费种详细教程【pt吧】_百度贴吧 https://tieba.baidu.com/p/6390199424
5. (2条消息)IYUU自动辅种工具配置及常见错误(Windows)_PHP_流年年的博客-CSDN博客 https://blog.csdn.net/weixin_45615581/article/details/105320730

image.png

你看看你看看 有这么多的站 oops!!!

image.png

image.png

微信这边的推送提醒消息

四、在 T400 上安装 gitlab server 并借助 frp 实现远程访问,能够远程操作 git 仓库(pull push 等等操作都可)

自建 gitlab 关键配置文件:/etc/gitlab/gitlab.rb/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml 前者是主要配置文件

image.png

通过公网访问: gitlab.hellodk.com 成功

image.png

用起来挺美滋滋的,我把主页上的注册功能隐藏了。vps 和 T400 性能压力巨大,昨天为了解决 gitlab 502 的报错,已经把 swap 空间加大到了 8GB 😂

gitlab 报错 502 的文章,一搜一大堆,性能优化还是值得好好学习并且实践一番的。T400 本身的物理内存 3GB,swap 原本 6GB,加大了 2GB 之后 gitlab 才正常运行。 😐

好好学习,通过 gitlab 多记录写笔记,随时随地 git pullgit commitgit push,🆙

本篇分享就此 end. 欢迎留言讨论 😺


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK