Centos7에서 locale 에러 해결하기

cuudev·2022년 12월 5일
0

ssh로 접속시 아래 warning 이 뜬다면 로케일 설정이 해야한다.

Last login: Mon Dec  5 09:03:29 2022 from 211.34.79.133
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
manpath: can't set the locale; make sure $LC_* and $LANG are correct

/etc/environment 파일에 아래 환경변수 추가하면 경고가 뜨지 않는다.

LANG=en_US.utf-8
LC_ALL=en_US.utf-8

#cuuDev

profile
자꾸 까먹어서...

0개의 댓글