思绪的空中生活

ss-panel-v3-mod的坑
前段时间那谁谁不是被抓了吗,然后大佬说GitHub有源码,然后就搭了一下。GitHub地址:https://git...
扫描右侧二维码阅读全文
28
2018/05

ss-panel-v3-mod的坑

前段时间那谁谁不是被抓了吗,然后大佬说GitHub有源码,然后就搭了一下。
GitHub地址:https://github.com/NimaQu/ss-panel-v3-mod_Uim
搭建参考教程:https://lala.im/2398.html

主要说说我自己遇到的坑:宝塔面板
数据库:创建网站时选php7.0以上,其他默认即可,同时可以创建数据库,导入数据库。如果除本机外有其他节点,修改权限!!!权限这里又遇到个坑:选“所有人”居然同一个服务器的后端连接不上,改成指定IP成功
端口:3306打开!!!

安装步骤:

yum -y groupinstall "Development Tools"
wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz
tar xf libsodium-1.0.16.tar.gz && cd libsodium-1.0.16
./configure && make -j2 && make install
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf
ldconfig
cd /root
yum -y install python-setuptools
easy_install pip
git clone -b manyuser https://github.com/Anankke/shadowsocks.git
cd shadowsocks
pip install -r requirements.txt
cp apiconfig.py userapiconfig.py
cp config.json user-config.json

以上命令一行一行的来

关闭CentOS7的防火墙:systemctl stop firewalld.service
禁止firewall开机启动 systemctl disable firewalld.service

编辑节点ID和数据库信息:vi userapiconfig.py

调试模式先启动后端:python server.py

将程序放到后台运行:./run.sh

开机启动,假设你的shadowsocks是安装在root目录下,可以这样:
vi /etc/rc.d/rc.local
加入一条:
sh /root/shadowsocks/run.sh
然后:
chmod +x /etc/rc.d/rc.local

相关文章:

  • 中兴f460开启telnet
  • 宝塔面板安装frp
  • pve调整磁盘大小
  • N1将armbian刷入emmc
  • v2board前端 v2ray-poseidon后端 搭建
  • Last modification:September 23rd, 2019 at 01:17 am
    If you think my article is useful to you, please feel free to appreciate

    2 comments

    1. 思绪的空中生活

      #ImportError: No module named speedtest pip安装不成功 报错
      pip install -I requests==2.9

    2. 思绪的空中生活

      # 关闭防火墙
      service iptables stop

    Leave a Comment Cancel reply