Installing Zabbix 3.2 in Centos 6.8 Clean Install Dependencies Errors
Atushi answered that question in the post above. You need to enable the deprecated repo: Presumably, zabbix on CentOS 6 is deprecated because CentOS 6's days are numbered, and they would rather focus their attention on supporting zabbix for CentOS 7. I don't particularly agree with this, however, given that CentOS 6 OS is going to be receiving maintenance updates until November 2020, which means there will probably still be many organizations running 6 for the foreseeable future.__Jason
Procedure sample at the time of a clean installation:
# yum install centos-release-scl
# yum install rh-php56-php rh-php56-php-bcmath rh-php56-php-gd rh-php56-php-ldap rh-php56-php-mbstring rh-php56-php-xml rh-php56-php-mysqlnd
# yum install http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
# yum install zabbix-agent
# yum --enablerepo=zabbix-deprecated install zabbix-server-mysql
# yum --enablerepo=zabbix-deprecated install zabbix-web-mysql
# yum install mysql-server
# vi /etc/my.cnf
# service mysqld start
# chkconfig mysqld on
# mysql -uroot
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to zabbix@localhost> mysql> exit
# zcat /usr/share/doc/zabbix-server-mysql-3.2.1/create.sql.gz | mysql -uroot zabbix
# vi /etc/zabbix/zabbix_server.conf
# cp /usr/share/doc/zabbix-web-3.2.1/httpd24-example.conf /opt/rh/httpd24/root/etc/httpd/conf.d/zabbix.conf
# vi /opt/rh/httpd24/root/etc/httpd/conf.d/zabbix.conf
# setsebool -P httpd_can_network_connect on
# setsebool -P zabbix_can_network on
# service httpd24-httpd start
# service zabbix-agent start
# service zabbix-server start
# yum install policycoreutils-python
# grep zabbix_server /var/log/audit/audit.log | audit2allow -M zabbix-limit
# semodule -i zabbix-limit.pp
# service zabbix-server start
I want to thank you both for expanding my knowledge on what deprecated means and how to install Zabbix 3.2 on Centos 6.8.I managed to get the server running, but some reason I was not able to connect to it. Something was blocking my connection to the server, I just said "screw it" and went with Centos 7 and the installation was very easy.
But now I have a different problems and it is>
NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <bob@random.ca>:> This is the output of #postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 1073741824
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = zabbix.server
myhostname = localhost
mynetworks = 0.0.0.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
> sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_relay_restrictions = permit_mynetworks,permit_auth_destination,permit_s asl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
I saw this thread:
https://www.zabbix.com/forum/showthread.php?t=46162
Seems like it is> I'm confused on whatto do next.
Thank you very much,
Bumbaa
页:
[1]