Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. # Debian / Ubuntu
  2. sudo su # using root account
  3. apt-get install --no-install-recommends build-essential autoconf libtool asciidoc xmlto -y
  4. apt-get install git gcc g++ cmake automake -y
  5. apt-get -f install -y
  6. apt-get update -y
  7. apt-get upgrade -y
  8.  
  9. cd / # switch to root directory
  10. git clone https://github.com/ShadowsocksR-Live/shadowsocksr-native.git
  11. mv shadowsocksr-native ssr-n # rename shadowsocksr-native to ssr-n
  12. cd ssr-n # enter ssr-n directory.
  13. git submodule update --init
  14. git submodule foreach -q 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
  15.  
  16. # build ShadowsocksR-native
  17. cmake CMakeLists.txt && make
  18. # make install
  19. # /bin/cp -rfa src/ssr-* /usr/bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement