|
|
# 부팅시 자동 실행 확인 및 설정
+++ 확인
# chkconfig --list 또는 |grep httpd --> 옵션 붙인다
+++ 설정
# chkconfig --level 2345 httpd on
+++ 실행 및 확인
# apachectl restart
# netstat -nlpt -------> 간단하게 -nlp -----> UNIX domain socket 보여줌
# ls -al rndc.key ---> 파일 위치 확인
# named-checkconf
+++++ FQDN 설정 방법 ++++++
/etc/hosts
/etc/sysconfig/network/hosts
파일에서
ns.linuking.com ns
www.linuking.com www
mail.linuking.com mail
과 같이 수정한 후
service network restart 적용 그런데 확실한 방법은 아래 명령으로 해결한다.
#sysctl -w kernel.hostname=www.domain.com
+++++++++++++++++++++++++++++++++++++++
Yum Repository
- If you use CentOS, please enable all default yum repositories under /etc/yum.repos.d/ (which has ".repo" suffix). It is enabled if they contains "enabled=1".
- If you use RHEL, you have to create a local yum repository with CD/DVD disks or ISO images. Please refer to this document:
- It's recommended that use local yum repository for iRedMail installation, so that you can avoid network relate issue/errors, such as low bandwidth, network interrupt, etc.
- t's recommended run 'yum clean all' to clear all yum metadata, and then fetch the newest yum metadata:
# yum clean all
# yum list