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

본문 바로가기
 

The Perfect Server - CentOS 5.2 - Page 7

페이지 정보

작성자 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 10,182회 작성일 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 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10796 06-13
32 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10710 11-19
31 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10691 05-13
30 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10688 04-28
29 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10629 06-29
28 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10620 01-23
27 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10574 07-08
26 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10568 05-08
25 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10568 09-20
24 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10543 03-27
23 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10517 09-20
22 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10406 12-10
21 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10322 04-14
20 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10280 05-09
19 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10264 04-14
18 no_profile 차동박 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10229 04-18
열람중 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10183 06-05
16 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10167 06-30
게시물 검색