亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

RHEL6.5/Centos6.5 搭建bugzilla

發布時間:2020-07-09 05:44:41 來源:網絡 閱讀:1476 作者:wangenzhi 欄目:關系型數據庫

一、安裝httpd、 mod_ssl、 mysql-server 、 mysql 、php-mysql 、 gcc 、 perl* 、 mod-perl-devel

[root@localhost ~]# yum -y install httpd mod_ssl mysql-server mysql php-mysql gcc perl* mod_perl-devel

[root@localhost ~]# service iptables stop  ##關閉防火墻

[root@localhost ~]# setenforce 0           ##將selinux關閉

[root@localhost ~]# service httpd start    ##啟動httpd

[root@localhost ~]# chkconfig httpd on    ##添加2345級別啟動

[root@localhost ~]# service mysqld start    ##啟動mysql數據庫

[root@localhost ~]# chkconfig mysqld on    ##添加2345級別啟動

[root@localhost ~]# mysqladmin -uroot -p password "666666"  ##將mysql,root用戶密碼修改為666666,默認為空。

Enter password: 

[root@localhost ~]# mysql -uroot -p666666  ##登陸mysql使用root賬號

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 4

Server version: 5.1.73 Source distribution


Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.


Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql> create database bugs;    ##創建數據庫名為bugs;

Query OK, 1 row affected (0.00 sec)

mysql> grant all on bugs.* to root@localhost identified by "666666";  ##授權root用戶密碼為666666  

Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;    ##刷新

Query OK, 0 rows affected (0.00 sec)

mysql> quit    ##退出

二、下載bugzilla,安裝bugzilla

[root@localhost opt]# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.5.2.tar.gz    ##下載bugzilla源碼包

[root@localhost opt]#tar xf bugzilla-4.5.2.tar.gz -C /var/www/html/    ##解壓到httpd的/var/www/html目錄下

[root@localhost html]# mv bugzilla-4.5.2/ bugzilla    ##將解壓的bugzilla目錄重命名

[root@localhost html]# cd bugzilla/    ##切換到bugzilla目錄

[root@localhost bugzilla]# ./checksetup.pl --check-modules    ##檢查缺少那些組件

* This is Bugzilla 4.5.2 on perl 5.10.1

* Running on Linux 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013


Checking perl modules...

Checking for               CGI.pm (v3.51)     ok: found v3.64 

Checking for           Digest-SHA (any)       ok: found v5.47 

Checking for             TimeDate (v2.23)     found v2.22 

Checking for             DateTime (v0.28)     ok: found v0.53 

Checking for    DateTime-TimeZone (v0.71)     ok: found v1.08 

Checking for                  DBI (v1.54)     ok: found v1.609 

Checking for     Template-Toolkit (v2.24)     found v2.22 

Checking for           Email-Send (v2.04)     not found 

Checking for           Email-MIME (v1.904)    not found 

Checking for                  URI (v1.37)     ok: found v1.40 

Checking for       List-MoreUtils (v0.32)     found v0.22 

Checking for    Math-Random-ISAAC (v1.0.1)    not found 


Checking available perl DBD modules...

Checking for               DBD-Pg (v2.7.0)    ok: found v2.15.1 

Checking for            DBD-mysql (v4.001)    ok: found v4.013 

Checking for           DBD-SQLite (v1.29)     found v1.27 

Checking for           DBD-Oracle (v1.19)     not found 


The following Perl modules are optional:

Checking for                   GD (v1.20)     ok: found v2.44 

Checking for                Chart (v2.4.1)    not found 

Checking for          Template-GD (any)       not found 

Checking for           GDTextUtil (any)       ok: found v0.86 

Checking for              GDGraph (any)       ok: found v1.44 

Checking for           MIME-tools (v5.406)    ok: found v5.427 

Checking for          libwww-perl (any)       ok: found v5.833 

Checking for             XML-Twig (any)       ok: found v3.34 

Checking for          PatchReader (v0.9.6)    not found 

Checking for            perl-ldap (any)       ok: found v0.40 

Checking for          Authen-SASL (any)       ok: found v2.13 

Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.01 

Checking for           RadiusPerl (any)       not found 

Checking for            SOAP-Lite (v0.712)    found v0.710.10 

Checking for          XMLRPC-Lite (v0.712)    found v0.710.10 

Checking for             JSON-RPC (any)       not found 

Checking for              JSON-XS (v2.0)      not found 

Checking for           Test-Taint (v1.06)     found v1.04 

Checking for          HTML-Parser (v3.40)     ok: found v3.64 

Checking for        HTML-Scrubber (any)       not found 

Checking for               Encode (v2.21)     ok: found v2.35 

Checking for        Encode-Detect (any)       ok: found v1.01 

Checking for          Email-Reply (any)       not found 

Checking for HTML-FormatText-WithLinks (v0.13)     not found 

Checking for          TheSchwartz (v1.07)     not found 

Checking for       Daemon-Generic (any)       not found 

Checking for             mod_perl (v1.999022) ok: found v2.000004 

