2018-09-04:配置ss服务记 发表于 2018-09-04 | | 阅读次数 配置perl及cpan包管理器12345678yum install -y perl perl-core perl-CPAN # 单有perl还不行,需要依赖其CPAN包管理器perl -MCPAN -e shell # 然后需要安装perl的DBI组件cpan>install DBI//安装完成后退出cpancpan>quit 安装改版配置nginx 1234567sever{ root /xxxx/pulbli; location / { try_files $uri $uri/ /index.php$is_args$args; }} 123456789101112# 安装不同的ss-panelgit clone https://github.com/sphard/ss-panel-v3-mod_UIChanges.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hardgit clone https://github.com/xcxnig/ss-panel-v3-mod_UIChanges.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hardphp composer.phar installcrontab -e 添加如下cron: 12345630 22 * * * php /www/wwwroot/你的站点目录/xcat sendDiaryMail*/1 * * * * php /www/wwwroot/你的站点目录/xcat synclogin*/1 * * * * php /www/wwwroot/你的站点目录/xcat syncvpn0 0 * * * php -n /www/wwwroot/你的站点目录/xcat dailyjob*/1 * * * * php /www/wwwroot/你的站点目录/xcat checkjob */1 * * * * php -n /www/wwwroot/你的站点目录/xcat syncnas 123php -n xcat createAdminphp xcat syncusers 安装ssr后端服务12345678910111213141516wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gztar xf libsodium-1.0.16.tar.gz && cd libsodium-1.0.16./configure && make -j2 && make installecho /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.confldconfigcd /rootyum install -y python-setuptoolseasy_install pipgit clone -b manyuser https://github.com/glzjin/shadowsocks.gitcd shadowsockspip install -r requirements.txtcp apiconfig.py userapiconfig.pycp config.json user-config.json