2022-09-01 docker build for multiplatform
- docker image 를 cross compile 하기 위해서는 docker buildx 를 사용해야한다.
- docker buildx 는 docker 19.03 버전부터 사용할 수 있다.
2022-05-20 github ssh key 사용하기
``` shell
이렇게 하면 spring config server 에서 사용할 수 없는듯
$ ssh-keygen -t rsa -b 4096 -C “your_email@example.com”
2022-05-05 nginx mirror test
nginx 설치
2022-03-26 hadoop command history
hadoop 명령어 사용 기록
2022-03-22 JUnit Spring Context Configure
@ContextHierarchy({
@ContextConfiguration(
locations = {
"classpath:/something-config-app.xml",
"classpath:/something-config-datasource.xml",
"classpath:/META-INF/something/**/*.xml"
},
classes = {
SpringTest.CustomConfig.class
}
),
@ContextConfiguration({"classpath:/something-child-config.xml" })
})
public class SpringTest {
}
2022-03-15 tomcat version 확인하기
cd tomcat/lib
java -cp catalina.jar org.apache.catalina.util.ServerInfo
2022-03-03 fully executable spring boot application
spring boot application 를 java -jar myApplication.jar 로 실행하지않고, 그냥 ./myApplication.jar 로 실행하고싶다.
2022-02-18 tomcat access log 남기기
아래와 같은 설정을 보고, pattern 에 사용된 것들이 어떻게 세팅될지 궁금해하고있었는데…
<Host name="localhost" ...>
<Valve
className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt"
pattern='%{X-MY-NAME}i %t "%A" "%{PARAM-YOUR-NAME}r" "%r" "%s" "%T" %b "%{User-Agent}i" "%{Referer}i"' />
</Host>
