重置

1
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p lion123 -port 22

更新环境

1
apt update -y && apt upgrade -y && apt install -y curl wget sudo socat

安装curl

Debian/Ubuntu

1
apt update -y && apt install -y curl

CentOS

1
yum update && yum install -y curl

Alpine Linux

1
apk update && apk add curl

kejilion一键运行脚本

官网版

1
curl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

GitHub版 部分小伙伴会遇到官网版出现大段乱码!就用GitHub版本吧!

1
curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

国内服务器版

1
curl -sS -O https://raw.gitmirror.com/kejilion/sh/main/cn/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

安装 Docker

1
curl -fsSL https://get.docker.com | sh

查看端口是否被占用 lsof -i :port

image-20231211213320802

或者 netstat -anp |grep port

image-20231211225357973

结束进程 kill -9 pid

image-20231211213647203

查看ip

1
c

docker

docker 查看容器 docker ps

image-20231211213449696

部署docker-compose容器 docker-compose up -d

image-20231211214852943

查看 Docker 内网地址

1
ip addr show docker0