문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
wiki:os:linux [2022/12/01 16:42] dhan |
wiki:os:linux [2023/11/14 21:07] (현재) r_kimmk |
||
---|---|---|---|
줄 17: | 줄 17: | ||
* [[wiki: | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
+ | |||
+ | ===== 한글 언어팩 설정 ===== | ||
+ | locale -a | grep ko 했을 때 안나오면 아래와 같이 명령어를 써주면 된다. \\ | ||
+ | 보통은 서버셋팅 업체에 요청한다. | ||
+ | <code bash> | ||
+ | # root 계정으로 작업 | ||
+ | shell$> localedef -i ko_KR -f EUC-KR ko_KR.euckr | ||
+ | shell$> localedef -i ko_KR -f UTF-8 ko_KR.utf8 | ||
+ | </ | ||
+ | |||
+ | ===== gcc 및 검색엔진 컴파일에 필요한 라이브러리 (rpm 설치) ===== | ||
+ | 아래의 순서대로 무조건 따라하기! \\ | ||
+ | 순서가 중요한 이유는 의존성 때문이다.\\ | ||
+ | CentOS 7.9.2002 기준 라이브러리\\ | ||
+ | [[http:// | ||
+ | |||
+ | <code bash> | ||
+ | # ssh | ||
+ | # --nodeps 의존성 무시 옵션 | ||
+ | shell$> rpm -ivh --nodeps fipscheck-lib-1.4.1-6.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh fipscheck-1.4.1-6.el7.x86_64.rpm | ||
+ | shell$> rpm -ivf tcp_wrappers-libs-7.6-77.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh libedit-3.0-12.20121213cvs.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh openssh-7.4p1-21.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh openssh-server-7.4p1-21.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh openssh-clients-7.4p1-21.el7.x86_64.rpm | ||
+ | |||
+ | |||
+ | #gcc | ||
+ | shell$> rpm -ivh mpfr-3.1.1-4.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh libmpc-1.0.1-3.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh cpp-4.8.5-44.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh libgomp-4.8.5-44.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh kernel-headers-3.10.0-1160.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh glibc-headers-2.17-317.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh glibc-devel-2.17-317.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh gcc-4.8.5-44.el7.x86_64.rpm | ||
+ | |||
+ | #c++ | ||
+ | shell$> rpm -ivh libstdc++-devel-4.8.5-44.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh libstdc++-4.8.5-44.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh gcc-c++-4.8.5-44.el7.x86_64.rpm | ||
+ | |||
+ | # 컴파일 필요 라이브러리 | ||
+ | shell$> rpm -ivh m4-1.4.16-10.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh bison-3.0.4-2.el7.x86_64.rpm | ||
+ | shell$> rpm -ivh flex-2.5.37-6.el7.x86_64.rpm | ||
+ | |||
+ | # make | ||
+ | shell$> rpm -ivh make-3.82-24.el7.x86_64.rpm | ||
+ | |||
+ | # | ||
+ | shell$> rpm -ivh telnet-0.17-65.el7_8.x86_64.rpm | ||
+ | </ | ||
===== 주요 명령어 ===== | ===== 주요 명령어 ===== | ||
줄 188: | 줄 242: | ||
===== Logratate ===== | ===== Logratate ===== | ||
- | [[https:// | + | <del>[[https:// |
/ | / | ||
줄 268: | 줄 322: | ||
* [[wiki: | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
+ | * [[wiki: | ||
* [[https:// | * [[https:// |