Advertisement
load-net

letsencrypt

Apr 24th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. systemctl restart nginx
  2. systemctl reload nginx
  3. cd /etc/nginx/conf.d
  4. сайты
  5. mcedit /etc/nginx/conf.d/tps.sytes.net.conf
  6. mcedit /etc/nginx/conf.d/970307.sytes.net.conf
  7. mkdir -p /web/sites/970307.sytes.net/www && mkdir /web/sites/970307.sytes.net/log
  8. mkdir -p /web/sites/tps.sytes.net/www && mkdir /web/sites/tps.sytes.net/log
  9.  
  10. dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
  11. dnf module reset php:7.2
  12. dnf module enable php:remi-7.4
  13. dnf module list php
  14. yum install php74
  15. 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
  16. mcedit /etc/php-fpm.d/www.conf
  17. yum install certbot
  18. certbot certonly
  19. openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096
  20. openssl dhparam -out /etc/letsencrypt/live/tps.sytes.net/fullchain.pem 4096
  21. tps.sytes.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement