Zabbix Documentation 4.2

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:installation:upgrade:packages:rhel_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:installation:upgrade:packages:rhel_centos [2019/05/16 13:45]
dimir add warning about Jabber notifications support and instructions how to bring it back
manual:installation:upgrade:packages:rhel_centos [2019/05/16 14:23] (current)
dimir add warning about Jabber notifications support and instructions how to bring it back
Line 106: Line 106:
 === Adding Jabber notifications support to Zabbix server package === === Adding Jabber notifications support to Zabbix server package ===
  
-The recommended way of adding [[:​manual/​config/​notifications/​media/​jabber|Jabber notifications]] support to Zabbix server is rebuilding from source package. ​+The recommended way of adding [[:​manual/​config/​notifications/​media/​jabber|Jabber notifications]] support to Zabbix server is rebuilding from source package.
  
-  $ apt -y install ​dpkg-dev devscripts +  $ sudo yum -y install ​iksemel-devel gcc 
-  $ apt-get -y build-dep ​zabbix +  $ rpm -ivh http://​repo.zabbix.com/zabbix/​4.2/​rhel/​7/​SRPMS/zabbix-4.2.1-1.el7.src.rpm 
-  $ apt -y install libiksemel-dev +  $ cd ~/​rpmbuild/​SPECS 
-  $ mkdir /tmp/zabbix-server-mysql-build +  $ sudo yum-builddep -y zabbix.spec 
-  $ cd !$ +  $ sed -i.bak -r 's/^(build_flags=.*--enable-server)"$/\1 --with-jabber"/;​s/​^(Release\s*:\s*[^1-9]*[1-9][0-9]*)(.*)/\1.1\2/' zabbix.spec 
-  $ apt-get source zabbix +  $ rpmbuild ​-ba zabbix.spec 
-  $ cd zabbix-* +  [..] 
-  $ sed -i.bak -r 's/^(COMMON_CONFIG\s*=.*)\\/​\1--with-jabber \\/' debian/rules +  ​Wrote/​root/​rpmbuild/​SRPMS/​zabbix-4.2.1-1.1.el7.src.rpm 
-  $ debchange ​--rebuild "​rebuild with Jabber notifications support"​ +  Wrote: /​root/​rpmbuild/​RPMS/​x86_64/zabbix-agent-4.2.1-1.1.el7.x86_64.rpm 
-  $ dpkg-buildpackage +  ​Wrote/​root/​rpmbuild/​RPMS/​x86_64/​zabbix-get-4.2.1-1.1.el7.x86_64.rpm 
-  [...] +  Wrote: /​root/​rpmbuild/​RPMS/​x86_64/zabbix-sender-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-java-gateway'​ in '../zabbix-java-gateway_4.2.1-1+stretci_all.deb'+  ​Wrote/​root/​rpmbuild/​RPMS/​x86_64/​zabbix-proxy-mysql-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-proxy-pgsql' in '../zabbix-proxy-pgsql_4.2.1-1+stretci_amd64.deb'+  Wrote: /​root/​rpmbuild/​RPMS/​x86_64/​zabbix-proxy-pgsql-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-proxy-mysql' in '../​zabbix-proxy-mysql_4.2.1-1+stretci_amd64.deb'+  ​Wrote/​root/​rpmbuild/​RPMS/​x86_64/​zabbix-proxy-sqlite3-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-proxy-sqlite3' in '../zabbix-proxy-sqlite3_4.2.1-1+stretci_amd64.deb'+  Wrote: /​root/​rpmbuild/​RPMS/​x86_64/zabbix-java-gateway-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-server-mysql' in '​../​zabbix-server-mysql_4.2.1-1+stretci_amd64.deb'+  ​Wrote/​root/​rpmbuild/​RPMS/​x86_64/​zabbix-server-mysql-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-debbuilding package 'zabbix-server-pgsql' in '​../​zabbix-server-pgsql_4.2.1-1+stretci_amd64.deb'+  ​Wrote/​root/​rpmbuild/​RPMS/​x86_64/​zabbix-server-pgsql-4.2.1-1.1.el7.x86_64.rpm 
-   dpkg-genbuildinfo +  ​Wrote:​ /​root/​rpmbuild/​RPMS/​noarch/​zabbix-web-4.2.1-1.1.el7.noarch.rpm 
-   dpkg-genchanges ​ >​../​zabbix_4.2.1-1+stretci_amd64.changes +  ​Wrote/​root/​rpmbuild/​RPMS/​noarch/​zabbix-web-mysql-4.2.1-1.1.el7.noarch.rpm 
-  ​dpkg-genchangesinfo: not including original source code in upload +  ​Wrote/​root/​rpmbuild/​RPMS/​noarch/zabbix-web-pgsql-4.2.1-1.1.el7.noarch.rpm 
-   dpkg-source ​--after-build zabbix-4.2.1 +  ​Wrote: /​root/​rpmbuild/​RPMS/​noarch/zabbix-web-japanese-4.2.1-1.1.el7.noarch.rpm 
-  dpkg-source: info: using options from zabbix-4.2.1/​debian/​source/​options:​ --extend-diff-ignore=\.(bat|exe)$ +  ​Wrote: /​root/​rpmbuild/​RPMS/​x86_64/​zabbix-debuginfo-4.2.1-1.1.el7.x86_64.rpm 
-  ​dpkg-buildpackageinfo: binary and diff upload (original source NOT included) +  Executing(%clean):​ /​bin/​sh ​-e /​var/​tmp/​rpm-tmp.XFsa0b 
-  $ sudo dpkg -i ../zabbix-server-mysql_*.deb +  ​umask 022 
-  (Reading database ​... 44692 files and directories currently installed.) +  + cd /​root/​rpmbuild/​BUILD 
-  ​Preparing to unpack .../zabbix-server-mysql_4.2.1-1+stretci_amd64.deb ... +  + cd zabbix-4.2.1 
-  ​Unpacking ​zabbix-server-mysql (1:4.2.1-1+stretci) over (1:4.2.1-1+stretch) ... +  ​+ rm -rf /​root/​rpmbuild/​BUILDROOT/​zabbix-4.2.1-1.1.el7.x86_64 
-  ​Setting up zabbix-server-mysql (1:4.2.1-1+stretci) ​...+  + exit 0