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
putty : auto login by rsa-key Hint!
"C:\Program Files\PuTTY\puttygen.exe" > [Generate] Click mouse move randomly ! Edit [Key-comment] properly ! Key Passphrase : xxxx (what ever you want) Public key form pasting into OpenSSH authorised_keys : Drag & Copy, Send to Server Manager [Save public key] & [Save private key] Click ------------------------------------------- Putty.exe > Load & Add Configuration […]
CentOS 7 : firewalld dmz ssh : local network only Hint
ssh : local network only firewall-cmd --permanent --zone=dmz --add-service=ssh firewall-cmd --permanent --zone=dmz --add-source=192.168.0.0/24 firewall-cmd --permanent --zone=public --remove-service=ssh firewall-cmd --reload vi /etc/firewalld/zones/public.xml vi /etc/firewalld/zones/dmz.xml