|
Size: 2468
Comment: converted to 1.6 markup
|
← Revision 3 as of 2019-09-28 03:09:21 ⇥
Size: 0
Comment: english version deleted
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| #language zh ||<tablewidth="100%" tablestyle=""style="border: 0px hidden ;">~-Translation(s): [[Bugzilla|English]] - [[zh_CN/Bugzilla|简体中文]] -~ ||<style="border: 0px hidden ; text-align: right;"> (!) [[/Discussion]] || ---- Describe in one or two lines what your page is about. ## If your page gets really long, uncomment this Table of Contents ## [[TableOfContents(2)]] 在安装bugzilla之前,要安装一个能够使用CGI的网络服务器,还有mysql-client包。如果你还并未使用远程mysql-server,还得安装mysql-server包。 = 安装网络服务器 = 假定你的bugzilla使用的是thttpd网络服务器。 . apt-get install thttpd = 安装mysql服务器daemon = . apt-get install mysql-server = 安装mysql客户端 = . apt-get install mysql-client = 配置mysql根用户密码 = 有必要为mysql根用户配置一个密码。默认的空白密码不可使用。第一次为mysql建立根用户密码,在shell提示行使用如下mysqladmin命令: . mysqladmin -u root password NEWPASSWORD = 安装bugzilla包 = 安装bugzilla包。 . apt-get install bugzilla == 用dbconfig-common配置bugzilla数据库 == 在Bugzilla包能使用前还必须得安装配置一个数据库。如果这是首次安装,数据库还未被安装和配置,此选项可以配置一个普通的数据库。 Configure database for bugzilla with dbconfig-common? y What is the password for the administrative account with which this package should create its mysql database and user? Password of your database's administrative user: = 安装过程中的错误 = == ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) == 当mysql根用户密码未设时或dbconfig-common密码提示时输入的密码与mysql根用户密码不适配时会出现此错误。 === 解决方法 === 配置[[mysql]]根用户的密码 == mysql said: ERROR 1049 (42000): Unknown database 'bugzilla' == 这是bugzilla配置脚本的一个漏洞,如果bugzilla不存在会引起“未知数据库”错误。 === 解决方法 === 要解决此问题,需创建一个空的bugzilla数据库: 首先登陆到[[mysql]] : . mysql -u root -p 创建bugzilla数据库: create database bugzilla;quit; ---- ## You can add other _helpful_ links here. ##See also: ## If this page belongs to an existing Category, add it below. ## CategorySomething | CategoryAnother |
