clegall / seedbox-manager
管理您的种子箱的Web应用程序
v2.5.0
2016-05-18 14:14 UTC
Requires
- php: >=5.4.0
- magicalex/write-ini-file: 1.2.*
- twig/twig: 1.*
This package is not auto-updated.
Last update: 2024-09-14 18:58:44 UTC
README
## seedbox-manager描述
seedbox-manager是一个Web应用程序,用于启动Unix用户的rtorrent会话。
还包括
- 在可配置的导航栏中链接到rutorrent和cakebox。
- 用户ftp和sftp id的提醒。
- 可禁用的支持模块,带有票据。
- 服务器统计信息(平均负载,运行时间)。
- 用户信息(磁盘空间,访问者IP地址)。
- 用于生成filezilla和transdroid配置文件的工具。
- 一个管理员的区域,可以轻松管理用户的配置。
- 一个参数页面,可以禁用您不使用的块。
作者: Backtoback (c) & Magicalex (php) & hydrog3n (php)。
## 安装
注意:要安装界面,需要root权限或使用sudo的能力。
cd /var/www
git clone https://github.com/Magicalex/seedbox-manager.git
chown -R www-data:www-data ./seedbox-manager/
cd ./seedbox-manager/
composer install
bower install --allow-root
cd ./source-reboot-rtorrent/
chmod +x install.sh && ./install.sh
## 服务器配置
例如:web服务器nginx
server { listen 80 default_server; server_name _; charset utf-8; index index.php; access_log /var/log/nginx/seedbox-manager-access.log combined; error_log /var/log/nginx/seedbox-manager-error.log error; auth_basic "seedbox-manager"; auth_basic_user_file "/var/www/seedbox-manager/.htpasswd"; location / { root /var/www/seedbox-manager/public; } location ~ \.php$ { fastcgi_index index.php; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; } }
例如:web服务器apache2(v2.4.*)
<VirtualHost _default_:80> DocumentRoot /var/www/seedbox-manager/public <Directory /var/www/seedbox-manager/public/> Options Indexes FollowSymLinks AllowOverride None Require all denied AuthType Basic AuthName "seedbox" AuthUserFile "/var/www/seedbox-manager/.htpasswd" Require valid-user </Directory> </VirtualHost>
## 首次连接
使用rutorrent凭据登录到界面。
这将在./seedbox-manager/conf/users/{utilisateur}/config.ini目录中自动生成用户的配置文件。
注意:每次新用户连接时,其配置文件都将从./conf/config.ini文件自动生成。
要获得管理员权限
nano /var/www/manager/conf/users/{utilisateur}/config.ini
然后修改到行##(owner = no改为owner = yes)
获得管理员权限后,您可以配置所有用户。