본문 바로가기

분류 전체보기

(452)
#98 Expatriate Employees 1 Key Word expatriate(expat): someone who does not live in their own country There are several expatriate workers in our company. immigrant: a person who has come to a different country in order to live there permanently Some businesses employ illegal immigrants to save money. away from: If something is away from a person or place, it is at a distance from that person or place. Working abroad is d..
#97 Cross-cultural Business Etiquette 2 Key Word diverse: including many different types of people or things Being familiar with diverse cultures will come in handy during business trips. come in handy: 쓸모가 있다. 도움이 되다. fall through the cracks: get lost or be forgotten. 부주의로 깜빡하다. I think that part of the report fell through the cracks. cut to the chase: skip of the unimportant details and deal with the main point. 바로 본론으로 들어가다. Let me..
#96 Cross-cultural Business Etiquette 1 Key Word carry out ~: do or complete something, especially that you have said you would do or that you have been told to do. 수행하다. We have to carry out this research over a six-month period. business card: a small card that has your name, company name, and the job you do printed on it. 명함 In some cultures, it is rude to hand out your business card using one hand. corporate card: 법인카드 hand out ~:..
#95 Cultural Mistakes 2 Key Word adapt to ~: become familiar or comfortable with something. It is really hard for Ms. Smith to adapt to her new office. establish: start having a relationship with, or communicating with another person, company, country, or organization There are people who can easily establish a good relationship with others. play it by ear: improvise; act instinctively rather than according to rules or..
리눅스 서버에서 파일 업로드/다운로드(scp) 접속한 서버에서 다른 원격 서버로 파일 전송 scp [파일명] [원격 서버 계정명]@[원격 서버 도메인]:[원격 서버에서 다운받으려는 경로] -- example scp pdf.hprof user@test.com:/home1/user scp pdf.hprof user@127.0.0.1:/home1/user 아래와 같이 Permission is denied가 뜨면 scp 앞에 sudo를 붙이면 된다. 접속한 서버에서 원격 서버의 파일 다운로드 scp [원격 서버의 계정명]@[원격 서버 도메인]:[원격 서버에서 파일 경로] [접속한 서버의 파일 다운받으려는 경로] -- example scp user@test.com:/home1/user/pdf.hprof ./download 아래는, 원격 서버의 계정명, 서버 ..
Imposter Syndrome or Superiority Complex
리눅스 서버에서 로그 확인 실무에서 사용하는 로그 검색 방법을 정리하였다. 최신 로그 파일 찾기 (ll -ltr) 로그 파일 경로에 가서 최신 날짜의 로그 파일을 찾을 때 사용한다. 참고로, ls -l의 축약형이 ll이다. -l 옵션으로 파일의 권한, 소유자, 갱신일까지 알 수 있다. 로그에 특정 키워드 있는 지 확인(cat grep) 파일을 열기 전에 로그 파일에 찾고자 하는 문자열이 있는 지 확인할 수 있다. cat 파일명 | grep -i "찾고자하는 문자열" 문자열이 있으면, 문자열이 있는 부분들만 보여준다. 로그 확인(less) more를 사용해도 되는데, more는 less와 달리 아래와 같은 차이가 있어서, 나는 주로 less를 사용한다. more의 단점 역방향 스크롤 불가능 more는 텍스트 파일을 한 페이지씩 보여..
리눅스 서버에서 Spring 프로젝트의 로그 파일 찾기 Spring 프로젝트에서 로그는 보통 SLF4J를 사용한다. 내가 예시를 위해 사용한 프로젝트는 logback-spring.xml에 기본 로그 설정을 해놓았다. access 등 여러 목적에 필요한 log 설정을 logback 디렉터리 내 logback-access.xml, logback-file.xml 등으로 생성한다. logback-access.xml 등 설정 파일을 log 기본 설정 파일인 logback-spring.xml에서 import한다. 위 설정에 관한 자세한 내용은 아래 블로그글 참조. https://developer-minji.tistory.com/359 SLF4J의 Log파일로 인한 서버의 Disk 공간 부족 문제 발생; Logback의 RollingFile 설정 문제 서버의 disk 공..
#94 Cultural Mistakes 1 Key Word associate: someone who is closely connected to another person as a companion, friend, or business partner. 제휴한 We are busy preparing for the arrival of our foreign associates next week. more than once: twice or on multiple occasions This reminder has been posted more than once. address: ~라고 부르다. You can address him by his first name. 너는 그를 그의 성으로 불러야 한다. You can call me... You can call ..
서버 Restart 시, nginx: [emerg] chown("/dev/shm/nginx_proxy_temp", 503) failed (1: Operation not permitted)nginx: configuration file /home/www/etc/nginx.conf test failed 에러. 문제 서버를 Restart할 때, 아래와 같이 nginx 문제로 Restart가 실패했다. Restart할 때 서버 2개를 차례로 진행하는 데, 서버#1은 성공하고 서버#2는 실패했다. 아래는 실패 시, 서버#2의 로그이다. 원인 chown은 linux에서 파일 소유권을 변경하는 명령어인데, /dev/shm/nginx_client_temp 파일에 chown을 실행할 수 있는 권한이 없어 Operation not permitted 에러가 나왔다고 생각했다. 서버#1과 서버#2 각각 /dev/shm 경로로 접근하고 아래 명령어로 파일의 권한을 확인했다. ls -l 서버 #1은 아래와 같이 drwxrwxrwx 권한을 가진 것을 알 수 있다. 서버 #2는 drwx------ 권한으로, 서버#1과 다른 권한을 가..