Linux

SELinux for Zabbix

Base on post from https://www.zabbix.com/forum/zabbix-help/367261-selinux-and-zabbix Install: Generate custom SELinux plicy file for Zabbix grep zabbix_t /var/log/audit/audit.log | audit2allow -M zabbix_server_custom Load new policy semodule -i zabbix_server_custom.pp There is possibility that the server will not start correctly. Repeat above steps several Read More

Epel repository – yum update error

When installing epel repository in centos in some conditions there is an error during yum update. This is an epel repository bug https://bugs.centos.org/view.php?id=12597 Solution Work around applied: In /etc/yum.repos.d/epel.repo, commented out the following lines; #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch Enabled baseurl lines in configuration Read More

java update

Download java.tar.gz file Unzip to /usr/java/jdkVERSION Create link for latest and default Use alternative to setup default java envirement See your current envirement alternatives –config java There is 1 program that provides ‘java’. Selection Command ———————————————– *+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/bin/java) Read More