Giter VIP home page Giter VIP logo

shadowsocks-rm's Introduction

About manyuser

Install

install MySQL 5.x.x

pip install cymysql

create a database named shadowsocks

import shadowsocks.sql into shadowsocks

if you upgrade from old version make sure:

pass is varchar(32) NOT NULL, passwd is varchar(32) NOT NULL, last_get_gift_time not last_get_gitf_time

edit config.py

Example:

#Config
MYSQL_HOST = 'mengsky.net'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_PASS = 'root'
MYSQL_DB = 'shadowsocks'

MANAGE_PASS = 'passwd'
#if you want manage in other server you should set this value to global ip
MANAGE_BIND_IP = '127.0.0.1'
#make sure this port is idle
MANAGE_PORT = 23333
#BIND IP
#if you want bind ipv4 and ipv6 '[::]'
#if you want bind all of ipv4 if '0.0.0.0'
#if you want bind all of if only '4.4.4.4'
SS_BIND_IP = '0.0.0.0'

TestRun cd shadowsocks python servers.py not server.py

if no exception server will startup. you will see such like Example:

add: {"server_port": XXXXX, "password":"XXXXX"}

Database user table column

passwd server pass

port server port

t last keepalive time

u upload transfer

d download transfer (upload & download in here now)

transfer_enable if u + d > transfer_enable this server will be stop (db_transfer.py del_server_out_of_bound_safe)

shadowsocks-rm's People

Contributors

cicku avatar clowwindy avatar crazygold avatar dreampuf avatar est avatar everplays avatar fa08c avatar felixonmars avatar htc550605125 avatar humiaozuzu avatar jackyyf avatar jlund avatar kimw avatar lazybios avatar leslieee avatar madeye avatar mengskysama avatar mitnk avatar nekolab avatar nqzhang avatar peterfyj avatar phuslu avatar shell909090 avatar sky-chen avatar sybblow avatar v3aqb avatar watermeter avatar xe0n0 avatar zh-liang-cn avatar zuoruizhi avatar

Watchers

 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.