/images/avatar.jpg

木木飞

部署openresty和kafka的数据采集系统

基于Openresty+Lua+Kafka对日志进行实时的采集 openresty 1 2 3 4 5 6 7 8 9 #!/bin/bash ## openresty apt-get -y install --no-install-recommends wget gnupg ca-certificates wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add - echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc)main" > openresty.list cp openresty.list /etc/apt/sources.list.d/

Ubuntu安装php8.1和swoole

hyperf2.2 + php8.1 + swoole + redis + mysql + ubuntu20 的环境 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 apt install software-properties-common add-apt-repository ppa:ondrej/php apt update # mysql用的是云商的, 本地不安装 apt-get update apt -y install php8.1 apt -y install php8.1-swoole; apt