testlink安装汉化完整版

testlink安装汉化完整版
tar -zxvf mysql-5.1.55.tar.gz
groupadd mysql
useradd -g mysql mysql
mkdir /opt/mysql
cd /opt/mysql-5.1.55
chown -R mysql:mysql /opt/mysql
CC=gcc CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/opt/mysql --enable-thread-safe-client --enable-assembler --with-big-tables --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-charset=utf8 --with-collation=utf8_general_ci --with-extra-charsets=complex --with-plugins=innobase
make
make install
cp /opt/mysql-5.1.55/support-files/my-medium.cnf /opt/mysql/my.cnf
chown -R mysql:mysql /opt/mysql
/opt/mysql/bin/mysql_install_db --defaults-file=/opt/mysql/my.cnf --user=mysql
tar -zxvf apr-1.4.5.tar.gz
cd apr-1.4.5
./configure --prefix=/usr/local/apr-httpd/
make
make install
tar -zxvf apr-util-1.3.12.tar.gz
cd apr-util-1.3.12
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
tar -jxvf httpd-2.2.21.tar.bz2
cd httpd-2.2.21
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
make
make install
tar zxvf testlink_1.8.5b.tgz
cp -R /opt/testlink/ /usr/local/apache2/htdocs/
tar -zxvf php-5.2.17.tar.gz
cd php-5.2.17
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/lib --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/opt/mysql
make test
make install
/opt/mysql/bin/mysqld_safe --defaults-file=/opt/mysql/my.cnf &
/usr/local/apache2/bin/apachectl start
cp /opt/php-5.2.17/php.ini-recommended /etc/php.ini


修改apache的httpd.conf文件
<FilesMatch .php$>
SetHandler application/x-httpd-php
</FilesMatch>

配置php.ini文件

以下内容需要去掉;
extension=php_mysql.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_gd2.dll
extension=php_imap.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll


修改报错模式---config.inc.php
There are security warnings for your consideration.
See details on file: /usr/local/apache2/htdocs/testlink/logs/config_check.txt.
To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = 'SILENT';

testlink汉化---config.inc.php
$tlCfg->default_language = 'zh_CN';


你可能感兴趣的:(testlink安装汉化完整版)