Giter Club home page Giter Club logo

ssrpanel-deploy's Introduction

环境

可部署于 Centos6+,Centos7+,Debian9,Ubuntu14+

功能

  1. 安装shadowsocksr服务端
  2. 卸载shadowsocksr服务端
  3. 安装v2ray
  4. 卸载v2ray
  5. 设置定时重启服务器
  6. 时区校正Asia/Shanghai

安装wget

# Centos
yum -y install wget

# Ubuntu,Debian
apt-get -y install wget

执行脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/quniu/ssrpanel-deploy/master/deploy.sh
chmod +x deploy.sh
./deploy.sh

说明

日志目录/root/

脚本目录/root/下面

SSR安装目录/usr/local/shadowsocksr

ssrpanel-v2ray安装目录/usr/local/ssrpanel-v2ray

v2ray安装目录/usr/local/v2ray-linux-64

查看shadowsocksr服务

默认安装成功之后会自动启动服务

其他服务命令

SSR

service shadowsocksr status
service shadowsocksr stop
service shadowsocksr start

v2ray

service v2ray status
service v2ray stop
service v2ray start

注意

安装过程会要求填写或者确认某些数据,请认真看清楚!!!!!

一下是数据库默认信息

数据库ip,默认127.0.0.1

数据库端口,默认3306

数据库名,默认ssrpanel

数据库用户名,默认ssrpanel

数据库密码,默认password

额外ID,既alter-id ,默认16

端口号,既v2ray_vmess_port ,默认52099

v2ray加密方式,可以多个选择,默认auto

建议

先创建节点获取到ID再去部署SSR和v2ray服务,原因如下

  1. SSR创建节点时需要用到node ID,这个node ID是在后台节点列表里ID选项对应的ID值
  2. v2ray创建节点时需要用到node ID 、端口号、额外ID这些信息

仅供个人参考学习,请勿用于商业活动

ssrpanel-deploy's People

Contributors

quniu avatar

Watchers

James Cloos 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.