zoukankan      html  css  js  c++  java
  • 使用digitalocean进行项目开发

    使用digitalocean进行项目开发

    命令记录

    搭建SS

    1  apt-get update
    2  apt-get install python-pip
    3  pip install --upgrade pip
    4  apt-get install git
    5  pip install git
    6  sudo pip install  git+https://github.com/shadowsocks/shadowsocks.git@master
    7  apt-get install build-essential
    8  wget https://github.com/jedisct1/libsodium/releases/download/1.0.8/libsodium-1.0.8.tar.gz
    9  tar xf libsodium-1.0.8.tar.gz && cd libsodium-1.0.8
    10 ./configure && make -j2
    11 make install
    12 ldconfig
    13  touch /etc/shadowsocks.json
    14  echo '{"server":"::", "server_port":8388, "local_address": "127.0.0.1", "local_port":1080, "password":"draymonder", "timeout":300, "method":"chacha20", "fast_open": false }' > /etc/shadowsocks.json
    15  ssserver -c /etc/shadowsocks.json -d start
    // 想要关闭的话
    16  ssserver -c /etc/shadowsocks.json -d stop
    
  • 相关阅读:
    2-Rsync备份-全网备份
    1-Rsync备份-备份概述
    复杂声明学习总结
    EasyExcel的用法
    listvue
    解决Error: Cannot find module 'node-sass'问题
    Webpack
    babel的使用
    nodejs的使用
    vue入门
  • 原文地址:https://www.cnblogs.com/Draymonder/p/10161929.html
Copyright © 2011-2022 走看看