Checking for     Apache-SizeLimit (v0.96)     not found 

Checking for        File-MimeInfo (any)       not found 

Checking for           IO-stringy (any)       ok: found v2.110 

Checking for      Cache-Memcached (any)       ok: found v1.28 

Checking for          mod_headers (any)       ok 

Checking for          mod_expires (any)       ok 

Checking for              mod_env (any)       ok 

###############通過檢查發現缺了很多組件############
[root@localhost bugzilla]# perl install-module.pl --all ##執行此命令安裝缺少的組件,需要等待一會(注意執行此命令需要聯網)

[root@localhost bugzilla]# ./checksetup.pl    ##運行以下這條命令,它會在/var/www/html/bugzilla路徑下自動生成一個名為localconfig的文件。

[root@localhost bugzilla]# vim localconfig        ##確認一下你剛才在localconfig文件中所輸入的數據庫名、用戶和密碼是否正確。確認下紅色內容

     50 $db_driver = 'mysql';

     51 

     52 # The DNS name or IP address of the host that the database server runs on.

     53 $db_host = 'localhost';

     54 

     55 # The name of the database. For Oracle, this is the database's SID. For

     56 # SQLite, this is a name (or path) for the DB file.

     57 $db_name = 'bugs';

     58 

     59 # Who we connect to the database as.

     60 $db_user = 'root';

     61 

     62 # Enter your database password here. It's normally advisable to specify

     63 # a password for your bugzilla database user.

     64 # If you use apostrophe (') or a backslash (\) in your password, you'll

     65 # need to escape it by preceding it with a '\' character. (\') or (\)

     66 # (It is far simpler to just not use those characters.)

     67 $db_pass = '666666';

     68 

     69 # Sometimes the database server is running on a non-standard port. If that's

     70 # the case for your database server, set this to the port number that your

     71 # database server is running on. Setting this to 0 means "use the default

     72 # port for my database server."

     73 $db_port = 3306;

[root@localhost bugzilla]# ./checksetup.pl     ##再次執行此命令根據提示輸入管理員郵箱及密碼

三、配置httpd修改配置文件在最后一行下添加如下內容

[root@localhost bugzilla]# vi /etc/httpd/conf/httpd.conf

<VirtualHost *:80>
     DocumentRoot /var/www/html/bugzilla/
</VirtualHost>

<Directory /var/www/html/bugzilla>
     AddHandler cgi-script .cgi
     Options +Indexes +ExecCGI
     DirectoryIndex index.cgi
     AllowOverride Limit FileInfo Indexes
</Directory>

 [root@localhost bugzilla]# vi .htaccess  ###接著,我們需要編輯 .htaccess 文件并用“#”注釋掉頂部“Options -Indexes”這一行。

[root@localhost bugzilla]# service httpd restart        ##重新啟動httpd服務,就可以通過瀏覽器訪問了

RHEL6.5/Centos6.5 搭建bugzilla

  四、由于bugzilla創建賬號提交bug等需要發送郵件,還需要安裝sendmail

[root@localhost ~]# yum -y install sendmail    ##安裝sendmail

[root@localhost ~]# service sendmail start   ##啟動sendmail

正在啟動 sendmail:                                        [確定]

啟動 sm-client:                                           [確定]

[root@localhost ~]# yum -y install mail  ##安裝mail

[root@localhost ~]# echo adminwangenzhi|mail -s test W_enzhi@163.com  ##測試是否可以收到郵件

RHEL6.5/Centos6.5 搭建bugzilla

[root@localhost ~]# cd /var/www/html/bugzilla/data/  ##切換到bugzilla下的data目錄中

[root@localhost data]# vim params   ##修改如下紅色內容

