海南省BIM中心

 找回密码
 注册请加微信xycost

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 1536|回复: 1

小试 Outline 部署和使用

[复制链接]

2331

主题

2887

帖子

932万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9324468
发表于 2018-4-20 08:04:14 | 显示全部楼层 |阅读模式
Outline 是一款爱国工具,Jigsaw 开发的项目——Jigsaw 属于 alphabet 旗下,而 alphabet 是 Google 母公司。那么,这是一款 Google 出品工具?

Outline 官方网站:https://getoutline.org/en/home

Outline 需要服务器端和客户端:

1、客户端,已经有各种版本,包括 Andriod、iOS 等等:iOS 客户端下载地址在这里 ,目前中国区还可以下载。(需要的不妨先下载一个,谁知道什么时候会下架呢?)

2、服务器端,需要在 VPS 服务器上安装,过程非常简单,需要在电脑上。

下面简单记录一下 Outline 服务端安装/部署和客户端使用:

首先下载一个 Outline Manager 工具:Windows 7+、Linux、macOS 10.9+

这里以 Windows 版为例,下载后安装即可。打开 Outline Manager 会教你如何在服务器上安装 Outline 服务器端。

默认推荐使用 Digital Ocean 这家 VPS。其它测试通过的有:Amazon EC2、Google Compute Engine、Vultr、Linode、Liquid Web……

这里选择 Vultr 家 VPS 测试。ADVANCED Set up Outline anywhere 下面点击 Get Started 开始安装。很简单,只需两步即可完成。

697-outline

第一步,SSH 登录 VPS(测试使用 root 账户),执行 Outline Manager 给出的命令:

wget -qO- https://raw.githubusercontent.co ... s/install_server.sh | bash

如无意外,会有下面的错误提示:

Verifying that Docker is installed ..........Docker CE must be installed, please run "curl -sS https://get.docker.com/ | sh" or visit https://docs.docker.com/install/

Sorry! Something went wrong. If you can't figure this out, please copy and paste all this output into the Outline Manager screen, and send it to us, to see if we can help you.

Outline 服务器端部署基于 Docker,要求 VPS 服务器要已经安装并启动 Docker 服务,还需要关闭防火墙?(反正我测试的时候是关闭了)。如果没有做到这些,就会出现上面的错误提示。

如出现上面的错误,那先安装/启动 Docker 服务。

curl -sS https://get.docker.com/ | sh

执行命令,静待几分钟就好。

warning: /var/cache/yum/x86_64/7/docker-ce-edge/packages/docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Public key for docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm is not installed
Importing GPG key 0x621E9F35:
Userid : "Docker Release (CE rpm) docker@docker.com"
Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
From : https://download.docker.com/linux/centos/gpg
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

WARNING: Adding a user to the "docker" group will grant the ability to run containers which can be used to obtain root privileges on the docker host.
Refer to https://docs.docker.com/engine/s ... emon-attack-surface for more information.

启动 Docker 服务

service docker start

关闭防火墙

service firewalld stop

重新开始安装 Outline

wget -qO- https://raw.githubusercontent.co ... s/install_server.sh | bash

如无异常,不到一分钟就能安装完。安装成功会生成 "apiUrl" 和 "certSha256"——这段 apiUrl 和 certSha256 就是要填到 Outline Manager 中第二步的内容。

697-outline-ss

复制粘贴过去,点击 DONE,Outline Manager 就会连接到刚才部署成功的 Outline 服务端。

697-outline-addkey

点击 ADD KEY 会生成一个分享连接,把连接发给别人或者自己。点击连接,Connect to this server,然后可以看到一个 ss:// 开头的地址,将这个地址填写到 Outline 客户端中,然后,就可以愉快的爱国了。

一圈下来,Outline 其实还是基于 Shad0ws0cks 协议的爱国工具吧?Outline 生成的链接可以直接用于小火箭;ss 服务器链接可以直接用于 Outline 客户端。

Outline iOS 客户端没有什么设置选项,只有添加服务器,连接、断开这几个功能,连接到 Outline 服务器,就是全局到 Outline 服务器走一圈再出去。这货其实就是基于 SS 协议的假 V.P$N?这样就没什么优势了,用处不大,还不如小火箭呢。

也许会慢慢完善吧。

参考:小荷 - Outline 的部署和使用

Vultr + NY(New Jersey)机房 + $2.5 套餐 + CentOS 7 x64(CPU: 1 vCore、RAM: 512 MB、Storage: 20 GB SSD)+ iOS Outline 客户端测试通过。

Originally Posted on Steemit & Blog by @zhijun

回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /2 下一条


QQ|小黑屋|手机版|Archiver|ChinaBIM ( 琼ICP备14001050号-1 )

GMT+8, 2024-4-27 00:51 , Processed in 0.027795 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表