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
Last revisionBoth sides next revision
sysadmin:index [2020/04/26 07:06] – [Ridimensionamento partizione LVM] ferodasysadmin:index [2021/12/27 22:29] – Creazione nuovi certificati con acme.sh 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 411: Line 396:
 tmpfs                    1,6G      1,6G   0% /run/user/0 tmpfs                    1,6G      1,6G   0% /run/user/0
 </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 =====
  
  
 +  acme.sh --issue --standalone -d example.org
 +  mkdir -p /etc/nginx/certificates/example.org/
 +  acme.sh --install-cert -d example.org --cert-file /etc/nginx/certificates/example.org/cert.pem --key-file /etc/nginx/certificates/example.org/privkey.pem --fullchain-file /etc/nginx/certificates/example.org/fullchain.pem 
  
  
sysadmin/index.txt · Last modified: 2022/06/16 09:00 by feroda