Docker + Trojan + Caddy 部署 ( 转贴)

SourceURL:https://muguang.me/it/2757.html

Docker + Trojan + Caddy 部署

关于 Trojan,不要多问,问就是代理工具。它先进的地方在于,数据传输使用 TLS 协议,伪装成 HTTPS 请求。Trojan 服务端监听 443 端口,对于普通来路的请求,会交由 Web 服务器处理,返回 Web 网站;而对于 Trojan 客户端来的请求,则由 Trojan 服务端进行代理。这跟 某2ray + Websocket + TLS 原理是一样的,都是通过伪装流量,避免被提取特征或是被检测。
这篇文章里,我将使用 Ubun[……]

Read more

[…]

ssh, scp and rsync

rsync -P –rsh=ssh -r biostack@143.89.31.17:/home/biostack/work/two_samples ./   [Admin.DESKTOP-7JT504C] ➤ rsync -P –rsh=ssh /drives/d/Kraken_12.tar.gz cityu_jhli_1@172.16.22.11:/BIGDATA1/cityu_jhli_1/mhyleung/database/findfungi Warning: Permanently added ‘172.16.22.11’ (RSA) to the list[……]

Read more

[…]

v2ray

https://github.com/Jrohy/multi-v2ray  

Docker运行

默认创建mkcp + 随机一种伪装头配置文件:

docker run -d --name v2ray --privileged --restart always --network host jrohy/v2ray 

自定义v2ray配置文件:

docker run -d --name v2ray --privileged -v /path/config.json:/etc/v2ray/config.json --restart always --network host[......]

Read more

[…]

heatmap R

  > library(gplots) Attaching package: ‘gplots’ The following object is masked from ‘package:stats’: lowess > > setwd(“/home/zyshen/work/QM_nanjing”) > data2<-read.csv(“combined_example.level_5.csv”, header=T, sep=”,”) > data2plot<-data.matrix(data2[2:3])[……]

Read more

[…]

alpha多样性

扩增子数据分析之多样性指数: alpha多样性

多样性指数(Diversity index)和计算公式可以见: wikipedia Alpha多样性(Alpha Diversity)是对某个样品中物种多样性的分析,包含样品中的物种类别的多样性——丰富度(Richness)和物种组成多少的整体分布——均匀度(Evenness)两个因素,通常用Richness,Chao1,Shannon,Simpson,Dominance和Equitability等指数来评估样本的物种多样性。 丰富度指数 Richness, Chao1,Shannon三个指数是常用的评估丰富度[……]

Read more

[…]