Category Archives: Operating System

Operating System

Ubuntu: more than 3 GB of RAM

Verificare che si vedono solo 3 GB di RAM totali:
[root] free -m

Aggiornare la distribuzione con tutte le ultime fix disponibili:

[root]apt-get update

[root]apt-get upgrade

Installare il Linux Kernel Server:
[root] apt-get install linux-server linux-headers-server

Oppure, installare il PAE enabled kernel:

[root] apt-get install linux-generic-pae linux-headers-generic-pae linux-image-generic-pae

Riavviare il desktop:
[root]reboot

Scegliere da GRUB la versione server (dovrebbe essere il default).

Verificare che si vede tutta la RAM disponibile (4 GB o più):
[root] free -m

That’s all folks!


Spostare la cache di apt

Può capitare che il mount point di “/var” sia troppo piccolo e non si riesca più a scaricare i pacchetti debian.

Una soluzione è quella di spostare la directory su un altro mount-point.

Verificare l’attuale configurazione:

[root] apt-config dump | grep “^Dir::Cache”

Dir::Cache “var/cache/apt/”;
Dir::Cache::archives “archives/”;
Dir::Cache::srcpkgcache “srcpkgcache.bin”;
Dir::Cache::pkgcache “pkgcache.bin”;

Cancellare i pacchetti installati più vecchi:
[root] apt-get autoclean

Spostare il repository:
[root] mv /var/cache/apt /usr/local/
[root] mkdir /usr/local/apt/partial

Cambiare la configurazione di apt:

[root] echo “Dir::Cache “/usr/local/apt”;” >> /etc/apt/apt.conf
[root] echo “Dir::Cache::Archives “/usr/local/apt/archives”;” >> /etc/apt/apt.conf

Verificare la configurazione:
[root] cat /etc/apt/apt.conf
Dir::Cache “/usr/local/apt”;
Dir::Cache::Archives “/usr/local/apt/archives”;

[root] apt-config dump | grep “^Dir::Cache”

Aggiornare la cache:
[root] apt-get update

Installare gli aggiornamenti:
[root] apt-get upgrade

WebHarvest – Debian Package

WebHarvest is a Web data extraction (web data mining, web scraping) tool developed in Java. It leverages well proved XML and text processing techologies in order to easely extract useful data from arbitrary web pages.

I have created the debian package for installing it more simply on Linux system. You can download the debian package webharvest-1.0_all.deb on filehosting.org.

Accesso ai Files ovunque con Pogoplug

Pogoplug

Pogoplug

Se vuoi avere accesso remoto ai tuoi files, Pogoplug potrebbe essere proprio al caso tuo. Pogoplug ti permette di trasformare un disco rigido esterno in un disco fisso online accessibile ovunque tramite interfaccia web.

Per poter utilizzare Pogoplug, hai bisogno di altre due componenti: Un router con uno slot aperto ethernet e un disco rigido esterno USB. Una volta che tutti i componenti sono collegati, è possibile accedere l’unità esterna sia sul vostro desktop e tramite l’interfaccia web di Pogoplug.

Pogoplug dispone di 3 porte USB per facilitare l’utilizzo fino a 4 dischi rigidi esterni. Ci sono anche applicazioni sia per l’iPhone e Android che consentono l’accesso da dispositivi mobili e per PC con Sistema Operativo Linux, Mac e Windows.

Pogoplug è molto simile a Dropbox ma, a differenza di Dropbox, Pogoplug non memorizza i files su un server centrale ma li hai sempre a casa tua sul tuo disco esterno.

Crimson Editor: Column mode editing

Se su Windows avete bisogno di un Editor con la funzionalità di “Column mode editing”, allora vi consiglio Crimson Editor. Altre features sono le seguenti:

Edit multiple documents
– switch between documents using file selection tab.
– Ctrl+Tab brings the last accessed document to topmost.
– support window splitter to see different parts of a document.

Syntax highlighting
– configurable via custom syntax files.
– preconfigured for more than 100 computer languages.

Multi-level undo / redo
– all editing actions are recorded from the opening of a file.
– any document always can be undone to it’s initial contents.
– unlimited undo and redo buffers.

Project management
– manage group of related files into one project.
– remote files also can be included in a project.

Directory tree view window
– click to open documents.
– filter to display only selected file class.

Find & Replace
– replace specified text one by one, or as a whole.
– support regular expression.

Column mode editing
– copy and paste rectangular selections.
– switch between column mode and line mode. (Alt+C)

Natural word wrapping
– word wrapping does not affect syntax highlighting.
– configurable wrapping indentation. (easer to understand the syntax)

Spell checker
– around 100000 words were added in the dictionary.
– users can register new words in their own dictionary. (InstallDir/user.dic)

User tools and macros
– execute external programs with proper arguments.
– compile, execute and test your code.
– ease your fingers with key stroke recording. (record & replay)

Edit remote files directly using built-in FTP client
– open, edit, and save documents in remote FTP servers.
– save account information (encoded) for automatic logon.

Print & Print preview
– configurable page header and footer.
– print with line numbers.
– print with syntax highlighting. (used in color printer)
– true type font selection for printer.

Other useful features
support Unicode & UTF-8 encoding, drag & drop text editing,
single instance / multiple instances, ability to detect changed files,
bookmark & go to, highlight active line, highlight matching pairs,
multi-byte support with integrated IME (for eastern languages),
auto indent, wheel mouse support, copy & paste, line numbers,
configurable line spacing, option to save files in Unix format,

PowerISO Debian Package

PowerISO is a powerful CD/DVD image file processing tool, which allows you to open, extract, create, edit, compress, encrypt, split and convert ISO files, and mount these files with internal virtual drive. It can process almost all CD-ROM image files including ISO and BIN. It supports almost all CD/DVD-ROM image file formats(ISO, BIN, NRG, CDI,  DAA, etc.).

Note: DAA (Direct-Access-Archive) is an advanced format for image file, which supports some advanced features, such as compression, password protection, and splitting to multiple volumes. It can be handled directly just like other formats, such as ISO, BIN, etc.

You can download the Debian package poweriso-1.3_i386.deb from filehosting.org.

File System Shared: Dropbox

Dropbox

Dropbox

Se uno dei vostri problemi è quello di mantenere una copia dei vostri documenti su più Computer, Dropbox fà al caso vostro.

Il suo funzionamento è molto semplice:

  • Vi registrate sul sito
  • Installate un client (è scritto in Python, compatibile con Windows, Max, Linux Ubuntu, con Kubuntu ho dovuto fare un po’ di modifiche)
  • Viene utilizzata una directory sul vostro File System (“My Dropbox”). tutto quello che ci copiate qui al suo interno viene replicato sul server di Dropbox.
  • Quando poi collegate un altro Pc, questo scarica tutti i file e vi tiene sincronizzata la cartella