加拿大华人论坛 美国华人新闻Apache and php installation
在加拿大
Assume the base folder is /srv/Apache InstallationMore apache configurationhttp://httpd.apache.org/docs/2.2/programs/configure.html#configurationoptions 代码: ./configure --prefix=/srv/httpd --enable-so --enable-mods-shared=all --enable-modules=all --with-mpm=prefork --enable-ssl --enable-deflate --enable-expires --enable-rewrite Last build configure information can be found in build directory. config.nice 代码: makemake install GD InstallationDownload GD libraryhttp://www.libgd.org 代码: ./configure --prefix=/srv/gdmakemake install MySQL Installation 代码: shell> groupadd mysqlshell> useradd -g mysql mysqlshell> cd /usr/localshell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -shell> ln -s full-path-to-mysql-VERSION-OS mysqlshell> cd mysqlshell> chown -R mysql .shell> chgrp -R mysql .shell> scripts/mysql_install_db --user=mysqlshell> chown -R root .shell> chown -R mysql datashell> bin/mysqld_safe --user=mysql & PHP installation 代码: ./configure --prefix=/srv/php --with-apxs2=/srv/httpd/bin/apxs --with-mysql=/srv/mysql --with-gd=/srv/gd --with-jpeg-dir=/usr/lib --with-ttf --with-zlib --with-png-dir=/usr/lib --with-freetype-dir=/srv/gd/freetype --enable-mbstring --enable-zip --with-zlib --with-zlib-dir=/usr/local/lib --with-gettext --enable-ftp --with-zlib --enable-pdo=shared --with-pdo-sqlite=shared --with-sqlite=sharedmakemake install More on:http://www.php.net/manual/en/install.unix.phpApache 2.2 has mod_ssl as build in moduleNeed to check http://httpd.apache.org/docs/2.2/new_features_2_2.htmllot of modules, like mod_access, their name has been changedMySQL Post Installation Tasks 代码: shell> mysql -u rootmysql> DROP USER '';mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');mysql> SET PASSWORD FOR 'root'@'host_name' = PASSWORD('newpwd');
·中文新闻 悉尼学生因佩戴巴勒斯坦围巾被禁止参加12年级正式课程
·中文新闻 二十年来,联邦政府一直向澳大利亚非法商人收取费用