Showing posts from July, 2019

Install Virtualmin with MariaDB 10.3 + php 7.3 on CentOS 7

# Version: 3
# Date: Tue Jun 18 22:43:39 PDT 2019

cat <<EOF > /etc/yum.repos.d/mariadb.repo
name = MariaDB
baseurl =
yum -y install MariaDB-client.x86_64  MariaDB-server.x86_64
service mariadb start

yum -y install
yum-config-manager --enable remi-php56
yum-config-manager --enable remi-php73

# default webmin installation will install php 7.3 as per our enabled remi repo
# if you need php 5.6 install it with below command
yum install php56.x86_64 php56-php.x86_64 php56-php-bcmath.x86_64 php56-php-cli.x86_64 php56-php-common.x86_64 php56-php-fpm.x86_64 php56-php-gd.x86_64 php56-php-imap.x86_64 php56-php-intl.x86_64 php56-php-mbstring.x86_64 php56-php-mcrypt.x86_64 php56-php-mysqlnd.x86_64 php56-php-opcache.x86_64 php56-php-pdo.x86_64 php56-php-tidy.x86_64 php56-php-xml.x86_64 php56-php-xmlrp…

Install Zabbix 4.0, Latest Nginx, Latest PHP, Latest MariaDB on CnetOS 7

# Hello,
# Date Wed Jun 12 08:16:24 PDT 2019
# Version 3
# SERVER_IP= IP of Server
# ZBPASSWORD= MySQL Zabbix User Password
# below commands must be executed as root . so I wont use sudo for the sake of portability .

# 1 - Installing Zabbix, MySQL (MariaDB), Nginx,  from repos

# 1A - Zabbix 4.0 LTS

#>>>>>>>> BEGIN of Blind copy/paste
rpm -Uvh
yum clean all  -y

yum install epel-release -y
yum install -y
yum install -y yum-utils
yum-config-manager --disable remi-php54
yum-config-manager --enable remi-php73

# below command will install all zabbix requirments including php and apache (apache will be disabled later)
yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent php-fpm php-opcache curl

cat <<EOF > /etc/yum.repos.d/mariadb.repo
name = MariaDB
baseurl =…