Teambition项目直链列表解析,无需内测码,支持直链列目录加密

前言:

Teambition项目文件Teambition网盘的区别
teambition项目没有容量限制(文件夹限制500文件),速度贼快,最关键,不需要内测资格,单文件最大支持5GB

teambition网盘需要内测权限,内测用户容量在2T左右,单文件最大支持50GB,存储在阿里云OSS

直链问题

地址栏的链接就直接是文件夹的直链

在需要获取直链的文件上右击-复制链接,复制出来的是如下链接,这种是直接能预览的直链

https://ml.jinxingxu.com/file/5ff5fcad6086be00441d9c43?preview…

<!– 把上面的?preview去掉后就是能直接下载和外链的直链 –>

https://ml.jinxingxu.com/file/5ff5fcad6086be00441d9c43

目录加密问题

在当前要设置密码的目录上传 xxx.password 文件即可
其中 xxx 就是你要设置的密码

登录有效期问题

你安装时输入绑定了账号密码,后面只要你不在官网修改密码。就算cookie失效了,程序也会自动更新

基于宝塔搭建的教程

1.安装宝塔面板

Centos安装命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

Ubuntu/Deepin安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh

Debian安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

2.选择合适的安装包

各自根据你的系统选择包,如linux系统选择teambition_linux_x64,

win server根据位数选择teambition_win_x86或者x64

安装包目录地址:https://ml.jinxingxu.com/5ffa87cff477e28a89f77f85

若上述地址不可用,这是一份存档(截止时间2020.1.15):

https://kilmu.lanzous.com/b0162o51a 密码:f5c4

3.安装直链程序

在宝塔的软件商店,安装PM2管理器

新建一个站点,如图选择

进入网站根目录,上传之前下载的安装包,并重命名为teambition

在宝塔中打开终端或者用自己顺手的ssh连接服务器并cd到网站根目录,依次执行以下命令

chmod +x ./teambition

pm2 start ./teambition --name teambition

pm2 save

pm2 startup

结果如下即部署成功(包括开机自启):

[root@ip-172-26-20-2 ~]# cd /www/wwwroot/d.teambition.sdufile.cn
[root@ip-172-26-20-2 d.teambition.sdufile.cn]# chmod +x ./teambition
[root@ip-172-26-20-2 d.teambition.sdufile.cn]# pm2 start ./teambition --name teambition

                        -------------

__/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
 _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
  _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
   _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
    _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
     _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
      _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
       _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
        _\///______________\///______________\///__\///////////////__


                          Runtime Edition

        PM2 is a Production Process Manager for Node.js applications
                     with a built-in Load Balancer.

                Start and Daemonize any application:
                $ pm2 start app.js

                Load Balance 4 instances of api.js:
                $ pm2 start api.js -i 4

                Monitor in production:
                $ pm2 monitor

                Make pm2 auto-boot at server restart:
                $ pm2 startup

                To go further checkout:
                http://pm2.io/


                        -------------

[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /www/wwwroot/d.teambition.sdufile.cn/teambition in fork_mode (1 instance)
[PM2] Done.
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0  │ teambition         │ fork     │ 0    │ online    │ 0%       │ 6.6mb    │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
[root@ip-172-26-20-2 d.teambition.sdufile.cn]# pm2 save
[PM2] Saving current process list...
[PM2] Successfully saved in /root/.pm2/dump.pm2
[root@ip-172-26-20-2 d.teambition.sdufile.cn]# pm2 startup
[PM2] Init System found: systemd
Platform systemd
Template
[Unit]
Description=PM2 process manager
Documentation=https://pm2.keymetrics.io/
After=network.target

[Service]
Type=forking
User=root
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
Environment=PATH=/www/server/nvm/versions/node/v14.15.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Environment=PM2_HOME=/root/.pm2
PIDFile=/root/.pm2/pm2.pid
Restart=on-failure

ExecStart=/www/server/nvm/versions/node/v14.15.4/lib/node_modules/pm2/bin/pm2 resurrect
ExecReload=/www/server/nvm/versions/node/v14.15.4/lib/node_modules/pm2/bin/pm2 reload all
ExecStop=/www/server/nvm/versions/node/v14.15.4/lib/node_modules/pm2/bin/pm2 kill

[Install]
WantedBy=multi-user.target

Target path
/etc/systemd/system/pm2-root.service
Command list
[ 'systemctl enable pm2-root' ]
[PM2] Writing init configuration in /etc/systemd/system/pm2-root.service
[PM2] Making script booting at startup...
[PM2] [-] Executing: systemctl enable pm2-root...
Created symlink from /etc/systemd/system/multi-user.target.wants/pm2-root.service to /etc/systemd/system/pm2-root.service.
[PM2] [v] Command successfully executed.
+---------------------------------------+
[PM2] Freeze a process list on reboot via:
$ pm2 save

[PM2] Remove init script via:
$ pm2 unstartup systemd

选择刚刚新建的站点设置反向代理,配置如下图,保存即可

绑定teambition官方账号

至此项目搭建完成,访问你的站点,绑定teambition官方账号

如果要重新绑定账号的话,直接删除当前目录下的/data/auth文件后直接重启即可

© 版权声明
THE END
喜欢就支持以下吧
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容