Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Categoria: Sistemi

Digital Innovation Partner

Ubuntu add a swap file into another disk

$sudo fallocate -l 16G /SWAPDISK/swapfile $ sudo chmod 600 /SWAPDISK/swapfile $ sudo mkswap /SWAPDISK/swapfile Setting up swapspace version 1, size = 16 GiB (17179865088 bytes) no label, UUID=20859f1c-acc8-43e4-806f-c8f6339b1601 $ sudo swapon /SWAPDISK/swapfile sudo nano /etc/fstab sudo swapon –show

Ubuntu / Debian – How to add storage ( HDD,SDD, nVME) to your system

Come aggiungere un disco al proprio sistema Linux ( nel ns. caso Ubuntu), il tutto usando semplicemente la linea di comando,i passaggi sono semplici: Connettere l’unità di archiviazione Controllare che il sistema riconosca l’unità ( fdisk -l ) Creare una ( o più ) partizione al disco ( sempre con fdisk )  Formattare la partizione…
Leggi tutto

Configure a NFS share in your LAN with Ubuntu 20.04

Configuring NFS Server: Installing NFS services on your ubuntu system sudo nano /etc/fstab sudo apt install nfs-kernel-server sudo apt-get install nfs-kernel-server portmap nfs-common sudo showmount -a configure mount folders and define sub nets can access to sudo nano /etc/exports /etc/export sample: # /etc/exports: the access control list for filesystems which may be exported # to…
Leggi tutto

MS Windows https / tls security Error solution:Error sending data: (12175) A security error occurred.

Some older MS-Windows version doesn’t support newest TLS protocol for winhttp library, so there is an official patch for this at this link: http://download.microsoft.com/download/0/6/5/0658B1A7-6D2E-474F-BC2C-D69E5B9E9A68/MicrosoftEasyFix51044.msi The error occurred was: “Error sending data: (12175) A security error occurred.” Otherwise to test your server protocols, a vary usefull service is:  https://www.ssllabs.com/ssltest/analyze.html

Windows kill application programmatically

To force quit an application by application name in MS-Windows you can use “taskkill” command. To kill an application by app name using taskkill you can write: taskkill /f /t /im julius.exe In this example we kill our application “JuliuS” .

Resizing kvm qcow2 disk part 2

The evolution of KVM and qemu is constant. To increase the size of a qcow2 disk just follow the steps below: Shut down the virtual machine Resize the image with qemu-img resize image.qcow2 +SIZE where SIZE is the size (e.g. 30G for 30 gibibytes). Boot into an external live OS and resize the partition.  So if you…
Leggi tutto