GithubHelp home page GithubHelp logo

lazycreeper / sakurapanel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zerodream-cn/sakurapanel

1.0 1.0 1.0 14.97 MB

樱花内网穿透网站源代码,2020 重制版

Home Page: https://sakuracloud.cn/

License: Other

PHP 99.17% Hack 0.01% SCSS 0.66% Less 0.16%

sakurapanel's Introduction

SakuraPanel

樱花内网穿透网页端源代码,2020 重制

由于时间匆忙,没有写自动安装程序,所有操作需要手动完成。

注意: 网站程序近期有较大改动,更新时请先阅读 Wiki 的 Update 页面,根据教程来更新。

功能和特性

  • 支持多用户
  • 支持用户组配置
  • 支持每个用户单独限速
  • 支持每个用户单独限制流量
  • 可配置签到获得流量
  • 可配置凭邀请码注册账号
  • 实时流量统计
  • 美观的界面

在线预览: https://sakuracloud.cn/

用户名:Akkariin 密码:12345678

安装和配置

首先将项目 clone 到本地

git clone https://github.com/ZeroDream-CN/SakuraPanel/

接着移动到网站目录,并设置权限

mv SakuraPanel/* /data/wwwroot/my.panel.com/
chown -R www:www /data/wwwroot/my.panel.com/

然后进入到网站目录,分别编辑以下三个文件,修改数据库信息

文件名 作用
/configuration.php 网站核心配置文件,里面每个配置项都有介绍
/api/index.php 用于对接 Frps,里面只需配置 Token
/daemon.php 服务器守护进程,需要在命令行下运行,里面只需要配置数据库

配置完成后,使用 Navicat、phpMyAdmin 等数据库管理软件创建一个数据库,然后导入 import.sql

数据库编码类型:utf8mb4,utf8mb4_unicode_ci

导入完成后,打开网站,注册一个新账号,然后在数据库中设置这个账号的 group 字段为 admin 即可设置为管理员。

配套 Frps 服务端

本面板需要专用 Frps 才能兼容,请访问我的另一个项目:https://github.com/ZeroDream-CN/SakuraFrp

请按照另一个项目的介绍在每个服务器节点上进行配置。

Frpc 客户端无特殊需求,只要版本是 0.28.0 都可以兼容使用。

许可协议

本软件仅限个人非盈利使用,不可用于商业行为。完整许可协议请查看 LICENSE 文件。

交流

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.