CentOS4.4(32位)完美安装过程

http://tech.ddvip.com   2007年02月27日    社区交流

本文详细介绍CentOS4.4(32位)完美安装过程

  Type

  quit

  to return to the system's shell.

10.1 Maildir

  dovecot uses Maildir format (not mbox), so if you install ISPConfig on the server, please make sure you enable Maildir under Management -> Server -> Settings -> Email. ISPConfig will then do the necessary configuration.

  If you do not want to install ISPConfig, then you must configure Postfix to deliver emails to a user's Maildir:

  postconf -e 'home_mailbox = Maildir/'

  postconf -e 'mailbox_command ='

  /etc/init.d/postfix restart

11 Apache2 With PHP

  Now we install Apache with PHP (this is PHP 4.3.9; CentOS does not provide PHP5 packages):

  yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel

  Then edit /etc/httpd/conf/httpd.conf:

  vi /etc/httpd/conf/httpd.conf

  and change DirectoryIndex to

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl

  Now configure your system to start Apache at boot time:

  chkconfig --levels 235 httpd on

  Start Apache:

  /etc/init.d/httpd start

11.1 Disable PHP Globally

  (If you do not plan to install ISPConfig on this server, please skip this section!)

  In ISPConfig you will configure PHP on a per-website basis, i.e. you can specify which website can run PHP scripts and which one cannot. This can only work if PHP is disabled globally because otherwise all websites would be able to run PHP scripts, no matter what you specify in ISPConfig.

作者:till on Wed    责编:豆豆技术应用

正在加载评论...