OpenPNEサーバ構築手順
CentOS4でっす〜
★httpd, mysql, postfix rpm -qa | grep -i httpd rpm -qa | grep -i mysql rpm -qa | grep -i php rpm -qa | grep -i sendmail rpm -qa | grep -i postfix yum remove perl-DBD-MySQL mysql mysql-devel mysql-server sendmail sendmail-cf yum install httpd yum install httpd-devel yum install perl-DBD-MySQL yum install mysql yum install mysql-devel yum install mysql-shared yum install mysql-server yum install libjpeg yum install libjpeg-devel yum install libpng yum install libpng-devel yum install libpng10 yum install libpng10-devel yum install libungif yum install libungif-devel yum install libungif-progs yum install gd yum install gd-devel yum install gd-progs yum install flex yum install net-snmp yum install ntp yum install postfix ★libmcrypt wget http://jaist.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.7.tar.gz cd libmcrypt-2.5.7 ./configure --disable-posix-threads make make install ★php wget http://jp.php.net/get/php-5.1.2.tar.gz/from/this/mirror ./configure --enable-mbstring \ --enable-mbregex \ --enable-zend-multibyte \ --with-apxs2=/usr/sbin/apxs \ --with-gd \ --with-jpeg-dir=/usr \ --with-zlib \ --with-png-dir=/usr \ --with-mcrypt \ --enable-exif \ --with-mysql=/usr make make install ★httpd.conf設定 vi /etc/httpd/conf/httpd.conf ServerTokens Prod : ServerSignature Off : ExtendedStatus On : LoadModule php5_module /usr/lib/httpd/modules/libphp5.so AddType application/x-httpd-php .php : DirectoryIndex index.html index.html.var index.php : chkconfig --level 345 httpd on /etc/init.d/httpd start
どうかな?
Postfixは後日でっす〜
rpm -i MySQL-client-4.1.18-0.i386.rpm rpm -i MySQL-devel-4.1.18-0.i386.rpm rpm -i MySQL-server-4.1.18-0.i386.rpm rpm -i MySQL-shared-4.1.18-0.i386.rpm