User Tools

Site Tools


sysadmin:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sysadmin:index [2020/05/13 12:34] – [Introduzione a GIT] ferodasysadmin:index [2022/06/16 09:00] (current) – [Installazioni nuovi certificati con acme.sh] acme-renew.sh script feroda
Line 397: Line 397:
 </code> </code>
  
 +==== Esempio di creazione partizioni per un nuovo server ====
  
 +<code>
 +20GB /
 +5GB /dev/mapper/vg--hosting-home /home
 +50GB /dev/mapper/vg--hosting-var /var
 +</code>
 +
 +remaining disk blocks could be unpartitioned to allow LVM partition resizing on demand.
 +
 +In order to achieve this goal you have to create a volume group (VG) ''hosting'' bound to /dev/sda
 +
 +
 +===== Installazioni nuovi certificati con acme.sh =====
 +
 +È presente lo script ''acme-renew.sh'' che si può usare con ''acme-renew.sh befair.it www.befair.it''
 +
 +Il funzionamento in dettaglio è il seguente:
 +
 +  acme.sh --issue --standalone -d befair.it -d www.befair.it
 +  mkdir -p /etc/nginx/certificates/befair.it/
 +  acme.sh --install-cert -d befair.it --cert-file /etc/nginx/certificates/befair.it/cert.pem --key-file /etc/nginx/certificates/befair.it/privkey.pem --fullchain-file /etc/nginx/certificates/befair.it/fullchain.pem 
  
  
sysadmin/index.1589373292.txt.gz · Last modified: 2020/05/13 12:34 by feroda