httpd-2.4.7+mysql-5.6.15+php-5.5.8+subversion-1.8.5

httpd-2.4.7

./configure --prefix=/usr/local/apache2 --enable-so --enable-dav --enable-dav-fs --enable-modules=all --with-apr=/usr/local --with-apr-util=/usr/local --with-z=/usr/local --libdir=/usr/local --libexecdir=/usr/local --with-included-apr --enable-module=so --enable-ssl --with-ssl=/usr/local/ssl


mysql-5.6.15

groupadd mysql

useradd -r -g mysql mysql

./mysql_install_db --basedir=/usr/local/mysql --user=mysql

cp support-files/mysql.server /etc/init.d/mysqld

mysql -uroot

grant all privileges on *.* to root@'%' identified by "root";

update set mysql.user password="root" where User="root";

flush privileges;


php-5.5.8

./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/etc --with-png-dir=/usr --with-openssl=/usr/local/ssl --with-openssl-dir=/usr/local/ssl --with-imap-ssl=/usr/local/ssl --with-zlib=/usr --with-zlib-dir=/usr

vi /usr/local/apache2/conf/httpd.conf 修改

AddType application/x-httpd-php .php

DirectoryIndex index.php

LoadModule php5_module        modules/libphp5.so

cp php.ini /usr/local/php/lib/php


subversion-1.8.5

./configure --prefix=/usr/local --with-apr=/usr/local --with-apr-util=/usr/local --with-apxs=/usr/local/apache2/bin/apxs --enable-sqlite-compatibility-version=3.8.3 --with-zlib=/usr/local --with-neon=/usr/share/locale --with-ssl=/usr


vi /usr/local/apache2/conf/httpd.conf

LoadModule authn_core_module modules/mod_authn_core.so

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_user_module modules/mod_authz_user.so

LoadModule dav_fs_module modules/mod_dav_fs.so

<Location /svn>

       DAV svn

       SVNpath /svn/

#       SVNParentPath /svn/

#       SVNListParePath on

       AuthType Basic

       AuthName "Write down the name and passwd"

       AuthuserFile /svn/passwd

       AuthzSVNAccessFile /svn/conf/authz

       Require valid-user

</Location>





你可能感兴趣的:(httpd-2.4.7+mysql-5.6.15+php-5.5.8+subversion-1.8.5)