본문 바로가기

CentOS

(5)
CentOS yum 업데이트 서버 변경하기 kldp 에 yum 업데이트 서버 변경 질문이 있길래 간단히 정리해 봤습니다. ^^ yum 업데이트 서버를 변경하기 위해서는 /etc/yum.repos.d 폴더 아래 repo 파일을 수정하면 됩니다. [root@centos ~]# ls /etc/yum.repos.d/ CentOS-Base.repo CentOS-Media.repo mirrorlist 에 지정된 여러 서버 중 한 곳에서 업데이트되는데 baseurl 를 지정하면 그 서버로부터 업데이트가 가능합니다. 아래처럼 mirrorlist 를 주석처리하고 baseurl 에 원하는 서버(Sayclub, Kaist, Daum ... )를 지정하면 됩니다. #mirrorlist=http://mirrorlist.centos.org/?release=$release..
VMware Linux Guest 에서 시간이 느려지는 문제 Guest OS 로 사용중인 CentOS 5.0 에서 1분마다 30초 정도씩 시간이 엄청 느려지는 문제가 있어 해결법을 찾아봤습니다. VMware Tools 을 설치 안 해서 그런가 생각했지만 Kubutu Feisty 에서는 VMware Tools 설치 전에도 괜찮았고... 구글에서 "centos vmware slow timer" 키워드로 검색해 보니 예전부터 있었던 문제였네요. VMware Workstation 5.5.3, CentOS 4.4 에서는 괜찮았던 것 같은데 왜 지금껏 몰랐던 건지? ^^ 2009.12.12 Timekeeping best practices for Windows 2009.02.19 New Timekeeping Articles 2009.01.28 배포판에 따라 추천하는 Kerne..
CentOS 에 공개 웹방화벽 ModSecurity 설치하기 CentOS 5.0 에 Apache 용 무료 웹방화벽인 ModSecurity 를 설치해 봤습니다. 참고 : KrCERT 공개 웹방화벽을 이용한 홈페이지 보안 1. ModSecurity 모듈과 공격 차단룰 (Core Rule) 다운로드 http://www.modsecurity.org/download/index.html wget http://www.modsecurity.org/download/modsecurity-apache_2.1.1.tar.gz wget http://www.modsecurity.org/download/modsecurity-core-rules_2.1-1.4.tar.gz 2. ModSecurity 설치 ModSecurity.org 설치 가이드 ModSecurity 2.x works with ..
CentOS 5 Released CentOS 5.0 이 나왔습니다. ( Red Hat Enterprise Linux 5 의 무료 버전이라고 할 수 있죠...) Release Announcement, Release Notes, Screenshots 관련글 : An overview of Red Hat Enterprise Linux 5 , Red Hat Enterprise Linux 5 Hits the Street 다운로드(국내 미러) : Secuide , Sayclub (Sayclub 은 아직 미러링이 안 되어 있습니다.) 2007.07.06 최근 추가된 Daum 미러를 이용하시면 좀 더 빠르게 받을 수 있습니다. ^^ 시디가 6장이나 됩니다. 전 1번장만 받아 최소 옵션으로 설치하고 필요한 건 yum 을 이용했습니다. ^^
CentOS 메일 서버 (SMTP, POP3) 설정 CentOS 4.4 Server 에서 sendmail, dovecot 을 이용해서 메일 서버 설정을 해봤습니다. 물론 DNS 에 메일서버(MX) 설정은 되어 있어야겠죠? ^^ 1. Sendmail, Dovecot 설치 yum install sendmail sendmail-cf dovecot 2. Sendmail 설정 /etc/mail/sendmail.mc 수정 로컬 이외 relay 허용 - 아래 부분 주석 처리 (앞에 dnl 추가) DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl =>dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl stmp 인증 - 아래 부분 주석 제거 (앞의 dnl 삭제) dn..