%param = (

           'LDAPBaseDN' => '',

           'LDAPbinddn' => '',

           'LDAPfilter' => '',

           'LDAPmailattribute' => 'mail',

           'LDAPserver' => '',

           'LDAPstarttls' => 0,

           'LDAPuidattribute' => 'uid',

           'RADIUS_NAS_IP' => '',

           'RADIUS_email_suffix' => '',

           'RADIUS_secret' => '',

           'RADIUS_server' => '',

           'ajax_user_autocompletion' => '1',

           'allow_p_w_upload_deletion' => 0,

           'allow_p_w_upload_display' => 0,

           'allowbugdeletion' => 0,

           'allowemailchange' => 1,

           'allowuserdeletion' => 0,

           'announcehtml' => '',

           'p_w_upload_base' => '',

           'auth_env_email' => '',

           'auth_env_id' => '',

           'auth_env_realname' => '',

           'bonsai_url' => '',

           'chartgroup' => 'editbugs',

           'collapsed_comment_tags' => 'obsolete, spam',

           'comment_taggers_group' => 'editbugs',

           'commentonchange_resolution' => 0,

           'commentonduplicate' => 0,

           'confirmuniqueusermatch' => 1,

           'cookiedomain' => '',

           'cookiepath' => '/',

           'createemailregexp' => '.*',

           'cvsroot' => '',

           'cvsroot_get' => '',

           'debug_group' => 'admin',

           'default_search_limit' => '500',

           'defaultopsys' => '',

           'defaultplatform' => '',

           'defaultpriority' => '---',

           'defaultquery' => 'resolution=---&emailassigned_to1=1&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailqa_contact2=1&emaillongdesc3=1&order=Importance&long_desc_type=substring',

           'defaultseverity' => 'enhancement',

           'docs_urlbase' => 'docs/%lang%/html/',

           'duplicate_or_move_bug_status' => 'RESOLVED',

           'emailregexp' => '^[\\w\\.\\+\\-=\']+@[\\w\\.\\-]+\\.[\\w\\-]+$',

           'emailregexpdesc' => 'A legal address must contain exactly one \'@\', and at least one \'.\' after the @.',

           'emailsuffix' => '',

           'font_file' => '',

           'globalwatchers' => '',

           'inbound_proxies' => '',

           'insidergroup' => '',

           'letsubmitterchoosemilestone' => 1,

           'letsubmitterchoosepriority' => 1,

           'lxr_root' => '',

           'lxr_url' => '',

           'mail_delivery_method' => 'Sendmail',

           'mailfrom' => 'root@localhost.localdomain',

           'maintainer' => 'W_enzhi@163.com',

           'makeproductgroups' => 0,

           'max_search_results' => '10000',

           'maxp_w_uploadsize' => '1000',

           'maxlocalp_w_upload' => '0',

           'maxusermatches' => '1000',

           'memcached_namespace' => 'bugzilla:',

           'memcached_servers' => '',

           'mostfreqthreshold' => '2',

           'musthavemilestoneonaccept' => 0,

           'mybugstemplate' => 'buglist.cgi?resolution=---&amp;emailassigned_to1=1&amp;emailreporter1=1&amp;emailtype1=exact&amp;email1=%userid%',

           'noresolveonopenblockers' => 0,

           'or_groups' => 1,

           'password_complexity' => 'no_constraints',

           'proxy_url' => '',

           'querysharegroup' => 'editbugs',

           'quip_list_entry_control' => 'open',

           'rememberlogin' => 'on',

           'requirelogin' => '0',

           'search_allow_no_criteria' => 1,

           'shadowdb' => '',

           'shadowdbhost' => '',

           'shadowdbport' => '3306',

           'shadowdbsock' => '',

           'shutdownhtml' => '',

           'smtp_debug' => 0,

           'smtp_password' => '此處為真實的郵箱登陸密碼',

           'smtp_ssl' => 0,

           'smtp_username' => 'W_enzhi@163.com',

           'smtpserver' => 'mail@163.com',

           'ssl_redirect' => 0,

           'sslbase' => '',

           'strict_isolation' => 0,

           'strict_transport_security' => 'off',

           'timetrackinggroup' => 'editbugs',

           'upgrade_notification' => 'latest_stable_release',

           'urlbase' => 'http://192.168.1.106/',   ###我本機的IP地址按照自己的IP地址修改

           'use_mailer_queue' => 0,

           'use_see_also' => 1,

           'useclassification' => 0,

           'usemenuforusers' => '0',

           'useqacontact' => 0,

           'user_info_class' => 'CGI',

           'user_verify_class' => 'DB',

           'usestatuswhiteboard' => 0,

           'usetargetmilestone' => 0,

           'usevisibilitygroups' => 0,

           'utf8' => 1,

           'webdotbase' => 'http://www.research.att.com/~north/cgi-bin/webdot.cgi/%urlbase%',

           'webservice_email_filter' => 0,

           'whinedays' => 7

         );


[root@localhost data]# service httpd restart  ##重新啟動httpd

[root@localhost data]# service sendmail restart  ##重新啟動sendmail


五、訪問bugzilla主頁,點擊紅色箭頭所指創建用戶賬號

RHEL6.5/Centos6.5 搭建bugzilla

六、在箭頭指向處輸入要創建用戶的郵箱必須為合法的郵箱

RHEL6.5/Centos6.5 搭建bugzilla

七、接下來創建用戶的郵箱會收到一封郵件,打開郵件點擊鏈接地址,根據提示設置密碼

RHEL6.5/Centos6.5 搭建bugzilla

RHEL6.5/Centos6.5 搭建bugzilla八、使用剛創建的賬號登陸測試是否成功登陸。

RHEL6.5/Centos6.5 搭建bugzilla###########至此bugzilla的安裝全部結束,可以成功創建賬戶登陸##############




向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

儋州市| 芜湖市| 运城市| 宜兴市| 金溪县| 阳原县| 稻城县| 安仁县| 新竹市| 江安县| 贵溪市| 清涧县| 嫩江县| 竹山县| 上林县| 瑞丽市| 搜索| 昔阳县| 苍南县| 海口市| 红原县| 金昌市| 淳安县| 当阳市| 公安县| 武强县| 新民市| 青河县| 三江| 堆龙德庆县| 开原市| 监利县| 亳州市| 建昌县| 汕头市| 昌黎县| 图木舒克市| 荔浦县| 德化县| 巴南区| 汉沽区|