Category: centos

CentOS 7 add swap

Adding swap to a CentOS 7 AWS virtual machine This is the steps for adding swap space to an CentOS 7 server. dd if=/dev/zero of=/swapfile count=2048 bs=1MiB chmod 600 /swapfile chown root. /swapfile mkswap /swapfile swapon /swapfile echo “/swapfile swap swap sw 0 0” >> /etc/fstab Check to make sure it created correctly swapon -s […]

Centos 7 remove MariaDB and replace with MySQL

Why A number of reasons, but the one that was the trigger for me was: MariaDB does not have JSON data type MySQL version 5.7 does have JSON data type. System info The server I tested this process on has the following details: uname -a: Linux s14.iotau.io 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 UTC 2018 […]