우분투 15.04에 bugzilla를 설치할 때 발생하는 문제

우분투 15.04에 bugzilla를 설치할 때 발생하는 문제

Bugzilla를 설치하려고 합니다.

Phpmyadmin시스템에 설치했기 때문에 따라갈 수 없습니다 .지침Bugzilla 사이트에는 /var/www/html폴더가 있기 때문에 폴더를 제거하라는 메시지가 표시됩니다 Phpmyadmin.

게다가 나는 여기에서 지침을 보았습니다.아쿠분투, 하지만 내 컴퓨터에 다른 사용자를 생성하고 싶지 않으며 이 컴퓨터를 사용하는 유일한 사람이기 때문에 기본 사용자로 Bugzilla를 설치하고 싶습니다.

내가 따라온 단계는 다음과 같습니다.

sudo su
apt-get install git nano
apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx
cd /var/www/html
git clone --branch release-5.0-stable https://git.mozilla.org/bugzilla/bugzilla bugzilla
cd bugzilla
gedit /etc/mysql/my.cnf`

52행에서 변경됨:max_allowed_packet=100M

다음 섹션 에 새 줄 31로 추가되었습니다 [mysqld].ft_min_word_len=2

mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO bugs@localhost IDENTIFIED BY '$my_pass'"
service mysql restart
gedit /etc/apache2/sites-available/bugzilla.conf`

추가됨:

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

그 다음에:

a2ensite bugzilla
a2enmod cgi headers expires
service apache2 restart
cd /var/www/html/bugzilla
./checksetup.pl

나에게 몇 가지 오류가 발생하여 다음을 실행했습니다.

/usr/bin/perl install-module.pl –all
./checksetup.pl
gedit localconfig

29행: $webservergroup다음으로 설정www-data

67행: $db_pass몇 단계 전에 MySQL에서 생성한 버그 사용자의 비밀번호를 설정합니다.

./checksetup.pl (again)
./testserver.pl http://localhost/

그런 다음 다음 오류가 발생합니다.

strictures.pm extra testing active but couldn't load all modules. Missing were:

  indirect multidimensional bareword::filehandles

Extra testing is auto-enabled in checkouts only, so if you're the author
of a strictures-using module you need to run:

  cpan indirect multidimensional bareword::filehandles

but these modules are not required by your users.
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

그럼 내가 뭘 잘못했나요?

보시다시피 저는 /var/www/html/제가 가지고 있는 곳에 Bugzilla 폴더를 설치하고 싶습니다 Phpmyadmin. /var/www/html/bugzilla.

감사해요.

편집하다: 실행 후: cpan indirect multidimensional bareword::filehandles문제는 여전히 발생합니다.

TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

편집 2:

apache2좋아, 내가 로그 에서 찾은 유일한 것은 다음 과 같습니다 /var/log/other_vhosts_access.log.

localhost:80 127.0.0.1 - - [27/Jul/2015:10:29:06 +0200] "GET /images/padlock.png HTTP/1.1" 404 469 "-" "libwww-perl/6.05"

그리고 /var/log/error.log:

[Mon Jul 27 10:14:38.112755 2015] [mpm_prefork:notice] [pid 7477] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Jul 27 10:14:38.112794 2015] [core:notice] [pid 7477] AH00094: Command line: '/usr/sbin/apache2'

답변1

Ubuntu 14.04, Apache 2.4.7, Bugzilla 5.0에서 동일한 문제가 발생합니다. 또한 다음과 같이 설정하고 싶습니다.http://localhost/bugzilla.

비결은 생각하는 것이었습니다... 예, 간단합니다.

당신은 다음을 실행했습니다:

./testserver.pl http://localhost

실제로 사용해야 할 때

./testserver.pl http://localhost/bugzilla

입력으로 자신의 위치가 필요하기 때문입니다(예, 꽤 멍청합니다).

답변2

나에게(Linux Mint 17.2; Bugzilla 5.0.1, Apache 2.4.7) 이것은 도움이 되었습니다(마지막으로 다른 많은 것들을 시도한 후에):

AllowOverride Limit FileInfo Indexes Options로 변경AllowOverride All

답변3

나는 같은 문제를 겪고 있습니다. 나에게 문제는 설정과 AllowOverride도 관련이 있습니다. 이는 파일에 있으며 /etc/apache2/sites-enabled/000-default.conf다음과 같이 설정되었습니다.

<VirtualHost *:80>
  <"Directory /var/www/html/bugzilla>
    AddHandler cgi-script cgi
    DirectoryIndex index.cgi
    Options +Indexes +ExecDGI +FollowSymLinks +MultiViews
    AllowOverride Limit
    Order Allow,deny
    Allow from all
  <Directory>
<VirtualHost>

해당 줄은 AllowOverride다음과 같이 변경되었습니다.

AllowOverride None

파일 /etc/apache2/sites-enabled/bugzilla.conf에는 다음과 같은 디렉터리 항목이 있습니다.

<Directory /var/www/html>
    AddHandler cgi-script .cgi
    Options +ExecCGI +FollowSymLinks
    DirecortryIndex index.cgi index.html
    AllowOverride All
</Directory>

문제가 해결되었습니다.

관련 정보