본문 바로가기

분류 전체보기

Android Aspectj plugin https://github.com/averyzhong/AspectJ-gradle-plugin-for-android 더보기
certbot nginx 플러그인 설치 sudo apt install python-certbot-nginx 설치확인 certbot -auto plugins Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * nginx Description: Nginx Web Server plugin Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: nginx = certbot_nginx.configurator:NginxConfigurator * standalone Description: Spin up a t.. 더보기
H2 TCP 서버 참조 https://www.baeldung.com/spring-boot-access-h2-database-multiple-apps Access the Same In-Memory H2 Database in Multiple Spring Boot Applications | Baeldung Learn how to start an in-memory H2 database in one Spring Boot application and access the same database in another over TCP. www.baeldung.com gradle compile 'com.h2database:h2' Bean , 서버기동, 포트노출. @Bean(initMethod = "start", destroyMethod =.. 더보기
JS 웹브라우저 새탭 열기 window.open( window.location.origin +"/new_link"); 더보기
Docker TLS openssl genrsa -aes256 -out ca-key.pem 4096 openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem openssl genrsa -out server-key.pem 4096 HOST="mydomain" openssl req -subj "/CN=$HOST" -sha256 -new -key server-key.pem -out server.csr openssl x509 -req -days 365 -sha256 -in server.csr -CA ca.pem -CAkey ca-key.pem \ -CAcreateserial -out server-cert.pem -extfile extfile.cnf openssl ge.. 더보기
ubuntu sudo without passwd visudo or /etc/sudoers.d/임의의 파일 생성 추가 username ALL=(ALL) NOPASSWD:ALL 더보기
하이버네이트 mysql 테이블 생성시 기본엔진 을 InnoDB 으로 org.hibernate.dialect.MySQL57Dialect innodb 더보기
intellij console 한글 깨짐 gradle 파일 최상위 스코프에 추가tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } 더보기
react import 절대경로 최상위 폴더에 .env 파일 생성NODE_PATH=./import {} from 'src/' 로 접근 더보기
Docker 원격 접근 공식문서https://success.docker.com/article/how-do-i-enable-the-remote-api-for-dockerd 우분투 18 에서 적용안될때1. sudo systemctl edit docker 2. [Service]ExecStart=ExecStart=/usr/bin/dockerd -H unix:// -H tcp://0.0.0.0:2375 더보기