配置详情:
代理: export http_proxy="http://192.168.31.105:7890"
export https_proxy="http://192.168.31.105:7890"
| IP | 代号 | 用户名密码 | 虚拟机名 | 虚拟化类型 | 安装环境 | 安装软件 | 用途说明 | |
| 172.16.97.129 | node01 | 1. root root | CentOS8-01 | VM |
1.jdk8 路径/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-2.el8_5.aarch64 2.nodeJs10 路径/usr/share/node 3.python3 3.11.0, 路径/var/lib/alternatives/python3 4.docker 路径 /usr/bin/ 5.dify /tool 6.nextchat /tool 7.wiki 8.metersphere 9.nas jellyfin 10. rancher admin admin_rancher |
kafka: 启动 cd /tool/kafka_2.12-3.8.0/bin 启动ZK: nohup ./zookeeper-server-start.sh ../config/zookeeper.properties & 启动kafka: nohup ./kafka-server-start.sh ../config/server.properties & redis : 启动 cd /tool/redis-6.2.5/src 启动 nohup ./redis-server & mysql :开机自启 mysql -u root -p123456 dify: sudo docker compose up -d nextchat: docker run -d -p 4500:3000 \ -e NEXT_PUBLIC_ALIBABA_API_KEY=sk-5a839dbb64074a62a1a78e9cb6502bef \ -e NEXT_PUBLIC_ALIBABA_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 \ -e NEXT_PUBLIC_ENABLE_MCP=true \ --name nextchat \ yidadaa/chatgpt-next-web wiki: docker run -d \ -p 4600:3000 \ --name wiki \ -e "DB_TYPE=sqlite" \ -v ./wiki-data:/var/wiki \ --restart unless-stopped \ ghcr.io/requarks/wiki:2 metersphere: docker run -d -p 4700:8081 --name=metersphere -v ~/.metersphere/data:/opt/metersphere/data metersphere/metersphere-ce-allinone # 用户名: admin # 密码: metersphere nas jellyfin : docker run -d --name jellyfin-server \ > -v /Users/wanghao/jellyfin/config:/config \ > -v /Volumes/NAS/Media:/media \ > -p 8096:8096 \ > --user $(id -u):$(id -g) \ > jellyfin/jellyfin
rancher: docker run -d \ --restart=unless-stopped \ --privileged \ -p 4800:80 \ -p 4843:443 \ --name rancher \ -v /var/lib/rancher:/var/lib/rancher \ rancher/rancher:latest
nextcloud : docker run -d \ --name nextcloud-aio-mastercontainer \ --restart=always \ --publish 9081:80 \ --publish 4980:8080 \ --publish 5943:8443 \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ --volume nextcloud_aio_mastercontainer:/mnt/shared \ --env NEXTCLOUD_DATADIR=/mnt/shared/data \ --env APACHE_PORT=6943 \ nextcloud/all-in-one:latest
|
1.工具 集群, 2.常用docker工具 部署。 3.基础服务 部署。(devops后台,devops前台 ,工具) |
|
| 172.16.97.128 | node02 | 1. root root | CentOS8-02 | VM |
jdk8, 路径/usr/lib/jvm/java-1.8.0-openjdk nodeJs21, 路径/usr/bin/node python3,路径/var/lib/alternatives/python3 |
物理机部署 .(部署服务) | ||
| 172.16.97.130 | node03 | 1. root root | CentOS8-03 | VM |
1.jdk8, 路径/usr/lib/jvm/java-1.8.0-openjdk 2.nodeJs21, 路径/usr/bin/nod 3.python3,路径/var/lib/alternatives/python3 4.docker 路径 /usr/bin/ 5.k8s |
docker ,k8s服务部署。 (部署服务) | ||
| 172.16.97.131 | node04 | 1. root root | CentOS8-04 | VM | k8s从属节点 | |||
| 172.16.97.132 | node05 | 1. root root | CentOS8-05 | VM | k8s从属节点 | |||
| 172.16.97.133 | node06 | 1. root root | CentOS8-06 | VM | 测试机部署,可自由支配 |