项目地址:https://github.com/orvice/ss-panel
演示地址:https://cattt.com/
下载地址:https://github.com/orvice/ss-panel/archive/master.zip
本站下载: sspanel最新版 (下载1954)
安装教程
最新版安装教程:https://www.bxl.me/9490.html
安装的只要你看这篇文章:https://www.bxl.me/8613.html
安装好后端后,下面就只需要修改一下配置文件就好了。
导入sql文件夹下面的所有数据库到你自己建立的数据库中。
修改lib/config-sample.php(里面填写你的数据库信息)并改为:config.php即可。
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?php
/*
* ss-panel配置文件
* https://github.com/orvice/ss-panel
* Author @orvice
* https://orvice.org
*/
//Define DB Connection
define(‘DB_HOST’,‘localhost’);
define(‘DB_USER’,‘root’);
define(‘DB_PWD’,‘password’);
define(‘DB_DBNAME’,‘db’);
define(‘DB_CHARSET’,‘utf8’);
/*
* 下面别修改
*/
//Define system Path
define(‘SS_PATH’,”);
//Version
$version =“0.2.8”;
//set timezone
date_default_timezone_set(‘PRC’);
//Using Mysqli
$dbc = new mysqli(DB_HOST,DB_USER,DB_PWD,DB_DBNAME);
$db_char = DB_CHARSET;
$dbc->query(“SET NAMES utf8”);
$dbc->query(“SET time_zone = ‘+8:00′”);
//定义流量
$tomb = 1024*1024;
$togb = $tomb*1024;
/*
* 下面的东西根据需求修改
*/
//define Plan
//注册用户的初始化流量
//默认5GiB
$a_transfer = $togb*5;
//签到设置 签到活的的最低最高流量,单位MB
$check_min = 1;
$check_max = 100;
//name
//invite only
$invite_only = true;
|
上面是默认的配置,修改一下数据信息就好了
后台信息
后台地址:/admin
帐号:admin
密码:12345678