centOS 4.2 설치시 한글깨짐 문제

2010.05.12 07:41

조인상 조회 수:18468

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


/etc/sysconfig/i18n 의 내용을 아래와 같이 고치면 된다.



LANG="ko_KR.eucKR"
SUPPORTED="en_US.UTF-8:en_US:en:ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"



앞으로도 몇가지 보안 및 기타 설정들을 해야 하는데, 간간히 정리나 해봐야겠다.



/*------------------------------man의 한글 깨짐 추가--------------------------------*/

man명령어에서도 한글이 깨지는 현상이 있었다.--;

그래서 수정했다.



/etc/man.config 에서



PAGER          /usr/bin/less -iRs 의 옵션 중에서 대문자 R을 아래와 같이

PAGER      /usr/bin/less -irs 로



소문자로 바꿔주면 된다. 두 옵션의 차이는 아래의 설명으로 대신한다.



      -r or --raw-control-chars
              Causes "raw" control characters to be displayed.  The default is to  dis-

              play control characters using the caret notation; for example, a control-
              A (octal 001) is displayed as "^A".  Warning: when the -r option is used,
              less cannot keep track of the actual appearance of the screen (since this
              depends on how the screen responds to each type  of  control  character).
              Thus, various display problems may result, such as long lines being split
              in the wrong place.



      -R or --RAW-CONTROL-CHARS
              Like -r, but tries to keep track of the screen appearance where possible.
              This  works  only  if the input consists of normal text and possibly some
              ANSI "color" escape sequences, which are sequences of the form:



                  ESC [ ... m



              where the "..." is zero or more characters other than "m".  For the  pur-
              pose  of  keeping  track of screen appearance, all control characters and
              all ANSI color escape sequences are assumed to not move the cursor.  You
              can  make  less  think  that characters other than "m" can end ANSI color
              escape sequences by setting the environment variable LESSANSIENDCHARS  to
              the list of characters which can end a color escape sequence.
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 30768
24 리눅스에서 플로피 사용하기 조인상 2010.05.12 8949
23 NAT로 서비스 받는 컴퓨터에서 MSN 파일 전송기능사용하기 조인상 2010.05.12 8906
22 새로운 디스크를 ext3로 파일시스템 생성하기 조인상 2010.05.12 8757
21 원격지에서 FTP이용 백업 조인상 2010.05.09 8691
20 iptables로 NAT + Portforwarding 구성하기 조인상 2010.05.12 8650
19 APM 설치하기 조인상 2010.05.12 8062
18 apache 404 에러에 OS 또는 apache버전을 표시하는 취약점 없애기 ischo 2016.10.25 7713
17 SFTP로 자동 업로드/다운로드 스크립트 ischo 2018.04.04 7403
16 (스크립트) 오라클 DB서버에서 매일 원격지 FTP로 export 파일 업로드 하기 ischo 2017.11.04 4352
15 리눅스에서 Windows Filesystem(NTFS) 마운트하기 ischo 2018.12.20 3514
14 CIDR Conversion Table ischo 2018.03.08 2983
13 CentOS 7에 Apache2, php7.3, MariaDB 설치하기 ischo 2019.09.02 1956
12 구버전 Linux에서 Rocky Linux 9.1 버전으로 ssh 접속시 "no hostkey alg" 표시후 접속불가 ischo 2023.04.19 1490
11 apache log4j 취약점 제거조치 CVE-2021-44228 CVE-2021-45046 CVE-2021-41045 CVE-2021-4104 ischo 2021.12.23 1081
10 vi 에디터에서 복사,붙여넣기 하면 # 마크가 자동으로 앞에 붙을때 ischo 2023.04.19 945
9 Multi Putty Manager file ischo 2020.10.08 916
8 LVM 타입 swap 영역 용량 축소하기 ischo 2023.11.28 820
7 파일시스템 사용량 추이를 http 전송으로 DB에 누적하기 file ischo 2022.08.29 773
6 named 에서 DNS root 서버 리스트 갱신하기 ischo 2023.06.13 739
5 파일시스템 양방향 동기화하기 - rsync, lsyncd file ischo 2024.01.03 658
서버에 요청 중입니다. 잠시만 기다려 주십시오...