일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- log
- ms sql server 2022
- option pattern
- 맥미니
- rc-service
- DotNet
- Linux
- Android
- 무선 디버깅
- 윈도우즈 터미널
- docker
- openrc
- sqlc
- mysql
- user-secrets
- golang
- 옵션 패턴
- AnimatedPositioned
- User
- opentelemetry
- Flutter
- module upgrade
- pg_stat_statements
- elasticSearch
- shared_preload_libraries
- go
- vscode
- otel
- SQL Server
- version 2
- Today
- Total
목록catchv blog (126)
CATCHV Blog
https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-environment-variables?view=sql-server-2017 Configure environment variables for SQL Server on Linux - SQL Server This article describes how to use environment variables to configure specific SQL Server settings on Linux. learn.microsoft.com Environment variables Environment variableDescription ACCEPT_EULA Set the ACCEPT_EULA v..
MAC 사용시 code 명령어를 찾지 못하는 경우가 있다. $ code zsh: command not found: code 1. cmd + p 를 입력하고 "> shell command: Install 'code' command in Path"를 입력합니다. 2. 입력을 위해서는 관리자 권한 승인이 필요합니다. https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
maxCrossAxisExtent 컬럼의 최대 넓이로 row child 갯수 생성 SliverGrid( gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent( maxCrossAxisExtent: 200, mainAxisSpacing: 1.0, crossAxisSpacing: 1.0, childAspectRatio: 2.0, ), minCrossAxisExtent이 없으므로 계산을 통해서 컬럼의 최소 넓이로 row child 갯수를 생성 double deviceWidth = MediaQuery.of(context).size.width; SliverGrid( gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( cr..
Visual Studio Code (vscode)를 업데이트 하면 가끔 언어가 영어로 설정되는 경우가 있다. ctrl + p 를 입력하고 "> language"를 입력 하면 아래의 화면이 나온다. Configure Display Language를 선택한다. 원하는 언어를 선택하면 됩니다.
1. 설치 https://github.com/grafana/loki/releases 에서 플랫폼에 맞는 것을 다운로드 받는다. # 다운로드 받기 $ wget https://github.com/grafana/loki/releases/download/v2.7.4/logcli-linux-amd64.zip # 압축 해제 $unzip logcli-linux-amd64.zip 2. logcli에서 사용할 loki를 설정한다. # export LOKI_ADDR=http://: export LOKI_ADDR=http://loki:3100 3. loki의 설정된 job 리스트 확인 $ ./logcli-linux-amd64 labels job 2023/03/08 04:48:29 http://loki:3100/loki/ap..
mv mysqld.log mysqladmin flush-logs error -uroot -pRoot12#$ install -omysql -gmysql -m0644 /dev/null /var/log/mysqld.log
linux에서 사용자가 어떤 그룹에 속하는지 확인해야 하는 경우가 있다 이런 경우 groups 명령어를 사용하면 된다. # groups [사용자] $ groups promtail promtail : promtail $ groups mysql mysql : mysql # 계정이 여러개의 그룹에 속하는 경우 $ usermod -G root promtail $ groups promtail promtail : promtail root
elastic search 8.x 버전 사용시 https 접속이 기본이라서 인증서가 없을 경우 접속에 문제가 생긴다. 1. vs code db extension 사용시 에러 Connection error!socket hang up 2. curl 사용시 에러 # curl http://127.0.0.1:9200 curl: (52) Empty reply from server 3. /etc/elasticsearch/elasticsearch.yml 파일 안에 xpack.security.http.ssl enabled: true를 false로 변경해 주면 http로 정상접속된다. 물론 인증서를 사용하는 것이 좋겠지만 개발 환경에서는 http사용이 편한다. xpack.security.http.ssl: enabled: ..
nexus3 를 이용해서 docker registry를 만들어서 사용중이다. docker registry에서 pull이나 push를 해야 하는 경우 로그인을 해야하는데 문제는 docker registry가 https를 사용한다는 것이다. 그 놈의 인증서가 또 문제.... 인터넷을 보면 여러 해결책이 있는데 보통은 client에 linux의 겨우 /etc/docker/daemon.json 이나 윈도우는 C:\ProgramData\docker\config\daemon.json 파일을 만들어서 아래의 내용을 넣으라고 나온다. { "insecure-registries" : ["http://myregistrydomain.com:5000"] } 내가 사용는 client는 windows인데 안된다. 이게 옛날 방식인..