全球主机交流论坛

标题: “手撕包菜”python+mysql BT磁力链接源码公布下载 [打印本页]

作者: wenguonideshou    时间: 2015-5-18 03:34
标题: “手撕包菜”python+mysql BT磁力链接源码公布下载
本帖最后由 wenguonideshou 于 2015-8-2 12:07 编辑

是基于python+mariadb/mysql的,django做web服务器

哪位能把这个源码搞清楚,把网站搭建起来??

群 253524174 里面有很多玩BT磁力链接、图床的mjj哦!



(, 下载次数: 2650)
作者: h0stl0c    时间: 2015-5-18 06:01
哎,转的就发个来源嘛:
https://github.com/78/ssbc
作者: h0stl0c    时间: 2015-5-18 06:26
本帖最后由 h0stl0c 于 2015-5-23 00:59 编辑

简单说一下怎么安装。

1.linux系统。
2.安装mysql
3.安装python2.7
4.安装pip
  1. wget https://bootstrap.pypa.io/get-pip.py
  2. python get-pip.py
复制代码

5.创建job用户并进入/home/job
6.用git来clone源
  1. git clone https://github.com/78/ssbc.git
复制代码

7.安装virtualenv
  1. pip install virtualenv
复制代码

8.创建环境
  1. virtualenv ssbc
复制代码

9.进入ssbc目录
10.启动环境
  1. source bin/activate
复制代码

11.安装
  1. pip install -r requirements.txt
复制代码

12.修改sphinx.conf里面的mysql信息
13.运行
  1. echo_supervisord_conf > /etc/supervisord.conf
  2. echo '[include]' >> /etc/supervisord.conf
  3. echo 'files = /home/job/ssbc/super.conf' >> /etc/supervisord.conf
  4. supervisord
复制代码


如果顺利的话,访问8002端口。
可以使用nginx反代到80端口。
作者: 东方星雨    时间: 2015-5-18 06:44
h0stl0c 发表于 2015-5-18 06:26
简单说一下怎么安装。

1.linux系统。

好详细
作者: Cokid    时间: 2015-5-18 07:08
占个位
作者: 怪人    时间: 2015-5-18 07:46
提示: 作者被禁止或删除 内容自动屏蔽
作者: Dk2014    时间: 2015-5-18 08:11
占位
作者: 弘白    时间: 2015-5-18 08:27
提示: 作者被禁止或删除 内容自动屏蔽
作者: 天也就这么大    时间: 2015-5-18 08:45
提示: 作者被禁止或删除 内容自动屏蔽
作者: huochai    时间: 2015-5-18 08:49
手撕包菜 业界良心


作者: mslxd    时间: 2015-5-18 09:03
为什么360提示木马咧,,,,,,这源码有毛木马,,
作者: 孩子他爹    时间: 2015-5-18 09:30
占位
作者: c21xdx    时间: 2015-5-18 09:45
有马还先等等楼下其他人怎么说
作者: 瞌睡熊    时间: 2015-5-18 09:47
我靠 手撕包菜业界良心啊
作者: xiaozuo    时间: 2015-5-18 09:54
h0stl0c 发表于 2015-5-18 06:01
哎,转的就发个来源嘛:
https://github.com/78/ssbc


作者: fenglove2008    时间: 2015-5-18 09:56
h0stl0c 发表于 2015-5-18 06:26
简单说一下怎么安装。

1.linux系统。

厉害!
作者: 羞涩    时间: 2015-5-18 10:02
不错 。。BT
作者: h0stl0c    时间: 2015-5-18 11:40
mslxd 发表于 2015-5-18 09:03
为什么360提示木马咧,,,,,,这源码有毛木马,,

为啥你要用360呢?
作者: 天也就这么大    时间: 2015-5-18 13:19
提示: 作者被禁止或删除 内容自动屏蔽
作者: wenguonideshou    时间: 2015-5-18 13:31
h0stl0c 发表于 2015-5-18 06:26
简单说一下怎么安装。

1.linux系统。

搜索影片,出现500错误
logo css无法加载。

这是什么原因呢?
作者: kougui    时间: 2015-5-18 18:23
业界良心。表示关注!
作者: mingshengchu    时间: 2015-5-19 01:34
牛逼大了
作者: 见钱开眼    时间: 2015-5-19 09:57
提示: 作者被禁止或删除 内容自动屏蔽
作者: h0stl0c    时间: 2015-5-23 01:00
更新下supervisord的配置
作者: qxwo    时间: 2015-5-23 01:13
h0stl0c 发表于 2015-5-23 01:00
更新下supervisord的配置

按照你的安装小虾蜘蛛那个教程,安装到最后启动时提示supervisord -c super.conf
Error: .ini file does not include supervisord section
For help, use /home/job/ssbc/bin/supervisord -h,请问是什么情况啊?
请问如何更新配置啊?
作者: aLing    时间: 2015-5-23 01:50
马克
作者: h0stl0c    时间: 2015-5-23 01:53
qxwo 发表于 2015-5-23 01:13
按照你的安装小虾蜘蛛那个教程,安装到最后启动时提示supervisord -c super.conf
Error: .ini file does n ...

看2楼,我更新了。还不行?
作者: qxwo    时间: 2015-5-23 09:02
本帖最后由 qxwo 于 2015-5-23 09:05 编辑
h0stl0c 发表于 2015-5-23 01:53
看2楼,我更新了。还不行?


谢谢,不过好像还是不行,是没装那个BT模块的原因吗?
  1. /usr/local/lib/python2.7/site-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  2.   'Supervisord is running as root and it is searching '
复制代码

job用户执行后
  1. Traceback (most recent call last):
  2.   File "/usr/local/bin/supervisord", line 11, in <module>
  3.     sys.exit(main())
  4.   File "/usr/local/lib/python2.7/site-packages/supervisor/supervisord.py", line 366, in main
  5.     go(options)
  6.   File "/usr/local/lib/python2.7/site-packages/supervisor/supervisord.py", line 376, in go
  7.     d.main()
  8.   File "/usr/local/lib/python2.7/site-packages/supervisor/supervisord.py", line 77, in main
  9.     info_messages)
  10.   File "/usr/local/lib/python2.7/site-packages/supervisor/options.py", line 1329, in make_logger
  11.     stdout = self.nodaemon,
  12.   File "/usr/local/lib/python2.7/site-packages/supervisor/loggers.py", line 346, in getLogger
  13.     handlers.append(RotatingFileHandler(filename,'a',maxbytes,backups))
  14.   File "/usr/local/lib/python2.7/site-packages/supervisor/loggers.py", line 172, in __init__
  15.     FileHandler.__init__(self, filename, mode)
  16.   File "/usr/local/lib/python2.7/site-packages/supervisor/loggers.py", line 98, in __init__
  17.     self.stream = open(filename, mode)
  18. IOError: [Errno 13] Permission denied: '/tmp/supervisord.log'
复制代码

作者: xyhw    时间: 2015-5-23 12:58
占位,mark一下
作者: h0stl0c    时间: 2015-5-23 18:06
qxwo 发表于 2015-5-23 09:02
谢谢,不过好像还是不行,是没装那个BT模块的原因吗?
job用户执行后

只是一个警告,没问题啊。。
作者: guonning    时间: 2015-5-23 18:17
良心啊




欢迎光临 全球主机交流论坛 (https://hostloc.gdisk.cf/) Powered by Discuz! X3.4