How to install a good bug management platform

Source: Internet
Author: User
Tags vc9 windows download blank page

Objective

As far as bug management is concerned, the domestic Zen channel is doing well and has been updated continuously. We take a look at how to install Zen Road from beginning to end, you should pay attention to is not the article deep or shallow, but the article how to encounter problems, from what ways and how to solve the problem. Now found that many just out of the program ape Ah, the lack of is to solve the problem of ideas!

First of all, login to the official website of Zen Road, find: http://www.zentao.net/dynamic/79905.html. I download here is "Zen Road project management software source code"

Observed the next source, is PHP development, of course, configuration apache+php better. Used to have some bug software, such as bugtracker.net, deployed under IIS, very unstable, IIS is always hanging off, and the number of restrictions, so if the IIS and other environments under Windows are not very understanding, or the most convenient to make lamp, and stable.

Download Apache

Next is to download Apache, login Apache official website, find "download!" on the left. Link to download the 2.4 stable version. Click the download button, jump to the following link because it is Windows Server2008, so decisive choice of binary version (binarries) to enter the download link, saw a pile of chicken intestines, decisively aimed at the Win32 link came in after a long day, or no actual address, Carefully read the chicken intestines, found that Apache website does not provide compiled binary version of the download, can only be downloaded from other sites ... Really fucking tangled, not offered, what do you say mirror? Choose a random to download.

Directly click the Download button, pop-up chrome download, because it is foreign resources, so download speed is slow, decisive switch for thunder download, because there are other corresponding resources to provide, thunder download reached 2m/s, this time thunderbolt really played its role.

Installing Apache

Unzip the package to get the following file: How to install as a service? I need a little command-line knowledge at this point.

httpd.exe /? 查看帮助命令httpd.exe -k install -n "servicename" 安装服务httpd.exe -k uninstall -n "Apache24 卸载

Of course, so simple a step that it is hard not to pour our program ape we can open the Service Manager to see our results:

Configure Apache

We tried to start the Apache service, and found out that it was not going to start the event, to open the incident manager and see what was the fastest problem, but, with experience, I think it should be a port occupancy problem, because my computer opened IIS and occupied 80 ports. Let's see what it looks like, you know, the old Apache is not the default 8080, how do you now want to compete with Web servers such as IIS?

Open again, or not, you can only view the event log. The original is not changed ServerRoot, the ServerRoot point to the current Apache physical address, note that the use of backslashes.

Define SRVROOT "D:/software/httpd-2.4.16-x64/Apache24"ServerRoot "D:/software/httpd-2.4.16-x64/Apache24"

And you need to DocumentRoot change it.

DocumentRoot "D:/software/httpd-2.4.16-x64/Apache24/htdocs"<Directory "D:/software/httpd-2.4.16-x64/Apache24/htdocs">

At this time to start again, and found that the problem shows that the 443 port is occupied, unable to start, then we see which program is occupied, the command line execution command: netstat -ano Originally our svnserver also used 443 port (HTTPS). We look at the configuration (httpd.conf), query SSL, and locate the following configuration:

<IfModule ssl_module>#Include conf/extra/httpd-ssl.confInclude conf/extra/httpd-ahssl.confSSLRandomSeed startup builtinSSLRandomSeed connect builtin</IfModule>

Changes are required in configuration files conf/extra/httpd-ssl.conf and conf/extra/httpd-ahssl.conf

Based on the above configuration, we found the SSL configuration file (httpd-ssl.conf), we changed the port to 9443:

## When we also provide SSL we have to listen to the # standard HTTP port (see above) and to the HTTPS port## Note: Configurations that use IPv6 but not IPv4-mapped addresses need two# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"#Listen 9443

Start again, or there is a problem, we found a file under extra: httpd-ahssl.conf , the Boot Monitoring Section modified:

Listen 9443 https

ApacheMonitor.exe:

This is a successful start, see Green is the spirit of cool Ah! To open the default Web page, you can see an introduction to Apache:

Set the default page for Apache

Because we need to access the default home page of index.php, we need to add the corresponding configuration (httpd.conf) to the configuration file:

<IfModule dir_module>    DirectoryIndex index.php index.html</IfModule>
Download PHP

First to the official website of the download page to see, click on the Windows Download these two versions of what difference, I am not very clear, or a thread-safe, it sounds safe, after all, the thread is not safe, are to be their own deployment or even to write program control. or decisive turn thunder download, Seconds!

Unzip to any folder after downloading.

Configuring Apache Support for PHP

Open httpd.conf and add the following at the end of the file:

"D:/software/php-5.6.12-Win32-VC11-x64/php5apache2_4.dll"AddType application/x-httpd-php .phpPHPIniDir "D:/software/php-5.6.12-Win32-VC11-x64/"

Restart Apache, find that boot is not, continue to view the problem:

