본문 바로가기

전체 글94

우분투 Portainer 설치 https://docs.portainer.io/v/ce-2.11/start/install/server/docker/linux Install Portainer with Docker on Linux - Portainer Documentation de5b28eb2fa9 portainer/portainer-ce:2.11.0 "/portainer" 2 weeks ago Up 9 days 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:9443->9443/tcp, :::9443->9443/tcp portainer docs.portainer.io docker volume create portainer_data docker run -d -p 8000:8000 -p 9443:9.. 2022. 2. 5.
우분투 Docker 설치 https://docs.docker.com/engine/install/ubuntu/ Install Docker Engine on Ubuntu docs.docker.com sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyr.. 2022. 2. 5.
우분투 크롬 설치 Chrome 웹브라우저 (google.com) Chrome 웹브라우저 더욱 스마트해진 Google로 더 간편하고 안전하고 빠르게. www.google.com 우분투의 경우 소프트웨어에서 검색하면 크로니움? 인가 만 나온다. 크롬을 검색해서 따라간 후 설치하면 된다. 64비트 .deb(Debian/Ubuntu용) 다운로드 하고 우클릭하여 소프트웨어 설치로 연다 나는 최소 설치 후 업데이트 하니 소프트웨어 센터가 보이지 않아 다음 명령어로 설치하였다. sudo apt install gnome-software-plugin-snap 2022. 2. 5.
우분투 원격 접속 xRDP 듀얼 모니터 사용법 모든 모니터를 원격 세션에 사용 을 체크한다. 2022. 2. 5.
우분투 원격 접속 xRDP 설치 + 오디오 출력 기능 추가 우분투에서는 xRDP 를 설치하여 윈도우에서 원격 접속이 가능하다. apt-get으로 그냥 설치하면 오디오가 나오지 않는다.물론 설치 후 오디오가 나와도 네트워크 상황에 따라 잘 끊기거나 지연되는 현상은 존재한다. https://c-nergy.be/blog/?p=17175 xRDP – Easy install xRDP on Ubuntu 18.04,20.04,21.04,21.10 (Script Version 1.3) – Griffon's IT Library Hello World, Since Ubuntu 21.10 has been released (October 2021), it’s time for us to update and publish the latest version of our famous xrdp.. 2022. 2. 5.
Common Application Properties https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties.core Common Application Properties docs.spring.io Spring Boot 에서 사용하는 디폴트 프로퍼티 값을 정리 해 두었다. # 1. Core Properties ## Enable debug logs. / default : FALSE # debug=FALSE ## Arbitrary properties to add to the info endpoint. / default : # info.*= ## Charset to use for console output. / de.. 2022. 1. 2.
Watch 사용 주의점 Nuxt에서 watch내의 함수를 정의 하면 변경하는 값을 감시한다. 회사에서 구축한 시스템에서 컴퍼넌트로 부터 넘어온 props 값을 watch가 캐치하지 못하는 현상이 있었는데, 원인을 파악하니 이해가 되었다. Watch내 의 함수를 선언할때, 함수의 파라미터를 하나만 설정하면 변경된 새로운 값을 이벤트로 받는다. 즉, 변경된 값이 존재하지 않으면 이벤트가 발생하지 않는다는 것이다. 만약 파라미터를 2개 둔다면 첫번째는 새로운 값, 두번째는 예전 값에 대해서 이벤트를 받게 된다. 즉, 부모 컴퍼넌트에는 다른 이벤트가 발생하여 props에 값을 넣었지만, 넣은 값이 기존값과 동일하다면 watch는 동작하지 않는다. 2021. 12. 15.
Apache Kafka CentOS 8 설치 1. 자바 설치 sudo dnf install java-11-openjdk wget vim​ 2. 카프카 다운로드 wget https://dlcdn.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz tar xzf kafka_2.13-3.0.0.tgz mv kafka_2.13-3.0.0 /usr/local/kafka 3.카프카 Systemd Unit Files 세팅 vim /etc/systemd/system/zookeeper.service [Unit] Description=Apache Zookeeper server Documentation=http://zookeeper.apache.org Requires=network.target remote-fs.target After=net.. 2021. 12. 9.
Hierarchical Queries 계층 구조 쿼리들 https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Hierarchical-Queries.html SQL Language Reference docs.oracle.com https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries003.htm Hierarchical Queries Hierarchical Queries If a table contains hierarchical data, then you can select rows in a hierarchical order using the hierarchical query clause: hierarchical_query_clause::=.. 2021. 11. 29.
MySQL FIND_IN_SET() Function https://www.w3schools.com/sql/func_mysql_find_in_set.asp MySQL FIND_IN_SET() Function W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com 예제 문자열 배열 내의 "q"를 찾기 SELECT FIND_IN_SET("q", "s,q,l"); 정의와 용례 FIND_IN_SET() 함수는 문자열 배열에서 문자열의 위치.. 2021. 11. 29.