快速准备coturn socat nginx docker php swoole-cli 运行时

文档说明: 只记录关键的地方; 发文时间: 2024-06-22

意义: 一条命令,准备好需要的运行时

原理: 使用静态编译的软件,运行时无需安装

环境: linux 、macos

状态: 继续完善中


# coturn
curl -fSL https://github.com/jingjingxyk/build-static-coturn/blob/main/setup-coturn-runtime.sh?raw=true | bash

# socat 
curl -fSL https://github.com/jingjingxyk/build-static-socat/blob/main/setup-socat-runtime.sh?raw=true | bash

# nginx
curl -fSL https://github.com/jingjingxyk/build-static-nginx/blob/main/setup-nginx-runtime.sh?raw=true | bash

# docker
curl -fSL https://github.com/docker/docker-install/blob/master/install.sh?raw=true | bash


# php swoole 

curl -fSL  https://gitee.com/jingjingxyk/swoole-cli/raw/main/setup-php-runtime.sh | bash -s -- --mirror china 

# docker run debian 、alpine

docker run --rm --name demo  -ti --init debian:12
docker run --rm --name demo  -ti --init alpine:latest

参考文档

  1. build-static-nginx
  2. build-static-socat
  3. build-static-coturn
  4. install docker
posted @ 2024-06-22 10:00  jingjingxyk  阅读(10)  评论(0编辑  收藏  举报