zoukankan      html  css  js  c++  java
  • SVN server setup 2

    bugzilla installation

    6.1 bugzila installation
      1)tar zxvf bugzilla-3.6.1.tar.gz
      2)cd bugzilla-3.6.1
      3)mv bugzilla-3.6.1 /usr/local/apache2/htdocs/bugs
      4)cd /usr/local/apache2/htdocs/bugs
      5)./checksetup.pl --check-module
      6)install all required modules

    6.2 Create bugs database

     1)Launch the mysql service
        #service mysqld start
     2)Enter mysql enviroment

        #mysql

     3)Create database bugs

        #Create database bugs
     3)GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,LOCK TABLES,CREATE TEMPORARY TABLES,DROP,REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY 'bugs';

        "bugs" is the password, You must keep the same password in localconfig for bugzilla's configure file.
     4)FLUSH PRIVILEGES;

    6.3 Rerun checksetup.pl to generate localconfig file

      #./checksetup.pl 

    6.4 Update bugzilla configure file

      #vim localconfig
           Change $index_html=0 TO $index_html=1;
           Change $db_pass=''; TO $db_pass='bugs';*****The password is set in mysql*******

           Change $webservergroup ="" TO  $webservergroup = 'daemon';*****The same group in Apache group*******

    6.5 Rerun checksetup again to configure bugzilla

        #./checksetup.pl

        #input administrator Email account:

        #Input the real name:

        #Input the administrator password:

    6.6 Change the privilege

        #chown -R root:daemon bugs/

    6.7 Intergrate with Apache

        #vim httpd.conf

       <Directory "/usr/local/apache2/htdocs/bugs">
        Options ExecCGI FollowSymLinks
        Options +Indexes +ExecCGI
        DirectoryIndex index.cgi
        AllowOverride Limit
        Order allow,deny
        Allow from all
    </Directory>

    6.8 Check the installation

       http://192.168.6.200/bugs/

    Work for fun,Live for love!
  • 相关阅读:
    恰瓜恰到自己家
    在 D 天内送达包裹的能力
    火车编组
    排列小球
    为什么这段时间一直在做算法题呢
    leetcode 221 ,3,480,6,54,46,209,495
    leetcode 684.354,133,207,121,63,64,jz46,120,357
    leetcode 130,200,207,329,491,494,416,547,51
    flink单机搭建以及快速编写一个简单的java job demo运行
    leetcode 437,450,508,513,538,623,652,654,662
  • 原文地址:https://www.cnblogs.com/allenblogs/p/1800499.html
Copyright © 2011-2022 走看看