1. configure (my name is 0.12) tar-zxvf the installation package you downloaded. the installation directory of cdtrac is pythonsetup. pyinstall4. create the project trac-...
1, http://trac.edgewall.org/
2. install apache, python, mod_wsgi, mysql www.2cto.com 3, and install trac (my version is 0.12) tar-zxvf the installation package cd trac installation directory python setup. py install 4, location where the trac-admin project is created (my project name is/var/www/html/first initenv, and the database connection string are entered to generate the htdocs and cgi/wsgi required for the project's web site and other scripts. Trac-admin/var/www/html/first deploy/var/www/html/tmp/first copy to the project directory cp-r/var/www/html/tmp/first/ /var/www/html/first/www.2cto.com
5. Configure apache to configure $ htpasswd-c/somewhere/trac. htpasswd admin New password: Re-type new password: Adding password for user admin to open httpd. the conf file must be changed to DocumentRoot. process the path of your web Directory (my files are/var/www/html) and wsgi script: WSGIScriptAlias/var/www/html/first/cgi-bin/trac. wsgi WSGIApplicationGroup % {GLOBAL} Order deny, allow Allow from all Add user verification AuthType Basic AuthName "Trac" AuthUserFile/var/www/html/trac. htpasswd Require valid-user Www.2cto.com restart apache apachectl restart to open the browser: http: // 195.12.11.11/first. when the egg-cache directory cannot be created, the following prompt is displayed: I directly created this directory under/var/www/html/first. after granting it the maximum permission to download the directory, I can log on to it.
6. grant admin management permissions to trac-admin/var/www/html/first permission add admin TRAC_ADMIN
Prepared by ximenyiren
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