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/04/26 07:06] – [Ridimensionamento partizione LVM] ferodasysadmin:index [2022/06/16 09:00] (current) – [Installazioni nuovi certificati con acme.sh] acme-renew.sh script feroda
Line 239: Line 239:
   git checkout master   git checkout master
  
- 
-=== Creazione di un nuovo server === 
- 
-We need LVM setup. Here is a proposal: 
- 
-``` 
-20GB / 
-5GB /dev/mapper/vg--hosting-home /home 
-50GB /dev/mapper/vg--hosting-var /var 
-``` 
- 
-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 
  
 ===== Esportazione cartelle sul nextcloud con occ dal terminale ===== ===== Esportazione cartelle sul nextcloud con occ dal terminale =====
Line 412: 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.1587884802.txt.gz · Last modified: 2020/04/26 07:06 by feroda