The Perfect Server - CentOS 5.2 - Page 7 > 서버관리 Tip

본문 바로가기
 

The Perfect Server - CentOS 5.2 - Page 7

페이지 정보

작성자 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 8,861회 작성일 09-06-05 13:52

본문

The Perfect Server - CentOS 5.2 - Page 7

14 Webalizer

To install webalizer, just run

yum install webalizer

 

15 Synchronize The System Clock

If you want to have the system clock synchronized with an NTP server do the following:

yum install ntp

chkconfig --levels 235 ntpd on
ntpdate 0.pool.ntp.org
/etc/init.d/ntpd start

 

16 Install Some Perl Modules

ISPConfig comes with SpamAssassin which needs a few Perl modules to work. We install the required Perl modules with a single command:

yum install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1

 

17 The End

The configuration of the server is now finished, and if you wish you can now install ISPConfig on it.
 

17.1 A Note On SuExec

If you want to run CGI scripts under suExec, you should specify /var/www as the home directory for websites created by ISPConfig as CentOS' suExec is compiled with /var/www as Doc_Root. Run

/usr/sbin/suexec -V

and the output should look like this:

[root@server1 ~]# /usr/sbin/suexec -V
 -D AP_DOC_ROOT="/var/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="apache"
 -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=500
 -D AP_USERDIR_SUFFIX="public_html"
[root@server1 ~]#

So if you want to use suExec with ISPconfig, don't change the default web root (which is /var/www) if you use expert mode during the ISPConfig installation (in standard mode you can't change the web root anyway so you'll be able to use suExec in any case).
 

18 Links

  • CentOS: http://www.centos.org
  • ISPConfig: http://www.ispconfig.org

댓글목록

등록된 댓글이 없습니다.

Total 159건 8 페이지
서버관리 Tip 목록
번호 제목 글쓴이 조회 날짜
33 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9474 06-27
32 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9464 06-13
31 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9455 05-13
30 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9454 04-28
29 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9376 06-29
28 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9326 07-08
27 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9243 01-23
26 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9230 05-08
25 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9202 12-10
24 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9140 03-27
23 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9102 04-14
22 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9096 09-20
21 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9054 04-14
20 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8907 04-18
19 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8873 09-20
열람중 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8862 06-05
17 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8821 10-14
16 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8769 05-09
게시물 검색