RHEL8: Install apache

Verify and run update Install apache and verify installation Start, enable and verify apache service Add firewall rules Configure virutal hosts Create folders for virtual host and set required permissions Activate virtual host in apache, edit httpd.conf add this row at the bottom of the file. Create virtual host file for your website Add following… Continue Reading RHEL8: Install apache

RHEL8: Install and configure MariaDB

Create a seperate disk for db files, follow RHEL8: Configure datadisk Verify updates Install mariadb server Start, enable and check status of mariadb service Configure mysql secure installation Verify installation Allow remote access to mariadb server Open firewallport for mariadb Change bind-address in mariadb config file with server IP SELinux might block, Verify if SELinux… Continue Reading RHEL8: Install and configure MariaDB

RHEL8: Configure datadisk

Rescan system for hardware change List the new disk format disk with proper cluster size, change /dev/disk/by-path/pci-0000\:0b\ to correct path create mount folder, example for mariadb Make path unwritenble if disk gets disconnected Mount disk to path Get and copy UUID for new disk add new row in /etc/fstab Verify configuration with