mysql配置 1 2 3 4 5 6 -- 在主库开启slave通道 showvariableslike'log_%';-- 其中 log_bin 要 on -- 在主库创建canal账号 createuser'canal'@'%'IDENTIFIEDBY'123456';grantselect,replicationclient,replicationslaveon*.*TO'canal'@'%';flushPRIVILEGES; canal 安装 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
1 brew install altinity/clickhouse/clickhouse
基于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/
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 // 安装php $ wget https://gitee.com/yurunsoft/php-env/raw/master/apt-php.sh && bash apt-php.sh //
暗中观察了golang的生态 , 变化很快 , 正在迅速成长 喷涌而出的框架 viper ,cobra , beego, martini, iris , gin , goframe , go-zero 包管理从 GOPATH , golide, vgo, godep , govender, gomod 演变 编辑器 vim , sublime text , goland , vscode