bugzilla安装

本文档详细介绍了如何在Linux环境中安装和配置Bugzilla,包括禁用SELINUX、安装Apache及模块、设置MySQL数据库、安装Bugzilla并解决相关错误,如调整max_allowed_packet和处理mod_perl2模块缺失的问题。
摘要由CSDN通过智能技术生成

①禁用SELinux

sudo sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/g' /etc/selinux/config


该文件现在应该是这样的:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=permissive
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted
然后重启计算机。

②启用EPEL软件库

sudo yum install deltarpm epel-release

sudo yum update


③#Install Apache with mod_ssl and mod_perl

sudo yum install httpd httpd-devel mod_ssl mod_ssl mod_perl mod_perl-devel


④开启httpd.service

sudo systemctl start httpd.service

⑤检查httpd.service状态

sudo systemctl status httpd.service

⑥永久开启httpd.service

sudo systemctl enable httpd.service

⑦开启防火墙端口,允许传入的连接端口80(HTTP)

sudo firewall-cmd --zone=public --add-port=80/tcp --permanent

# success

sudo firewall-cmd --reload

# success

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值