Welcome to Davide Airaghi's website ! 

In this website you'll find some information about me, some tips&tricks and some software i worked on.

 

Davide Airaghi

Slackware: CentOS linux container

If you need to create a CentOS based linux container on your Slackware here you can find how i've made it. Before you start
  • (re)compile your kernel including every config option needed to have lxc-checkconfig output "enable" in each line.
  • (re)compile your kernel to add support for "networking bridge"
  • update rpm package using the one found  here
  • install yum package, you can find it here
  • make sure to have  lxc package installed (it's in the main Slackware repository)
  • make sure tu have installed bridge-utils package (it's in the main Slackware repository)
  • make sure to have enough free disk space (my setup used at least 400MB)
  • add at the end of /etc/rc.d/rc.local the following lines /usr/sbin/brctl addbr br0 /usr/sbin/brctl br0 10.0.0.1/24 /usr/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.100 -o eth0 -j MASQUERADE /sbin/sysctl net.ipv4.ip_forward=1
Continue reading...
Davide Airaghi

Slackware: Linux Container "CentOS"

Se avete bisgono, come il sottoscritto, di creare un ambiente CentOS all'interno della vostra Slackware e volete usare le funzionalità messe a dispozione dai "Linux Containers" ecco una possibile soluzione ai vostri problemi.

Preparazione

  • (ri)configurate il vostro kernel in modo che l'output di lxc-checkconfig dia "enabled" su tutte le voci e che sia abilitato il supporto di rete per i "bridge"
  • aggiornate il pacchetto rpm con quello presente qui
  • installate il pacchetto yum presente qui
  • assicuratevi di aver installato il pacchetto lxc presente nei repository slackware
  • assicuratevi di aver installato il pacchetto bridge-utils presente nei repository Slackware
  • assicuratevi di avere abbastanza spazio su disco (nel mio test ho avuto visogno di circa 400MB)
  • aggiungere al file /etc/rc.d/rc.local le seguenti linee /usr/sbin/brctl addbr br0 /usr/sbin/brctl br0 10.0.0.1/24 /usr/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.100 -o eth0 -j MASQUERADE /sbin/sysctl net.ipv4.ip_forward=1
Continue reading...
Davide Airaghi

Dukto - Multiplatform AirDrop

If you are looking for a AirDrop multiplatform replacement you can give a chance to Dukto ! It offers: - multiplatform support (Windows, Linux, Mac OSX) - simple text quick exchange - simple clipboard contentquick exchange - simple filequick exchange (select you file or use drag&drop) - simple directoryquick exchange (select your…

Continue reading...
Davide Airaghi

Dukto - AirDrop multipiattaforma

State cercando un programma simile ad AirDrop ma che sia multipiattaforma? La soluzione adatta a voi potrebbe essere Dukto, esso infatti: - è disponibile per Windows, Linux, Mac OSX - permette di scambiarsi testo - permette di scambiarsi il contenuto della clipboard - permette di scambiarsi…

Continue reading...
Davide Airaghi

GkSu-Polkit per Slackware64 current

Se usate Slackware, versione current x86_64, e volete usufruire delle funzionalità offerte da GKSU ecco per voi il pacchetto precompilato gksu-polkit, che si appoggia alle funzionalità offerte da PolicyKit. Il pacchetto non contiene eventuali dipendenze, per quelle vi rimando ai repository ufficiali di Slackware o…

Continue reading...
Davide Airaghi

Slackware64-current: GkSu-Polkit

If your system is running Slackware64-current and you need to use e GkSu here you can find the precompiled package gksu-polkit, which is gksu using PolicyKit as backend. The packages doesn't contain any other library or dependency, look for them in the official Slackware repository…

Continue reading...
Davide Airaghi

Wordpress Extra File Types

Di base Wordpress permette di caricare pochi tipi di file nella Meda Library , con questo plugin si può estendere tale lista andando ad aggiungere file con estensioni scelte tra circa 680 possibili. Download . Changelog - ver 0.3.0: aggiunta estensione .dot e possibilità di…

Continue reading...
Davide Airaghi

Wordpress Custom Mime Types

Wordpress Media Library doesn't allow you to upload any file you want, you are limited to a small set of types. With the plugin "Wordpress Extra File Types" you extend the default list of file types adding more than 680 extensions, presented and selectable in…

Continue reading...