Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- systemctl restart nginx
- systemctl reload nginx
- cd /etc/nginx/conf.d
- сайты
- mcedit /etc/nginx/conf.d/tps.sytes.net.conf
- mcedit /etc/nginx/conf.d/970307.sytes.net.conf
- mkdir -p /web/sites/970307.sytes.net/www && mkdir /web/sites/970307.sytes.net/log
- mkdir -p /web/sites/tps.sytes.net/www && mkdir /web/sites/tps.sytes.net/log
- dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
- dnf module reset php:7.2
- dnf module enable php:remi-7.4
- dnf module list php
- yum install php74
- yum install php-fpm php-cli php-mysql php-gd php-ldap php-odbc php-pdo php-pecl-memcache php-opcache php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap php-zip
- mcedit /etc/php-fpm.d/www.conf
- yum install certbot
- certbot certonly
- openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096
- openssl dhparam -out /etc/letsencrypt/live/tps.sytes.net/fullchain.pem 4096
- tps.sytes.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement