摘要: <VirtualHost *:80> ServerAdmin webmaster@example.com DocumentRoot "/www/wwwroot/api.com" ServerName api.com ServerAlias api.com #errorDocument 404 /40 阅读全文
posted @ 2023-12-13 17:46 冯元春 阅读(25) 评论(0) 推荐(0)
摘要: 语法之旅 https://tour.go-zh.org/basics/4 go入门指南 https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/directory.md https://learnku.com/docs/the 阅读全文
posted @ 2023-12-12 11:13 冯元春 阅读(8) 评论(0) 推荐(0)
摘要: cd /usr/local 下载二进制压缩包 wget https://golang.google.cn/dl/go1.18.linux-amd64.tar.gz 解压 tar -zxvf go1.18.linux-amd64.tar.gz go命令写入环境变量 echo "export PATH= 阅读全文
posted @ 2023-12-12 09:54 冯元春 阅读(10) 评论(0) 推荐(0)
摘要: https://awesome-programming-books.github.io/ 阅读全文
posted @ 2023-12-12 09:25 冯元春 阅读(19) 评论(0) 推荐(0)
摘要: https://www.jetbrains.com/zh-cn/idea/ 选择 社区版 java版本选择11 阅读全文
posted @ 2023-11-30 14:22 冯元春 阅读(58) 评论(0) 推荐(0)
摘要: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2023-11-29 16:22 冯元春 阅读(10) 评论(0) 推荐(0)
摘要: netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' LAST_ACK 1 SYN_RECV 2 ESTABLISHED 268 FIN_WAIT1 8 FIN_WAIT2 5 CLOSING 5 TIME_WAIT 阅读全文
posted @ 2023-11-10 10:26 冯元春 阅读(26) 评论(0) 推荐(0)
摘要: goaccess -f /var/log/apache2/access.log --log-format=COMBINED 阅读全文
posted @ 2023-03-24 13:15 冯元春 阅读(22) 评论(0) 推荐(0)
摘要: 查看centos版本号 cat /etc/redhat-release /etc/my.cnf 加入 skip-grant-tables ALTER USER 'root'@'localhost' IDENTIFIED BY '002021'; flush privileges; 阅读全文
posted @ 2023-01-09 14:42 冯元春 阅读(18) 评论(0) 推荐(0)
摘要: jiacrontab https://gitee.com/iwannay/jiacrontab 可以用来执行php程序 阅读全文
posted @ 2022-12-28 14:57 冯元春 阅读(24) 评论(0) 推荐(0)