阿里云 Ubuntu12.04 下 如何安装 Bugzilla

环境 : 阿里云 Ubuntu12.04  64位 ECS 。

 

注意: apt-get update 后, 再按
------------ Bugzilla 前期 1 -- 安装 前期依赖 -------------


按照
 https://bugzilla.readthedocs.org/en/latest/installing/quick-start.html  里的  3.1.4. Install Prerequisites  运行后,会提示 mysql 的 password 设置, 然后会安装好 perl  以及 mysql 那些

=》再check mysql
 #whereis mysql
mysql: /usr/bin/mysql /etc/mysql /usr/lib/mysql /usr/bin/X11/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

 

---------------------- Bugzilla 前期 2 -- 安装 apache ------
apt-get install apache2
service apache2 restart
netstat -atn | grep 80

=> 跑到外网去 check 

 

*********下载 Bugzilla --   这里特别注意  按 1.5. Download Bugzilla  在 阿里云上, git 不下来 *************
    因此, 我是按照
http://download.csdn.net/detail/heisekankan/5763763 到bugzilla 网站上下 最新 的 5.* rc 的 tar.gz, 包, 解压到 /var/www/html 下

     (注:  4.* 的 bugzilla 包, 我也试过, ./checksetup.pl 会提示 缺少 Email::Send, 按照它的提示,装好了 Email::Send, 再./checksetup.pl  , 也不过)

=》第一次 ./checksetup.pl

->  与4.*不同, 这里提示缺少的依赖是

    /usr/bin/perl install-module.pl Email::Sender 
 还有一个 Timezone etc. 
->
  按照它的提示,会发现阿里云上,这俩 tar 都能下下来,但是它自动tar解不开, 所以自己手动 解开这俩tar, 再 
     perl Makefile.PL
  make test (会fail,不管他)
     make install
    

=》 再次 ./checksetup.pl 

终于它提示让你 配 db 了  :

=》
 This version of Bugzilla contains some variables that you may want to
change and adapt to your local settings. The following variables are
new to ./localconfig since you last ran checksetup.pl:

create_htaccess, webservergroup, use_suexec, db_driver, db_host,
db_name, db_user, db_pass, db_port, db_sock, db_check,
db_mysql_ssl_ca_file, db_mysql_ssl_ca_path, db_mysql_ssl_client_cert,
db_mysql_ssl_client_key, index_html, interdiffbin, diffpath,
site_wide_secret

Please edit the file ./localconfig and then re-run checksetup.pl
to complete your installation.

=》 后面就一马平川了 , 按照  https://bugzilla.readthedocs.org/en/latest/installing/quick-start.html 
  下半部分, 配 mysql, 配 apache, 配 local config

=> 最后 再次 ./checksetup.pl
=》 最后 ./testserver.pl http://localhost/

得意

吧啦啦啦, 现在请问,你手指疼痛的级别,从1到10,是几?  -- by 大白

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值