====== Установка php 8.3 ====== yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm\\ yum install -y yum-utils\\ yum-config-manager --disable 'remi-php*'\\ yum-config-manager --enable 'remi-php83'\\ yum install -y php php-cli php-common\\ yum install -y php-{mysqlnd,curl,gd,mcrypt,json,pear,common,xml,zip,devel,xsl,soap,bcmath,mbstring,gettext,imagick}\\ systemctl restart httpd && systemctl status httpd\\ ====== SSL в apache ====== openssl req -new -x509 -days 1461 -nodes -out cert.pem -keyout cert.key -subj "/C=RU/ST=SPb/L=SPb/O=Global Security/OU=IT Department/CN=test.dmosk.local/CN=test"\\ apachectl -M | grep ssl\\ yum install mod_ssl\\ vi conf.d/site.conf SSLEngine on SSLCertificateFile ssl/cert.pem SSLCertificateKeyFile ssl/cert.key apachectl configtest\\ apachectl graceful\\ systemctl restart httpd && systemctl status httpd\\ ====== Let's encrypt ====== ====== Настройка firewall для работы apache ====== firewall-cmd --zone=public --permanent --add-service=http\\ firewall-cmd --zone=public --permanent --add-service=https\\ firewall-cmd --reload\\