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:…
Read more
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…
Read more
How to execute a method inside a TThread synchronously with the main Thread of the application is quite simple. Suppose we want to synchronize access to a count variable, we can use the TThread.Synchronize and TThread.Queue methods. The TThread.Syncronize method immediately executes the method interrupting the execution of the main Thread immediately while the TThread.Queue…
Read more
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…
Read more
Microsoft Remote Desktop Protocol ( RDP ) è forse il più usato tra i sistemi per gestire il desktop remoto, e risulta anche essere uno tra i più veloci e smart da usare. RDP lavora di base sulla porta TCP 3389 ed è nativo in tutti gli ambienti MS-Windows, anche per Linux sono disponibili diversi…
Read more