服务 | 预览地址 |
---|---|
consul | http://localhost:8500/ |
grafana | http://localhost:3000/ |
jaeger | http://localhost:16686/search |
Prometheus | http://localhost:9090/graph |
AlertManager | http://localhost:9093 |
环境 | 地址 |
---|---|
go 1.18 | https://go.dev/ |
Protocol buffer compiler, protoc | https://grpc.io/docs/protoc-installation/ |
Go plugins for the protocol compiler | http://localhost:16686/search |
go install \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc \
github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc \
github.com/envoyproxy/protoc-gen-validate
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/jidan/go/bin
jidan@jidan: docker-compose logs deployments-db-1
deployments-db-1 | mysqld: Cannot change permissions of the file 'private_key.pem' (OS errno 1 - Operation not permitted)
deployments-db-1 | 2020-09-10T05:04:53.449233Z 0 [ERROR] [MY-010295] [Server] Could not set file permission for private_key.pem
deployments-db-1 | 2020-09-10T05:04:53.449629Z 0 [ERROR] [MY-010119] [Server] Aborting
- 创建wsl配置文件
jidan@jidan: sudo touch /etc/wsl.conf
- 编辑wsl配置文件
jidan@jidan: sudo vim /etc/wsl.conf
- 添加内容
[automount]
options = "metadata"
- 退出wsl
jidan@jidan: exit
- 关闭wsl
wsl --shutdown
- 重新进入wsl
wsl