Code Monkey home page Code Monkey logo

ssrpanel's Introduction

安装步骤

0.环境要求

PHP 7.1
MYSQL 5.7
内存 1G+
磁盘空间 10G+
KVM

使用 LNMP1.4 部署时请到/usr/local/php/etc/php.ini下搜索disable_functions,把proc_开头的函数都删掉

telegram:https://t.me/ssrpanel

默认管理账号
用户名:admin 密码:123456

PHP7环境配置

建议小白用LNMP先傻瓜安装出php5.6 + mysql(5.5以上)
然后再编译安装PHP7.1,搭建版本环境

请看WIKI [编译安装PHP7.1.7环境(CentOS)]

拉取代码

cd /home/wwwroot/
git clone https://github.com/ssrpanel/ssrpanel.git
cd ssrpanel/
php composer.phar install
php artisan key:generate
chown -R www:www storage/
chmod -R 777 storage/

配置

mysql 创建一个数据库,然后自行导入sql\db.sql
config\app.php debug开始或者关闭调试模式
config\database.php mysql选项自行配置数据库
确保 storage/framework 下有 cache sessions views 三个目录,且 storage 有777权限

NGINX配置文件加入

location / {
    try_files $uri $uri/ /index.php$is_args$args;
}

重新加载NGINX

service nginx reload

代码解释

\app\Http\Controllers 控制器文件
\app\Http\Models 模型文件
\config 配置信息
\public 公共文件
\resources\views 视图文件
\storage 临时文件(页面缓存、日志),文件夹一个都不能少,少了必报错
\vendor 组件
\routes 路由

SSR服务端

把userapiconfig.py里的 API_INTERFACE 设置为 glzjinmod

说明

1.纯账号管理后台
2.需要配合SSR后端使用
3.没有用户端
4.支持SS多用户json文件一键转换成SSR多用户json文件
5.支持SSR多用户json文件一键导入数据库
6.3天内使用过的都算活跃账号
7.60分钟内使用过的都算在账号

Markdown Markdown Markdown Markdown Markdown Markdown Markdown Markdown Markdown

ssrpanel's People

Watchers

James Cloos avatar jerry avatar

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.