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/
In collaborazione con PegasoTeam abbiamo appena testato il fantastico modello Supermicro E50-9AP con la nuovissima versione di Ubuntu server e desktop. Abbiamo preso il modello Supermicro E50-9AP con il modulo wifi intel 8265 fornitro da Supermicro il cui codice assemblato è E50-9AP-WIFI e lo abbiamo testato a fondo. Il prodotto si presenta veramente…
Leggi tutto
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 eseguire il “rewrite”, per redirigere tutte le richieste http ad https di un dominio e di tutti i suoi sottodomini è sufficiente abilitare il “rewriteEngine” e inserire la condizione di rewrite e la corrispondente regola. Nel seguente esempio il dominio “tuosito.com” e tutti i suoi sottodomini “*.tuosito.com” vengono rediretti verso i corrispondenti in https.…
Leggi tutto
Charset encoding in Firebird 3.0, come è noto in un campo di una tabella di tipo varchar o char è possibile definire il tipo di encoding gestito, oppure non specificarlo. Tramite Firebird è possibile convertire il contenuto di tale campo da un charset ad un’altro semplicemente con l’istruzione SQL “cast”. Facciamo un esempio, nella mia…
Leggi tutto