dns转发

1.创建容器 docker run --name bind \ -d --restart=always \ --publish 53:53/tcp \ --publish 853:53/udp \ --publish 8010:10000/tcp \ --volume /opt/

iohannes iohannes Published on 2025-03-14

docker网络设置

docker网络模式 bridge模式,--net=bridge(默认) 这是dokcer网络的默认设置。安装完docker,系统会自动添加一个供docker使用的网桥d

iohannes iohannes Published on 2025-03-14

frp内网穿透http

中心云主机(x.x.x.x) /home/frp/frps.toml bindAddr = "0.0.0.0" bindPort = 8070 auth.token = "your_pwd" transport.tls.force = true vhostHTTPPort = 8071 webSe

iohannes iohannes Published on 2025-03-14

git 提交comment规范

git 提交comment规范 <type>(<scope>): <subject> <body> <footer> 大致分为三个部分(使用空行分割): 标题行, 必填, 描述主要修改类

iohannes iohannes Published on 2025-03-14

gitlab and runner

what’s this install gitlab/gitlab runner in linux install gitlab gitlab home dir export GITLAB_HOME=/srv/gitlab run gitlab container docker run --det

iohannes iohannes Published on 2025-03-14

gitlab ci compose with submodules

configure the .gitmodules file in your project root dir [submodule "backtest_task"] path = project_name url = git@ip_or_host:group_name/project_name

iohannes iohannes Published on 2025-03-14

git服务器gitea

安装 sudo apt-get update sudo apt-get install -y git wget wget -O gitea https://dl.gitea.io/gitea/1.15.5/gitea-1.15.5-linux-amd64 sudo mv gitea /usr/loc

iohannes iohannes Published on 2025-03-14

gunicorn最佳配置

workers 数目 每个work是一个进程, 建议数量设置为: (2*CPU)+1. gunicorn --workers=5 main:app threads 数目 threads 数目默认是1, python的GIL原因多线程提升

iohannes iohannes Published on 2025-03-14

hadloop( single-node )建立hdfs

依赖工具安装 ssh sudo apt-get install ssh java sudo apt install default-jdk java --version 下载hadoop https://dlcdn.ap

iohannes iohannes Published on 2025-03-14

http幕等性

幂等性 HTTP方法的幂等性是指一次和多次请求某一个资源应该具有同样的影响 哪些是幕等性操作 在HTTP规范È

iohannes iohannes Published on 2025-03-14
Previous Next