Tested on ubuntu 18.04 server The file /etc/issue.net is a text file which contains a message or system identification to be printed before the login prompt of a telnet session. It may contain various ‘%-char’ (or, alternatively, ‘\-char’) sequences. The common char for output some informations are:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
b Insert the baudrate of the current line. d Insert the current date. s Insert the system name, the name of the operating system. l Insert the name of the current tty line. m Insert the architecture identifier of the machine, e.g., i686. n Insert the nodename of the machine, also known as the hostname. o Insert the domainname of the machine. r Insert the release number of the kernel, e.g., 2.6.11.12. t Insert the current time. u Insert the number of current users logged in. U Insert the string "1 user" or "<n> users" where <n> is the number of current users logged in. v Insert the version of the OS, e.g., the build-date etc. |
If you want to display your IP Configuration…
Leggi tutto
Delphi Linux … create a background process… daemon service stay tuned https://chapmanworld.com/2017/04/05/creating-a-linux-daemon-service-in-delphi/ http://blog.paolorossi.net/2017/07/11/building-a-real-linux-daemon-with-delphi-part-1-2/ http://blog.paolorossi.net/2017/09/04/building-a-real-linux-daemon-with-delphi-part-2/
Tramite Apache è possibile abilitare la compressione dei contenuti prima che vengano inviati al cliente http (browser generalmente), tutto ciò tramite il modulo “mod_deflate”. Per abilitare il modulo deflate è necessario eseguire il comando “a2enmod deflate” e riavviare il servizio apache. Una cosa molto interessante è che questa funzionalità è fruibile anche nel caso venga…
Leggi tutto
Per chi non lo conoscesse, rsync realizza copie incrementali fra una sorgente e una destinazione. Ottimo per i backup via rete di cartelle poichè confronta i timestamp dei file e li invia solo se sono cambiati. Ma non ci fermiamo qui. Premessa. Nella nostra server farm abbiamo molti file di grosse dimensioni che sono i…
Leggi tutto
[lang_it] Un altro progetto realizzato da Synaptica, questa volta con tecnologia Java/Zk e opsitato sui ns server interni. La scelta tecnologica inizialmente non molto vantaggiosa per la prima versione del sito , che praticamente attualmente è solo una vetrina, è mirata in previsione dell’evoluzione dello stesso che dovrebbe diventare un simil – portale con la…
Leggi tutto
[lang_it] . . . . . Un altro progetto realizzato da Synaptica, questa volta con tecnologia Java/Zk e opsitato sui ns server interni. La scelta tecnologica inizialmente non molto vantaggiosa per la prima versione del sito , che praticamente attualmente è solo una vetrina, è mirata in previsione dell’evoluzione dello stesso che dovrebbe diventare un…
Leggi tutto