Php5apache2_4.dll This file to exist, if there is still an error, check the VC library version is correct

Httpd:syntax error on line 533 of f:/web/apache/apache24/conf/httpd.conf:cannot load d:/software/php-5.6.12< C1>-win32-vc11-x64/php5apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\ Xe9\xa1\xa3
Older VC6 versions of PHP compiled with the legacy Visual Studio 6 need
2012 and
SP1 x86 or x64 installed.

Viewing the system's Visual Studio distribute version is 2008, corresponding to VC9, but I'm using the Visual Studio 2012 compiled PHP version (VC11), which is dynamically connected to the DLLs in Apache, and there may be a problem. Re-downloaded the VC9 version of Php,apache HTTPD server started successfully
http://my.oschina.net/idearye/blog/192265

Careful review of the configuration, found that there is no mistake, on the internet, said to download a vc11 library, and then a look at the php file, sure enough, the filename is the word with VC11. Find official Website: Visual C + + redistributable for visual Studio Update 4, select Chinese download: Download it after installation: Start Apache again, this time is successful.

Test if PHP is installed successfully

A new info.php file is added to the Httpdoc directory under Apache, as follows: <?php phpinfo(); ?> . Access in the browser, travel the following interface, that is, installation success!

Configure PHP support for MySQL

Make php.ini-production a copy of it and rename it to php.ini remove the following comment in php.ini:

extension=php_mysql.dllextension=php_mysqli.dll
Installation of Zen Road

Unzip the downloaded Zen path to the specified directory, and then we add a virtual directory to the APAHCE, which is configured according to the method on the Web:

##zentaoAlias /test "D:/zentaopms/www"<Directory "D:/zentaopms/www">Options Indexes MultiViewsAllowOverride Noneorder allow,denyAllow from all</Directory>

Found no, the original apache2.4 after the syntax has a little change:

The Order Deny,allow and order Allow,deny are removed and the deny from all is replaced with Require all denied the allow from all is replaced by Require all granted It also replaces the Allow from 192.168.10.21 statement to Require host 192.168.10.21

Httpd.conf eventually replaced by:

<ifmodule alias_module># #zentaoAlias/test"D:/zentaopms/www"<directory"D:/zentaopms/www">options Indexes multiviewsrequire all Deniedrequire all granted</directory> # # Redirect:allows T o Tell clients about documents, used to # exist in your server ' s namespace,But does not anymore.    The client # would make a new request for the document at its new location. # Example: # Redirect Permanent/foo Http://www.example.com/bar # # Alias:maps Web paths into filesystem paths a    nd is used to # access content this does not live under the documentroot. # Example: # alias/webpath/full/filesystem/path # # IF you include a trailing/on/webpath and then the server wil  L # require it to is present in the URL.    You'll also likely # need to provide a <Directory> sections to allow access to # the filesystem path.     # # Scriptalias:this controls which directories contain server scripts. # scriptaliases is essentially the same as Aliases,except that # documents in the target directory is treated as applications and # run by the server when Reques  Ted rather than as documents sent to the # client. The same rules about trailing"/"apply to Scriptalias # directives as to Alias. # scriptalias/cgi-bin/"${srvroot}/cgi-bin/"</IfModule>

Http://www.cnblogs.com/yaksea/archive/2011/08/26/2155205.html

Installation via install.php

Open in Browser: http://localhost:8080/test/install.php, click Install, detect environment, find a little configuration is not configured well:

set the session store directory to modify PHP.ini, set the session storage path: Session.save_path = "d:/php_session", and then manually create this folder under the D drive, and give writable permissions.

Open Pdo_mysql Extension
To find in the php.ini ; extension=php_pdo_mysql.dll ; remove.

Because the corresponding extension is in the Ext extension directory, so to indicate the extension directory in php.ini, find the following statement to remove the comment and set the physical address of the extension:extension_dir = "D:/software/php-5.6.12-Win32-VC11-x64/ext"

Continue installation, provide MySQL address, user name, password. We can also modify this generated configuration file later:

Handling of blank interface after installation

After the completion of the jump to the index.php page, but also a blank page, wait, the official website of the document does not say that now will travel a configuration interface? What happened to the interface?

Do not be nervous at this time, this error occurs because of an error, and Zen DAO masks the error, so we see a blank interface. We open config\my.php and modify the Debug field to true:$config->debug = true

Reopen we found the following passage:

21:10 ERROR: The domain name localhost:8080 you are visiting does not have a corresponding company. In module\common\model.php on line, last called by module\common\control.php on line through function Setcompany. In framework\router.class.php on line 1568 when visiting

Online said is no settings session.save_path , I confirm the settings, then delete my.php and then reinstall so that finally the "Setup account" interface came out.

about how to modify the login logo for Zen trails and how to install MySQL

Http://www.cnblogs.com/marvin/p/testmgr.html

How to install a good bug management platform (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.