LVS+keepalived 使用TUN
4月 25, 2023 |
Nix.Huang
realServer配置 modprobe ipip #加载ipip模块,生成tunl0 […more]
我使用的是minikube version: v1.28.0,PersistentVolume的storage […more]
cat Dockerfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM centos MAINTAINER REX # ADD 会将tar包解压 ADD ./jdk-17_linux-x64_bin.tar.gz /opt RUN mkdir -p /opt/jdk-17.0.4 ENV JAVA_HOME /opt/jdk-17.0.4 ENV PATH $PATH:$JAVA_HOME/bin ENV LANG="en_US.UTF-8" COPY ./websocket-server.jar /opt/ EXPOSE 8080 VOLUME ["/opt/logs"] WORKDIR /opt/ ENTRYPOINT java -jar /opt/websocket-server.jar |
// ‘.’表 […more]
git-bash中通过curl提交格式化后的json, bash将字符串中的两个tab 解释为completi […more]
while true; do ( echo -e ‘HTTP/1.1 200 OK\r\nContent-Ty […more]
sed 命令的格式为 sed ‘[address]operation1′ — sed lable 实现’:’ […more]
基本模式下”?, +, {, |, (, 和 ) “按普通字符处理,如果要使用正则表达式语言,请使用反斜杠转义 […more]