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

Categoria: Sistemi

Digital Innovation Partner

Ubuntu LTS update Apache2 to the lastest version via SSH

To update Apache2 to the lasted version on Ubuntu is quite simpe:     Verify current Apache version:   sudo apache2 -v Add Apache repository: sudo add-apt-repository ppa:ondrej/apache2 Update apt: sudo apt update Upgrade apt: sudo apt upgrade   And now ( in my case, with Ubuntu 22.04 current date) my new Apache2 release is:…
Leggi tutto

Linux Tips – How to – Install Samba Server on Ubuntu 22.04 desktop & server

Install samba server: sudo apt install samba backup config filee: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup create a shared folder for your user, like: mkdir /home//mmyshare edit samba config file: nano /etc/samba/smb.conf replace all smb.conf with this: [global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m max log size = 1000…
Leggi tutto

ChatGPT & Delphi – OpenAI Chat

Today I tried to talk about programming with chatGPT…. and I must say I was amazed First I asked him for the code for a web server in Delphi: Then I asked him to add support for SSL Then if you give me an example of Machine Learning in Delphi Then I asked him what he…
Leggi tutto

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