Imprimir sha256sum da key.
openssl pkey -in key.pem -pubout -outform pem | sha256sum
Imprimir sha256sum da key.
| Gerar certificado tipo pem. | |
| ~~~ | |
| openssl x509 -inform PEM -in cert.crt > public.pem | |
| ~~~ |
Imprimir sha256sum da key.
openssl pkey -in key.pem -pubout -outform pem | sha256sum
Imprimir sha256sum da key.
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| version: '3.6' | |
| services: | |
| mysql: | |
| platform: linux/x86_64 | |
| image: mysql:5.6 | |
| ports: | |
| - "3306:3306" | |
| volumes: | |
| - ./docker/data/mysql:/var/lib/mysql | |
| command: --lower_case_table_names=1 |
kubectl run -it --image=jrecord/nettools nettools --restart=Never --namespace=mensageiro-prod
| -- Cria usuário com permissão para login | |
| CREATE ROLE novousuario WITH LOGIN; | |
| -- Criar usuário com permissão para login | |
| CREATE USER novousuario; | |
| -- Criar usuáriio com senha. | |
| CREATE ROLE novousuario WITH LOGIN PASSWORD 'senha'; | |
| -- Alterar senha |
curl --trace - https://catonmat.net
curl --trace - --trace-time https://catonmat.net
// Lista devices
$ adb -H host.docker.internal devices
// Conectar no
$ adb connect host.docker.internal:5555
// Redefinir conexão
$ adb kill-server
Busca IP do wsl wsl hostname -I
Troca IP do connectaddress para ip interno do WSL.
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.18.x.x