Giter Club home page Giter Club logo

ssmgr-deploy's Introduction

此脚本为shadowsocks-manager服务端一键部署脚本

版本介绍

服务端用到的是shadowsocks-libev查看最新版

服务端安装的是shadowsocks-manager查看最新版

安装方法

安装wget

# centos
yum -y install wget

# Ubuntu
apt-get -y install wget

下载脚本

rm -rf ./install.sh ./shadowsocks-manager.log
wget --no-check-certificate https://raw.githubusercontent.com/quniu/ssmgr-deploy/master/install.sh
chmod +x install.sh
./install.sh 2>&1 | tee shadowsocks-manager.log

功能

  • 安装shadowsocks-manager服务
  • 设置固定时间自动重启(选最后一项)

安装说明

日志在/root/下面

脚本在/root/下面

shadowsocks-manager 安装目录在/usr/local/下面

监听端口

服务端启用端口6001

客户端启用端口6002(亦可自己定义)

客户端启用密码需要自己填写

查看shadowsocks服务

默认安装成功之后会自动启动ss服务,重启也会自动启动ss服务

# status stop start restart
/etc/init.d/shadowsocks-manager status

本脚本纯属学习用,请勿用于商业活动

ssmgr-deploy's People

Contributors

quniu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ssmgr-deploy's Issues

no gulpfile found

> [email protected] prepare /usr/local/shadowsocks-manager
> gulp

[16:42:32] No gulpfile found
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional log                                                                       ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-01-25T08_42_32_421Z-debug.log
[Error] shadowsocks-manager install failed!

The users are automatically deleted or non-working on restart

The script works fine,

I can also add webgui to maintain the users and add users through it.

However, there is issues, Once the server is rebooted, this solution stops working and can't login to any of the accounts added using the manager. Only account that can login is default single user account set while installing.

What you think of possible solutions to this issue.

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.