先按此文http://briteming.blogspot.com/2014/02/linux-vpserlang.html 安装erlang,再按此文
http://briteming.blogspot.com/2015/11/elixir.html安装elixir.
git clone https://github.com/Kabie/shadowsocks kabie-shadowsocks
cd kabie-shadowsocks
mix local.hex --force
mix deps.get
root@localhost:~/kabie-shadowsocks# MIX_ENV=prod mix release --env=prod
会显示:
...
==> Release successfully built!
You can run it in one of the following ways:
Interactive: _build/prod/rel/shadowsocks/bin/shadowsocks console
Foreground: _build/prod/rel/shadowsocks/bin/shadowsocks foreground
Daemon: _build/prod/rel/shadowsocks/bin/shadowsocks start
root@localhost:~/kabie-shadowsocks# ./_build/prod/rel/shadowsocks/bin/shadowsocks foreground > /dev/null &
root@localhost:~/kabie-shadowsocks#
感觉 运行_build/prod/rel/shadowsocks/bin/shadowsocks start不如运行
_build/prod/rel/shadowsocks/bin/shadowsocks foreground > /dev/null &来得持久。运行前一条命令,所生成的shadowsocks进程很容易退出。
服务器端就运行起来了。
设置ss客户端的参数:服务器的ip,端口:8488,密码:mypass,加密方式:默认为aes-128-cfb.
设置浏览器的socks代理服务器地址为127.0.0.1:1080,即可翻墙。
项目地址:https://github.com/Kabie/shadowsocks/
https://github.com/Kabie/shadowsocks/issues/1
本帖子就是用此法翻墙后发表的。
http://briteming.blogspot.com/2015/11/elixir.html安装elixir.
git clone https://github.com/Kabie/shadowsocks kabie-shadowsocks
cd kabie-shadowsocks
mix local.hex --force
mix deps.get
root@localhost:~/kabie-shadowsocks# MIX_ENV=prod mix release --env=prod
会显示:
...
==> Release successfully built!
You can run it in one of the following ways:
Interactive: _build/prod/rel/shadowsocks/bin/shadowsocks console
Foreground: _build/prod/rel/shadowsocks/bin/shadowsocks foreground
Daemon: _build/prod/rel/shadowsocks/bin/shadowsocks start
root@localhost:~/kabie-shadowsocks# ./_build/prod/rel/shadowsocks/bin/shadowsocks foreground > /dev/null &
root@localhost:~/kabie-shadowsocks#
感觉 运行_build/prod/rel/shadowsocks/bin/shadowsocks start不如运行
_build/prod/rel/shadowsocks/bin/shadowsocks foreground > /dev/null &来得持久。运行前一条命令,所生成的shadowsocks进程很容易退出。
服务器端就运行起来了。
设置ss客户端的参数:服务器的ip,端口:8488,密码:mypass,加密方式:默认为aes-128-cfb.
设置浏览器的socks代理服务器地址为127.0.0.1:1080,即可翻墙。
项目地址:https://github.com/Kabie/shadowsocks/
https://github.com/Kabie/shadowsocks/issues/1
本帖子就是用此法翻墙后发表的。
No comments:
Post a Comment