shutdown /r /t 0
mariadb-10.x : sql-mode Hint - Error 1366 - Incorrect double value: '' for column
vi /etc/my.cnf.d/mariadb-server.cnf sql-mode="" #sal_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION #sal_mode="ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
php-fpm : display_error config Hint
Client Browser Display Error Config vi /etc/opt/remi/php56/php.ini display_errors = Off ;display_errors = On ;log_errors = On log_errors = Off ;html_errors = On html_errors = Off Sever Error Log Config vi /etc/opt/remi/php56/php-fpm.conf ;log_level = notice log_level = error vi /etc/opt/remi/php56/php-fpm.d/www.conf php_admin_value[error_log] = /var/opt/remi/php56/log/php-fpm/www-error.log php_admin_flag[log_errors] = on
Fedora 31 / CentOS 8 : php7x + remi-php56(+oci8, 11g) Multiple version Hint - Thanks Remi
https://rpms.remirepo.net/wizard/ --------------------------------------------------- dnf install https://rpms.remirepo.net/fedora/remi-release-31.rpm dnf --enablerepo=remi install php56 dnf --enablerepo=remi install php56-php-* --skip-broken dnf --enablerepo=remi-test install php56-php-xxx php56 --version php56 --modules --------------------------------------------------- yum install php56-php php56-php-common php56-php-cli php56-php-dba php56-php-pecl-apcu php56-php-pear php56-php-pgsql php56-php-soap php56-php-intl php56-php-gd php56-php-ldap php56-php-mysqlnd php56-php-xmlrpc php56-php-process php56-php-recode php56-php-odbc php56-php-snmp php56-php-bcmath php56-php-embedded php56-php-mbstring php56-php-devel php56-php-pecl-memcache #oci8 would be better customize and match with […]
Fedora 31 : php memcached Install Hint
yum install memcached systemctl enable memcached.service systemctl start memcached.service systemctl status memcached.service echo "stats settings" | nc localhost 11211 yum install php-pecl-memcache yum install php-pecl-memcached --------------------------------------------------- if Error memcached[185446]: failed to listen on TCP port 11211: Cannot assign request --------------------------------------------------- vi /etc/sysconfig/memcached #OPTIONS="-l 127.0.0.1,::1" OPTIONS="-l 127.0.0.1"
Linux : port check Hint
netstat -tnl lsof -i -P -n | grep LISTEN netstat -tulpn | grep LISTEN ss -tulpn | grep LISTEN lsof -i:22 nmap -sTU -O
CentOS : make localhost.crt openssl Hint
openssl req -new -x509 -newkey rsa:2048 -keyout localhost.key -nodes -days 3650 -out localhost.crt
Linux : lvm swap extend Hint
swapoff /dev/fedora/swap -v lvextend /dev/fedora/swap -L +46G mkswap /dev/fedora/swap swapon -va
Linux : root disk extend Hint : growpart lvextend resize2fs xfs_growfs
# yum -y install cloud-utils-growpart # lsblk sda 8:0 0 1.5T 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 1.5T 0 part ├─fedora-root 253:0 0 […]
CentOS 8 : Network Setup Hint
# yum install NetworkManager-tui # nmtui # nmcli connection down eth0 && nmcli connection up eth0