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!
  • 相关阅读:
    12 python json&pickle&shelve模块
    11 python shutil 模块
    10 python os&sys 模块
    9 random模块
    8 python time$datetime
    7 python 模块间相互导入
    6 unit3-文件操作&函数 review
    3 Python 函数介绍
    hibernate课程 初探单表映射2-6 session详解(下)
    hibernate课程 初探单表映射2-5 session详解(上)
  • 原文地址:https://www.cnblogs.com/allenblogs/p/1800499.html
Copyright © 2011-2022 走看看