Giter Club home page Giter Club logo

ishenyi.github.io's Introduction

Hi there 👋

ishenyi.github.io's People

Contributors

ishenyi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ishenyi.github.io's Issues

免费谷歌云自建工具简易教程

0.概要

作为合格的开发人员,需要自由的汲取开源知识和世界各地的优秀 developer 交流,获取 awesome 的资源和技能,会科学且安全地上网是首要前提。特地强调安全,自己搭VPS就是这个目的。想想我现在所有的电子设备都可以自由的上网,仿佛一切限制都不存在。这多亏了当时花了一点时间研究 ss/ssr 的方案。网络作为基础设施,就像水和电,习惯了生活中几乎感觉不到它们的存在,但是没了它们,就会跳起来了。所有,下面,以为自己的实践,讲讲如何用免费谷歌 VPS 自建 SS 。

1.申请谷歌云

首先你得有一个翻墙的环境,才能访问 谷歌云 。可以使用 蓝灯

新注册一个账号,就可以获得google赠送的一年免费体验金300$。:smile:

然后进入控制台,在左侧 sidebar 中,选择 Computer Engine - VM 实例,然后创建一个新的实例。
如下图所示,最小cpu的实例才 5$/mon ,可以创建几个不同区域的机器,做备用。反正 300 美金也用不完。

default

创建完就能看到自己的实例了。SSH连接这个实例,可以使用google cloud shell,基于web的shell连接器。也可以使用mac终端,或者...

2.执行ShadowSocks安装

参考以下教程:https://teddysun.com/357.html

大牛的教程已经很详细的了,我做一些补充,把命令提出来,方便阅读。

# 获取root权限
sudo -i

# 下载ss
wget --no-check-certificate -O shadowsocks-libev.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh

# 赋权
chmod +x shadowsocks-libev.sh

# 启动
./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log

过程中需要配置:

  • 服务器端口:自己设定(如不设定,默认从 9000-19999 之间随机生成)
  • 密码:自己设定(如不设定,默认为 teddysun.com)
  • 加密方式:自己设定(如不设定,默认为 aes-256-gcm)我一般用aes-256-cfb

设置完毕,会出现以下内容,记得拍照保存,后面设置ss软件要用到。

Congratulations, Shadowsocks-libev server install completed!
Your Server IP        :your_server_ip
Your Server Port      :your_server_port
Your Password         :your_password
Your Encryption Method:your_encryption_method

Welcome to visit:https://teddysun.com/357.html
Enjoy it!

3. 安装BBR加速

建议安装,BBR能够加速穿墙效果,据说可以播放youtube 4K毫无压力。实测下来,4K能放,但电信300M带宽下,还是有点卡顿。

BBR加速安装教程 ,使用的命令如下:

sudo -i

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

# 过程会重启vps

4. 下载对用的客户端

服务端的设置和安装基本完毕了,下面使用客户端验证下吧。

win端:https://github.com/shadowsocksr-rm/shadowsocksr-csharp/releases

max端:shadowsocksX

ios:非大陆applestore付费下载shadowrocket“,我是国内封杀小飞机”之前购买下载的,还可以用

安卓:shadowsocks4.1.8,可以在谷歌PLAY市场下载。

输入之前服务器设置的账号,就可以使用了。

5. 预告

为了让 PS4,TV,都能顺利的上网,可以把家里的路由器做为访问谷歌云的客户端,这样家中连接路由器的所有设备就无限畅联了。

之后有空再写这方面的教程。

Ths!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.