Installing mysql2
gem errors on Apple silicon M1, M2 or M3 Mac running macOS Sonoma.
Make sure mysql-client
, openssl
and zstd
are installed on Mac via Homebrew.
Replace
mysql-client
with whichever mysql package you are using
Replace the contents of /var/opt/opscode/nginx/ca/www.yourdomain.com.crt
with your ssl combined certificate.
Make sure SSL certificate includes DigiCert ca root certificate
Replace the contents of /var/opt/opscode/nginx/ca/www.yourdomain.com.key
with your ssl key.
Reconfigure chef server
Sometimes when creating a new CentOS 7 server, the drive is partioned with the root, boot and swap, and then all the rest of the space is given to the home directory.
Here, we are going to reduce the size of the /home
partition and allocate the remaining space back to the root partition.
List the current block devices
# Optimized my.cnf configuration for MySQL/MariaSQL | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated January 2020 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |