Visualizzazione post con etichetta RHEL. Mostra tutti i post
Visualizzazione post con etichetta RHEL. Mostra tutti i post

sabato 16 giugno 2012

fdupes - find duplicate files

Da tempo volevo controllare se avevo file duplicati, mi ricordavo di aver letto di un programma che controlla in modo automatico, oggi lo ho installato e testato: fdupes !
Per istruzioni vedi fdupes man page.

It was a long time since I wanted to check my hd for duplicate files, I remembered reading about a program that automatically checks, today I've installed and tested it: fdupes !
For instructions fdupes man page.

mercoledì 21 marzo 2012

Dovecot Update

Dopo aver fatto yum update sul mio server di posta Scientific Linux 6.2, il client di posta evolution non riesce più a comunicare con il server IMAP Dovecot, aggiornato alla release 2.1.1-2_132.
Il log sul server mostra il seguente errore:

Error: user *****: Initialization failed: namespace configuration error: inbox=yes namespace missing

Per correggere bisogna modificare il file /etc/dovecot/conf.d/10-mail.conf.rpmnew correggendolo secondo le modifiche presenti nel /etc/dovecot/conf.d/10-mail.conf, quindi rinominarlo .conf e riavviare il servizio. Tutto è tornato a funzionare come prima.

After updating my mail server (Scientific Linux 6.2) with yum update, the evolution mail client stopped communicating with Dovecot IMAP server, updated to the 2.1.1-2_132 release.
In the server log I found:

Error: user *****: Initialization failed: namespace configuration error: inbox=yes namespace missing

To correct this behaviour you have to modify the /etc/dovecot/conf.d/10-mail.conf.rpmnew file to match the configuration in the /etc/dovecot/conf.d/10-mail.conf file,then rename it .conf and restart the Dovecot server.
Now everything is working like before.

giovedì 8 marzo 2012

Syncro PIM & News with Android

È comodo avere Agenda e News sincronizzati tra i miei computer e il tablet Android.
Chiaramente basterebbe utilizzare le Web Application Google Calendar e Reader per aver risolto il problema, ma io sul desktop utilizzo Evolution (posta e calendario) e Liferea (rss feed).
Nessun problema:
In Evolution basta creare un nuovo calendario, come tipo impostare Google, come nome il nome del calendario google e come nome utente il nome dell'account senza @google.com .
Per Liferea basta seguire le istruzioni in Subscribing to Google Reader, cioè Abbonamenti->Nuova Fonte e selezionare Google Reader.

It is useful to have Calendar and News Feed synchronized between my pc and the Android tablet.  To solve the problem I could use the Web Applications Google Calendar and Reader, but on my desktop I use Evolution (Mail and Calendar) and Liferea (rss feed).
No problem:
In Evolution you can create a new Calendar, set Google as type, Google's calendar name as name and you account (without @google.com) an user name.
For Liferea you can follow these instructions: Subscribing to Google Reader

martedì 6 marzo 2012

Remote Control

Primo obiettivo: controllare dal tablet i computer windows, Linux e macchine virtuali VirtualBox.
I computer windows possono essere controllati tramite VNC o RDP: entrambi funzionano correttamente.
Per controllare le macchine virtuali VirtualBox si utilizza il protocollo RDP, che funziona correttamente.

Attualmente controllo  i computer Linux tramite server freeNX e client Remmina, ma non esiste alcun client NX per Android.
La versione 4 di NX supporterà un client in HTML5, ed è già possibile testarlo grazie alla beta gratuita: funziona bene sul desktop, ma sul tablet funziona solamente con il browser Skyfire.
Però c'è un problema: per interagire avrei bisogno della tastiera virtuale ... come attivarla ??
Ma esiste un altro protocollo per il controllo remoto per linux: Xrdp. Su SL6 (RHEL6) funziona correttamente "out of the box": basta installare il pacchetto ed avviare il servizio.
A questo punto il problema è il client Android: sono riuscito a connettermi correttamente solo con il client di xtralogic.



First target: remote control of windows, Linux and VirtualBox sessions from the tablet.
Windows computers can be controlled by means of VNC or RDP: both work well.

Actually I control Linux PC by means of freeNX server and the remmina client, but there's no NX android client !!
NX version 4 will support an HTML5 client, and you can test it thanks to the free beta: it works very well on the desktop, but on Android I got it working only with skyfire browser.
But there is another problem: to interact I need a virtual keyboard ... how to activate it ??
There is another remote control protocol for linux: Xrdp. With SL6 (RHEL6) it works correctly "out of the box": install the rpm package and start the service.
But now the problem is to find an appropriate Android client: only xtralogic client works correctly.

venerdì 3 febbraio 2012

system-config-network per RHEL6

Red Hat Enterprise Linux 6 (e derivati) non contiene l'utility grafica di configurazione della rete system-config-network, poichè si affida completamente a network manager. Per ottenerla basta ricompilare l'RPM dell'ultima release di Fedora ed installare i due pacchetti così ottenuti.
Altrimenti bisogna editare a mano i file in /etc/sysconfig/network-script/


Red Hat Enterprise Linux 6 (and cloned distros) does not have the network GUI conf utility system-config-network, as it completely relies on network manager. To get it back you must rebuild the RPM package from the last fedora release and then install the two packages you get.
Otherwise you have to manually edit files in /etc/sysconfig/network-script/