上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 要求 3年后端开发经验以上 熟悉swoole协程和hyperf框架 会使用一种消息队列 接触过高并发场景 熟悉mysql锁机制 熟悉Elasticsearch搜索引擎 使用过docker容器编排 了解自动化部署ci/cd 写过单元测试 了解日志收集和搭建日志系统 了解linux服务器性能分析和优化 阅读全文
posted @ 2024-10-26 18:30 冯元春 阅读(18) 评论(0) 推荐(0)
摘要: max_binlog_size = 100M # binlog_do_db = include_database_name # binlog_ignore_db = include_database_name # # # slow_query_log = ON slow_query_log_file 阅读全文
posted @ 2024-10-23 23:35 冯元春 阅读(11) 评论(0) 推荐(0)
摘要: create user root@'%' identified by ''; grant all privileges on *.* to root@'%' with grant option; alter user root@'%' identified with caching_sha2_pas 阅读全文
posted @ 2024-10-23 23:33 冯元春 阅读(25) 评论(0) 推荐(0)
摘要: docker 创建docker用户组 sudo groupadd docker 普通用户加入docker用户组 sudo usermod -aG docker ubuntu 重启docker sudo systemctl restart docker 刷新 sudo newgrp docker 阅读全文
posted @ 2024-10-23 23:32 冯元春 阅读(21) 评论(0) 推荐(0)
摘要: Ubuntu 22.04 上安装 PHP 8.1 sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt i 阅读全文
posted @ 2024-10-23 23:31 冯元春 阅读(132) 评论(0) 推荐(0)
摘要: grep '2024-10-04T09.*replyMessage' requests-2024-10-04.log | wc -l 阅读全文
posted @ 2024-10-04 19:36 冯元春 阅读(8) 评论(0) 推荐(0)
摘要: #!/bin/bash # 这是一个导出MySQL数据库的shell脚本 # 设置MySQL用户名、密码和数据库名称 username="" password="" database="" # 导出数据库 # 获取当前时间戳 timestamp=$(date +"%Y%m%d%H%M%S") # 导 阅读全文
posted @ 2024-09-25 21:28 冯元春 阅读(17) 评论(0) 推荐(0)
摘要: sed -i 's/DB_HOST=.*/DB_HOST=1.1.1.1/' /var/www/html/mine/.env 阅读全文
posted @ 2024-09-25 19:26 冯元春 阅读(11) 评论(0) 推荐(0)
摘要: public function main() { $redis = ApplicationContext::getContainer()->get(\Redis::class); while (true) { $message = $redis->rpop(self::KEY_GROUP_TASK) 阅读全文
posted @ 2024-09-04 15:47 冯元春 阅读(29) 评论(0) 推荐(0)
摘要: package main import ( "encoding/json" "fmt" "io" "net/http" "net/url" "sync" ) type ApiResponse struct { Code int `json:"code"` Msg string `json:"msg" 阅读全文
posted @ 2024-08-30 18:57 冯元春 阅读(87) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页