Giter Site home page Giter Site logo

onecat / shadowsocks-mysql-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmxus/shadowsocks-mysql-manager

0.0 2.0 0.0 17.87 MB

A manager for shadowsocks using mysql(like shadowsocks’s manyuser branch

License: GNU General Public License v3.0

PHP 96.14% Shell 3.86%

shadowsocks-mysql-manager's Introduction

shadowsocks-mysql-manager

A manager for shadowsocks using mysql(like shadowsocks’s manyuser branch(You can use shadowsocks-libev now

This manager is suitable for UnlimitedSocks,whmcs-shadowsocks-plugin,sspanel

Progress 60%

Please edit the config in config.php first

The traffic module is done

The support for v2ray is in progress

Requirements:

  • 1.php5.6+(zts)
  • 2.pthread
  • 3.shadowsocks-python
  • 4.gcc libxml2 libxml2-devel m4 autoconf

Usage:

    1. edit config.php
    1. php server.php or /usr/local/php-zts/bin/php server.php

Steps to install php-zts & pthreads

Centos:

  • yum install gcc libxml2 libxml2-devel m4 autoconf
  • sudo sh installphp.sh

Ubuntu

  • apt-get install gcc libxml2 libxml2-devel m4 autoconf
  • sudo sh installphp.sh

Or you can also make by yourself:

    1. install gcc libxml2 libxml2-devel m4 autoconf
    1. wget php.tar.gz(From php.net)
    1. tar zxvf php.tar.gz && cd php
    1. ./configure --prefix=/usr/local/php-zts --enable-sockets --enable-pcntl --enable-maintainer-zts --enable-sysvmsg --enable-mbstring --with-mysql --with-mysqli --with-mysql-sock --with-pdo-mysql
    1. make && make install
    1. cp php.ini-development /usr/local/php-zts/lib/php.ini
    1. wget pthreads
    1. tar zxvf pthreads
    1. cd pthreads
    1. /usr/local/php-zts/bin/phpize
    1. ./configure --with-php-config=/usr/local/php-zts/bin/php-config
    1. make && make install
    1. edit /usr/local/php-zts/lib/php.ini and add "extension=pthreads.so" to it
    1. run /usr/local/php-zts/bin/php -m to check if there has pthreads
    1. Done!

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.