V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xiubin  ›  全部回复第 43 页 / 共 67 页
回复总数  1339
1 ... 39  40  41  42  43  44  45  46  47  48 ... 67  
2017-04-13 09:02:33 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
RAM:
13.61/256 MB

SWAP:
6.27/128 MB

占用这么小?还是我根本就没开启成功呢?

在搬瓦工 KiwiVM 的 main controls 看到的
2017-04-12 21:43:02 +08:00
回复了 Muninn 创建的主题 问与答 国内现在最流行的看技术文章的网站/APP 是什么?
从事 iOS 开发,上一年看 开发者头条,里边有很多有意思或者有用的东西,估计是近一年 iOS 颓势,相关的就比较少了
2017-04-12 16:17:44 +08:00
回复了 senghoo 创建的主题 分享发现 GTX 1080 终于能用在 macOS 上了。
@Kilerd #6 这是做一部分 CPU 的工作?
2017-04-12 15:54:48 +08:00
回复了 senghoo 创建的主题 分享发现 GTX 1080 终于能用在 macOS 上了。
想知道的是黑果装那么高的显卡做什么?
2017-04-11 16:54:42 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua @JackyBao @aru

已经弄好了,谢谢各位!
2017-04-11 16:33:30 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@aru #158

腾讯吗? 317453569
2017-04-11 16:33:01 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua #155

ss 服务端的配置:

{
"server":"104.194.66.208",
"server_port":12580,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"***********",
"timeout":300,
"method":"rc4-md5",
"fast_open": false
}
2017-04-11 16:31:22 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua #153

目前的情况是 客户端 连 12580 可以用, 443 不可以

/root/haproxy/haproxy.cfg :
defaults
mode tcp
timeout connect 5s
timeout client 60s
timeout server 60s

listen shadowsocks
bind 10.0.0.2:443
server server1 10.0.0.1:12580

# 假设我们准备在 443 端口开启 BBR
iptables -t nat -A PREROUTING -i venet0 -p tcp --dport 443 -j DNAT --to-destination 10.0.0.2
2017-04-11 16:04:14 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
root@sanyucz:~# telnet 10.0.0.2 443
Trying 10.0.0.2...
Connected to 10.0.0.2.
Escape character is '^]'.
Connection closed by foreign host.

另外,教程中最后一个命令已经运行会出错了,之前是可以运行成功的:
/dev/net/tun: failed to attach to: Device or resource busy
[ALERT] 100/040358 (24001) : Starting proxy shadowsocks: cannot bind socket
2017-04-11 15:59:26 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@aru #138 那么你刚才说的步骤都是可以走的下去的,只是最后:

root@sanyucz:~# iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:10.0.0.2
REDIRECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:443 redir ports 12580

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

有三条,而不是你说的一条!
2017-04-11 15:39:24 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@aru #134 能帮忙看下楼上吗?
2017-04-11 15:38:50 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
ping 的通:
root@sanyucz:~# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.82 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.078 ms

服务器上不能 telnet 到 10.0.0.2 的 443 端口
root@sanyucz:~# telnet 10.0.0.2:443
telnet: could not resolve 10.0.0.2:443/telnet: Name or service not known

root@sanyucz:~# iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:10.0.0.2
REDIRECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:443 redir ports 12580

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
2017-04-11 14:55:12 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
换成 ubuntu14.04 ,确实能走下来了,但是执行命令之后 ss 客户端 443 端口就不行,还是之前的 12580 才可以。是不是煤气作用?
2017-04-11 11:27:15 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@JackyBao #95 最后那个很长的命令输入完的提示是什么?我换成 Ubuntu16 试了一下,那个命令敲完就不动了,没有任何提示,只能用 Ctrl+C 打断。
2017-04-11 10:36:07 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@JackyBao #88 Centos 7 x86_64 (这个应该是 64 的吧,选择系统的时候还有一个 Centos 7 x86 )
2017-04-11 10:27:25 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@JackyBao #86

最低要求 2.14 吗? 我的 2.17

# ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
2017-04-11 09:31:49 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
当执行
# 是时候开启 haproxy 为 BBR 过桥了,以下命令必须一行打完

报错:
ERROR: ld.so: object '/root/haproxy/liblkl-hijack.so' from LD_PRELOAD cannot be preloaded: ignored.
[ALERT] 099/212156 (602) : Starting proxy shadowsocks: cannot bind socket [10.0.0.2:443]

系统: Centos 7 x86_64
2017-04-11 09:13:16 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
# 安装 haproxy ,并禁止开机自启
apt-get install haproxy
update-rc.d haproxy disable

如果用 CentOS ,该怎么输入命令了呢? chkconfig 吗?
@JackyBao #15 按照你的方法之后, YouTube 的速度有明显很大的提升,打开 Google 还是很慢就是因为这个原因喽?
2017-04-10 23:56:51 +08:00
回复了 JackyBao 创建的主题 VPS [原创] OpenVZ uml 开启 BBR 之最小镜像,仅需 16M 内存!
以前 YouTube 最多能看 720 ,用了这个方法 1080 轻轻松松。

虽然没看懂,但是仍然感觉好厉害。。!!!
1 ... 39  40  41  42  43  44  45  46  47  48 ... 67  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5432 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 03:07 · PVG 11:07 · LAX 20:07 · JFK 23:07
Developed with CodeLauncher
♥ Do have faith in what you're doing.