国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
win2000下安裝配置bugzilla心得
文章出處:51testing博客  作者:娟子
決定將上星期安裝BUGZILLA的經(jīng)驗告訴大家,希望能對那些正在為裝BUGZILLA的朋友們有所幫助
網(wǎng)上有很多關(guān)于bugzilla 在windows環(huán)境下安裝的資料,但是也有部分不適合自已,走到某一步總會出現(xiàn)一些錯誤提示,我整整花了一周的時間才配置好,現(xiàn)將我的安裝步驟寫下來,希望對大家有些啟發(fā)。
我的配置清單如下:Mysql 5.0 + ActivePerl 5.8.8 + IIS + Bugzilla-2.20.2
具體安裝步驟如下:
一、裝mysql 5.0,安裝的時候很簡單,默認方式下安裝,一直按下一步就行了記住安裝路徑和設(shè)置的password,如果有問題可以到MySQL官方網(wǎng)站(http://dev.mysql.com/doc/)上查看在線手冊。
接下來要配置MySQL。有些文章里寫道需要手工修改root用戶的密碼,其實這一步在MySQL安裝程序里就已經(jīng)完成了,因此不用再去設(shè)置。我們要新建一個Bug數(shù)據(jù)庫和一個Bugzilla訪問這個數(shù)據(jù)庫的用戶。操作如下:
C:\mysql\bin>mysql --user=root -p mysql
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 4.0.20a-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database ;
Query OK, 1 row affected (0.11 sec)
mysql> grant all privileges on .* to ''@'' identified by '';
Query OK, 0 rows affected (0.03 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
C:\mysql\bin>
退出,再次進入修改剛建的數(shù)據(jù)庫密碼:
C:\mysql\bin>mysql --user=root -p mysql
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 4.1.11-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> set password for ''@'' = OLD_PASSWORD ('');
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
C:\mysql\bin>
OK!到此MYSQL已經(jīng)安裝配置完畢。這此為止才安裝了四分之一。
一、 裝ActivePerl
1、 安裝Perl也很容易,按照安裝程序提示一步一步裝就可以了。稍微復(fù)雜一點的是安裝它的模塊。不過有了Bugzilla漢化項目提供的批處理程序,這個步驟也非常簡單了。只要雙擊Setup.bat文件就OK了
2、 如果沒有批處理程序并且安裝的機器不能上網(wǎng),那只能自已手工安裝了,首先到網(wǎng)站 http://landfill.bugzilla.org/ppm/ 下載Modules到本機,然后在DOS環(huán)境下運行以下命令:
c:\ppm ,會出現(xiàn)一個perl pack manager,在這里設(shè)置存入modules的路徑。
設(shè)置完以后再輸入:c:\ppm install <包名> 另:在輸入install命令之前需要到記著,別偷懶,一個一個裝 完。
3、 如果將要安裝bugzilla的機器能上網(wǎng),不用下載那些Modules按以下操作將會更省事(藍色字體需要手工輸入的),這種方法我沒試,但應(yīng)該能成功。
C:\>ppm
PPM - Programmer's Package Manager version 3.1
.Copyright (c) 2001 ActiveState Corp.
All Rights Reserved.ActiveState is a devision of Sophos.
Entering interactive shell.
Using Term::ReadLine::Stub as readline library.
Type 'help' to get started.
ppm> rep add Bugzilla http://landfill.bugzilla.org/ppmRepositories:[1] ActiveState PPM2 Repository[2] ActiveState Package Repository[3] Bugzillappm> install AppConfig
====================
Install 'AppConfig' version 1.52 in ActivePerl 5.8.7.813.
====================
Downloaded 50508 bytes....Successfully installed AppConfig version 1.52 in ActivePerl 5.8.7.813.ppm> install TimeDate
====================
Install 'TimeDate' version 1.16 in ActivePerl 5.8.7.813.
====================
Downloaded 19235 bytes....Successfully installed TimeDate version 1.16 in ActivePerl 5.8.7.813.ppm> install DBI
====================
Install 'DBI' version 1.43 in ActivePerl 5.8.7.813.
====================
Downloaded 508164 bytes....Successfully installed DBI version 1.43 in ActivePerl 5.8.7.813.ppm> install DBD-mysql
====================
Install 'DBD-mysql' version 2.9002 in ActivePerl 5.8.7.813.
====================
Downloaded 178803 bytes....Successfully installed DBD-mysql version 2.9002 in ActivePerl 5.8.7.813.ppm> install Template-Toolkit
====================
Install 'Template-Toolkit' version 2.13 in ActivePerl 5.8.7.813 .
====================
Downloaded 530770 bytes....Successfully installed Template-Toolkit version 2.13 in ActivePerl 5.8.7.813.ppm> install MailTools
====================
Install 'MailTools' version 1.67 in ActivePerl 5.8.7.813.
====================
Downloaded 46881 bytes....Successfully installed MailTools version 1.67 in ActivePerl 5.8.7.813.ppm> install GD
====================
Install 'GD' version 2.07 in ActivePerl 5.8.7.813.
====================
Downloaded 363039 bytes....Successfully installed GD version 2.07 in ActivePerl 5.8.7.813.ppm> install Chart
====================
Install 'Chart' version 2.3 in ActivePerl 5.8.7.813.
====================
Downloaded 58641 bytes....Successfully installed Chart version 2.3 in ActivePerl 5.8.7.813.ppm> install GDGraph
====================
Install 'GDTextUtil' version 0.86 in ActivePerl 5.8.7.813.
====================
Downloaded 19178 bytes....Successfully installed GDTextUtil version 0.86 in ActivePerl 5.8.7.813.
====================
Install 'GDGraph' version 1.43 in ActivePerl 5.8.7.813.
====================
Downloaded 71764 bytes....Successfully installed GDGraph version 1.43 in ActivePerl 5.8.7.813.ppm> install PatchReader
====================
Install 'PatchReader' version 0.9.4 in ActivePerl 5.8.7.813.
====================
Downloaded 9558 bytes....Successfully installed PatchReader version 0.9.4 in ActivePerl 5.8.7.813.ppm> install Net::LDAP
====================
Install 'Convert-ASN1' version 0.19 in ActivePerl 5.8.7.813.
====================
Downloaded 26326 bytes....Successfully installed Convert-ASN1 version 0.19 in ActivePerl 5.8.7.813.
====================
Install 'perl-ldap' version 0.33 in ActivePerl 5.8.7.813.
====================
Downloaded 188548 bytes....Successfully installed perl-ldap version 0.33 in ActivePerl 5.8.7.813.
====================
Install 'Net-LDAP-Express' version 0.11 in ActivePerl 5.8.7.813.
====================
Downloaded 7693 bytes....Successfully installed Net-LDAP-Express version 0.11 in ActivePerl 5.8.7.813.ppm>
三、配置IIS
1、打開IIS管理界面。新建一個虛擬路徑,指向Bugzilla所在文件夾
2、然后按應(yīng)用程序設(shè)置按鈕。增加一個映射,將.cgi文件映射到perl.exe。
點ADD
這里特別注意,有些文檔里寫成:perl.exe “%s” %s(全角下的雙引號),這樣不正確,在運行時出錯(又花去一個小時)。正確的配置應(yīng)該如下:
\perl.exe -x -wT "%s" %s例如:c:\perl\bin\perl.exe -xc:\bugzilla -wT "%s" %s
3、最后,將index.cgi加入到默認文檔列表中。最好移到最前面,這樣可以加快查詢速度。如果不希望/不能把index.cgi加入到默認文檔列表中,也可以在安裝Bugzilla的時候,將localconfig文件中$index_html的值改為1。這樣運行checksetup.pl時,就會生成一個index.html,自動重定向到index.cgi。
4、OK! 到此IIS已配置完成,接下來才開始安裝bugzilla了。
四、安裝bugzilla
其實這一步不叫安裝的,將你下的bugzilla解壓縮到一個文件夾里,我放到了c:\根目錄下。進入到DOS環(huán)境,運行命令:perl checksetup.pl 它會檢查你有沒有將所有的Modules安裝成功,安裝不成功的Modules會提示no found.。出現(xiàn)以下界面證明已安裝成功:
C:\>cd bugzilla
C:\bugzilla>perl checksetup.pl
Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.55
Checking for CGI (v2.93) ok: found v3.10
Checking for Data::Dumper (any) ok: found v2.121_04
Checking for Date::Format (v2.21) ok: found v2.22
Checking for DBI (v1.38) ok: found v1.48
Checking for File::Spec (v0.84) ok: found v3.05
Checking for File::Temp (any) ok: found v0.16
Checking for Template (v2.08) ok: found v2.13
Checking for Text::Wrap (v2001.0131) ok: found v2001.09293
Checking for Mail::Mailer (v1.65) ok: found v1.67
Checking for Storable (any) ok: found v2.13The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.16
Checking for Chart::Base (v1.0) ok: found v2.3
Checking for XML::Parser (any) ok: found v2.34
Checking for GD::Graph (any) ok: found v1.43
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Most ActivePerl modules are available at Apache's ppm repository.A list of mirrors is available at http://www.apache.org/dyn/closer.cgi/perl/win32-bin/ppms/
You can add the repository with the following command:
ppm rep add apache http://www.apache.org/dist/perl/win32-bin/ppms/Checking user setup ...
This version of Bugzilla contains some variables that you may wantto change and adapt to your local settings.
Please edit the file'./localconfig' and rerun checksetup.
plThe following variables are new to localconfig since you last ranchecksetup.
pl: index_html cvsbin interdiffbin diffpath create_htaccesswebservergroup db_driver db_host db_pass db_sock db_check
C:\bugzilla>
2、接下來,在bugzilla的目錄下打開localconfig文件,找到以下幾行并修改藍色字體的內(nèi):
## How to access the SQL database:#$db_host = "localhost";
# where is the database?$db_port = 3306;
# which port to use$db_name = "bugs";
# name of the MySQL database$db_user = "bugs";
# user to attach to the MySQL database
## Enter your database password here. It's normally advisable to specify
# a password for your bugzilla database user.
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a \ character. (\') or (\\)
#$db_pass = 'sockmonkey';
3、保存以后再次運行checksetup.pl。出現(xiàn)以下內(nèi)容:別忘了記下輸入的管理員的賬號和密碼做為第一次登陸的用戶和密碼。
C:\bugzilla>perl
checksetup.plChecking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.55
Checking for CGI (v2.93) ok: found v3.10
Checking for Data::Dumper (any) ok: found v2.121_04
Checking for Date::Format (v2.21) ok: found v2.22
Checking for DBI (v1.38) ok: found v1.48
Checking for File::Spec (v0.84) ok: found v3.05
Checking for File::Temp (any) ok: found v0.16
Checking for Template (v2.08) ok: found v2.13
Checking for Text::Wrap (v2001.0131) ok: found v2001.09293
Checking for Mail::Mailer (v1.65) ok: found v1.67
Checking for Storable (any) ok: found v2.13The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.16Checking for Chart::Base (v1.0) ok: found v2.3
Checking for XML::Parser (any) ok: found v2.34
Checking for GD::Graph (any) ok: found v1.43
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Most ActivePerl modules are available at Apache's ppm repository.
A list of mirrors is available at http://www.apache.org/dyn/closer.cgi/perl/win32-bin/ppms/You can add the repository with the following command: ppm rep add apache http://www.apache.org/dist/perl/win32-bin/ppms/Checking user setup ...
Creating data directory (./data) ...
Creating graphs directory...
Creating .htaccess...
Creating Bugzilla/.htaccess...
Creating ./data/.htaccess...
Creating ./template/.htaccess...
Creating ./data/webdot/.htaccess...
Precompiling templates ...
Checking for MySQL Server (v3.23.41) ok: found v4.0.20a-debugCreating table user_group_map ...
Creating table series_data ...
Creating table longdescs ...
Creating table dependencies ...
Creating table components ...
Creating table keywords ...
Creating table cc ...
Creating table duplicates ...
Creating table groups ...
Creating table flagtypes ...
Creating table profiles ...
Creating table products ...
Creating table bugs_activity ...
Creating table series_categories ...
Creating table keyworddefs ...
Creating table fielddefs ...
Creating table group_control_map ...
Creating table profiles_activity ...
Creating table group_group_map ...
Creating table user_series_map ...
Creating table bugs ...
Creating table series ...
Creating table versions ...
Creating table flagexclusions ...
Creating table logincookies ...
Creating table watch ...
Creating table bug_group_map ...
Creating table votes ...
Creating table attachments ...
Creating table flags ...
Creating table milestones ...
Creating table tokens ...
Creating table flaginclusions ...
Creating table quips ...
Creating table namedqueries ...
Creating initial dummy product 'TestProduct' ...
Populating duplicates table...
Creating duplicates directory...
Migrating old chart data into database ...
Adding group tweakparams ...
Adding group editusers ...
Adding group creategroups ...
Adding group editcomponents ...
Adding group editkeywords ...
Adding group admin ...
Adding group editbugs ...
Adding group canconfirm ...
Looks like we don't have an administrator set up yet.
Either this is yourfirst time using Bugzilla, or your administrator's privileges might haveaccidently been deleted.Enter the e-mail address of the administrator: byron@example.com (此將是默認超級用戶)You entered 'byron@example.com'.
Is this correct? [Y/n] yEnter the real name of the administrator: Byron JonesEnter a password for the administrator account: beefPlease retype the password to verify: beef'byron@example.com' is now set up as an administrator account.
C:\bugzilla>OK
到此,bugzilla已安裝完畢,接下來最后一步是配置郵箱了。
五、配置郵箱。
由于bugzilla已經(jīng)提供了內(nèi)置的SMTP支持,如果是局域網(wǎng)內(nèi)用的話只要安裝一個windows 下的sendmail.exe,文件,將此文件放到和你的bugzilla同一目錄下即可。如果發(fā)到其它郵件服務(wù)器中,可能還需要設(shè)置bugmail里的內(nèi)容,(由于我是在局域網(wǎng)下配置的,這種方法沒有試,請見諒)具體請參見bugzila的官方網(wǎng)站:http://www.bugzilla.org
六、登陸bugzilla 到這里,Bugzilla的安裝就基本上搞定了。
在IE瀏覽器地址欄里輸入:http://localhost/ 登陸bugzilla,至此你就能使用等待以久的bugzill缺陷跟蹤體系統(tǒng)了。
經(jīng)過漫長的安裝過程,如果能和你共同分享成功的喜悅,可以給我留言哦,我的blog是:http://blog.51testing.com/chorry/ 打開登陸界面后,使用你輸入的郵箱和密碼就可以登陸了
七、最后就是漢化bugzilla不過你不想漢化也沒有問題。
將漢化包解壓解壓到cn文件夾,將整個文件目錄 cn 拷貝至 Bugzilla 的子目錄 template下;然后以管理員身份登錄Bugzilla,點擊頁腳的 Parameters(系統(tǒng)參數(shù)設(shè)置)鏈接,將 languages 一項的值改為 cn,保存,則以后見到的Bugzilla頁面就是漢語頁面了。如果想返回英文界面,將 cn 改回 en 即可。為保證向后兼容,漢化的文件全部存為 UTF-8 格式。但不管你是否漢化Bugzilla,為強迫Bugzilla采用UTF-8來處理字符串,避免Bugzilla偶然出現(xiàn)的亂碼,強烈建議大家將文件 安裝目錄>\Bugzilla\CGI.pm 的第55行改為 $self->charset('UTF-8')。漢化包的具體下載你可以在http://bugzilla.org/download.html 里找到相應(yīng)的bugzilla漢化包。
八、一些bugzilla的參考網(wǎng)站Bugzilla官方網(wǎng)站
http://www.bugzilla.orgBugzilla漢化項目
http://sourceforge.net/projects/bugzilla-cnhttp://cosoft.org.cn/projects/bugzillchinese/Perl官方網(wǎng)站
http://www.perl.comActivePerl官方網(wǎng)站
http://www.activestate.com/Products/ActivePerlMySQL官方網(wǎng)站
http://www.mysql.comFake Sendmait for Windows
http://www.glob.com.au/sendmail/Installing Bugzilla on Microsoft Windows
http://www.bugzilla.org/docs/win32install.html The Bugzilla Guide
http://www.bugzilla.org/docs/2.20/html Bugzilla windows安裝紅寶書
http://blog.fz0132.com/trackback.asp?tbID=654
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
linux(rhel5,centos5)下安裝Bugzilla指南
【博文連載】centos6.5安裝bugzilla超詳細教程
Bugzilla2.20在Windows環(huán)境下的安裝
mysql 遷移數(shù)據(jù)目錄 5.6
Linux php安裝
mysql show processlist命令 詳解
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服